Searched defs:nr_sec (Results 1 - 4 of 4) sorted by relevance

/system/vold/
H A DVoldUtil.c22 unsigned int nr_sec; local
24 if ( (ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) {
25 nr_sec = 0;
28 return nr_sec;
H A DLoop.cpp252 int Loop::lookupInfo(const char *loopDevice, struct asec_superblock *sb, unsigned int *nr_sec) { argument
262 if (ioctl(fd, BLKGETSIZE, nr_sec)) {
273 if (lseek(fd, ((*nr_sec - 1) * 512), SEEK_SET) < 0) {
H A DVolumeManager.cpp524 unsigned int nr_sec = 0; local
527 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) {
587 unsigned int nr_sec = 0; local
590 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) {
1065 unsigned int nr_sec = 0; local
1068 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) {
1081 nr_sec--; // We don't want the devmapping to extend onto our superblock
1085 if (Devmapper::create(idHash, loopDevice, key, nr_sec,
1206 unsigned int nr_sec = 0; local
1214 if (ioctl(fd, BLKGETSIZE, &nr_sec)) {
[all...]
H A Dcryptfs.c192 unsigned int nr_sec; local
204 if ((nr_sec = get_blkdev_size(fd))) {
210 cached_off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET;
242 unsigned int nr_sec, cnt; local
375 unsigned int nr_sec, cnt; local
1318 int nr_sec, fd; local
1326 nr_sec = get_blkdev_size(fd);
1328 if (nr_sec == 0) {
1333 sd_crypt_ftr.fs_size = nr_sec;
1591 unsigned long nr_sec; local
[all...]

Completed in 70 milliseconds