/system/vold/ |
Loop.h | 30 static int lookupInfo(const char *loopDevice, struct asec_superblock *sb, unsigned int *nr_sec);
|
cryptfs.c | 120 unsigned int nr_sec; local 122 if ( (ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) { 123 nr_sec = 0; 126 return nr_sec; 136 unsigned int nr_sec, cnt; local 152 if ( (nr_sec = get_blkdev_size(fd)) == 0) { 161 off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET; 235 unsigned int nr_sec, cnt; local 251 if ( (nr_sec = get_blkdev_size(fd)) == 0) { 260 off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET 946 int nr_sec, fd; local 1196 unsigned long nr_sec; local [all...] |
Loop.cpp | 252 int Loop::lookupInfo(const char *loopDevice, struct asec_superblock *sb, unsigned int *nr_sec) { 262 if (ioctl(fd, BLKGETSIZE, nr_sec)) { 273 if (lseek(fd, ((*nr_sec - 1) * 512), SEEK_SET) < 0) {
|
VolumeManager.cpp | 499 unsigned int nr_sec = 0; local 502 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) { 556 unsigned int nr_sec = 0; local 559 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) { 966 unsigned int nr_sec = 0; local 969 if (Loop::lookupInfo(loopDevice, &sb, &nr_sec)) { 982 nr_sec--; // We don't want the devmapping to extend onto our superblock 986 if (Devmapper::create(idHash, loopDevice, key, nr_sec, 1107 unsigned int nr_sec = 0; local 1115 if (ioctl(fd, BLKGETSIZE, &nr_sec)) { [all...] |