Searched refs:size64 (Results 1 – 3 of 3) sorted by relevance
/external/e2fsprogs/lib/blkid/ |
D | getsize.c | 78 unsigned long long size64; in blkid_get_dev_size() local 82 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { in blkid_get_dev_size() 84 (size64 << 9) > 0xFFFFFFFF) in blkid_get_dev_size() 86 return (blkid_loff_t)size64 << 9; in blkid_get_dev_size() 102 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in blkid_get_dev_size() 104 (size64 > 0xFFFFFFFF)) in blkid_get_dev_size() 106 return size64; in blkid_get_dev_size() 122 if (ioctl(fd, DIOCGMEDIASIZE, &size64) >= 0) in blkid_get_dev_size() 123 return (off_t)size64; in blkid_get_dev_size()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl05.c | 36 uint64_t size64 = 0; in verify_ioctl() local 43 SAFE_IOCTL(fd, BLKGETSIZE64, &size64); in verify_ioctl() 45 if (size == size64/512) { in verify_ioctl() 47 size, (unsigned long long)size64); in verify_ioctl() 51 size, (unsigned long long)size64); in verify_ioctl()
|
/external/e2fsprogs/lib/ext2fs/ |
D | getsize.c | 147 unsigned long long size64; in ext2fs_get_device_size2() local 155 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { in ext2fs_get_device_size2() 156 *retblocks = size64 / (blocksize / 512); in ext2fs_get_device_size2() 173 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in ext2fs_get_device_size2() 174 *retblocks = size64 / blocksize; in ext2fs_get_device_size2() 268 size64 = low + 1; in ext2fs_get_device_size2() 269 *retblocks = size64 / blocksize; in ext2fs_get_device_size2()
|