Searched defs:nr_sec (Results 1 - 3 of 3) sorted by last modified time
/system/vold/ |
H A D | Loop.cpp | 252 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 D | VolumeManager.cpp | 470 unsigned int nr_sec = 0; local 473 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) { 523 unsigned int nr_sec = 0; local 526 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) { 902 unsigned int nr_sec = 0; local 905 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) { 918 nr_sec--; // We don't want the devmapping to extend onto our superblock 922 if (Devmapper::create(idHash, loopDevice, key, nr_sec, 1039 unsigned int nr_sec = 0; local 1047 if (ioctl(fd, BLKGETSIZE, &nr_sec)) { [all...] |
H A D | cryptfs.c | 120 unsigned int nr_sec; local 122 if ( (ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) { 123 nr_sec = 0; 126 return nr_sec; 149 unsigned int nr_sec, cnt; local 165 if ( (nr_sec = get_blkdev_size(fd)) == 0) { 174 off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET; 248 unsigned int nr_sec, cnt; local 264 if ( (nr_sec = get_blkdev_size(fd)) == 0) { 273 off = ((off64_t)nr_sec * 51 888 int nr_sec, fd; local 1138 unsigned long nr_sec; local [all...] |
Completed in 242 milliseconds