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

/system/vold/
H A DVolumeManager.cpp643 unsigned int nr_sec = 0; local
651 if (ioctl(fd, BLKGETSIZE, &nr_sec)) {
663 if (lseek(fd, ((nr_sec-1) * 512), SEEK_SET) < 0) {
687 nr_sec--; // We don't want the devmapping to extend onto our superblock
691 if (Devmapper::create(idHash, loopDevice, key, nr_sec,
777 unsigned int nr_sec = 0; local
785 if (ioctl(fd, BLKGETSIZE, &nr_sec)) {
796 if (Devmapper::create(idHash, loopDevice, key, nr_sec,
H A Dcryptfs.c115 unsigned int nr_sec; local
117 if ( (ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) {
118 nr_sec = 0;
121 return nr_sec;
131 unsigned int nr_sec, cnt; local
147 if ( (nr_sec = get_blkdev_size(fd)) == 0) {
156 off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET;
230 unsigned int nr_sec, cnt; local
246 if ( (nr_sec = get_blkdev_size(fd)) == 0) {
255 off = ((off64_t)nr_sec * 51
875 int nr_sec, fd; local
1133 unsigned long mnt_flags, nr_sec; local
[all...]

Completed in 1126 milliseconds