/external/e2fsprogs/lib/blkid/ |
D | getsize.c | 54 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64) 55 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro 90 #ifdef BLKGETSIZE64 in blkid_get_dev_size() 102 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in blkid_get_dev_size()
|
/external/e2fsprogs/lib/ext2fs/ |
D | getsize.c | 55 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64) 56 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro 161 #ifdef BLKGETSIZE64 in ext2fs_get_device_size2() 173 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in ext2fs_get_device_size2()
|
/external/syslinux/libinstaller/ |
D | linuxioctl.h | 54 #ifndef BLKGETSIZE64 56 # define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
|
/external/toybox/toys/other/ |
D | blockdev.c | 41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
|
/external/fio/os/ |
D | os-android.h | 177 #ifndef BLKGETSIZE64 178 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro 196 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) in blockdev_size()
|
D | os-linux.h | 129 #ifndef BLKGETSIZE64 130 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro 148 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) in blockdev_size()
|
/external/bsdiff/ |
D | file.cc | 99 #if defined(BLKGETSIZE64) in GetSize() 100 return ioctl(fd_, BLKGETSIZE64, size); in GetSize()
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_linux_inc.h | 19 #ifdef BLKGETSIZE64
|
/external/ltp/lib/newlib_tests/ |
D | tst_device.c | 37 SAFE_IOCTL(fd, BLKGETSIZE64, <p_dev_size); in do_test()
|
/external/avb/libavb_user/ |
D | avb_ops_user.cpp | 131 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition() 273 if (ioctl(fd, BLKGETSIZE64, out_size_in_bytes) != 0) { in get_size_of_partition()
|
/external/f2fs-tools/lib/ |
D | libf2fs.c | 766 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64) 767 #define BLKGETSIZE64 _IOR(0x12,114, size_t) macro 785 #ifndef BLKGETSIZE64 in get_device_info() 844 #ifdef BLKGETSIZE64 in get_device_info() 845 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl05.c | 43 SAFE_IOCTL(fd, BLKGETSIZE64, &size64); in verify_ioctl()
|
/external/strace/tests-m32/ |
D | ioctl_block.c | 74 TEST_NULL_ARG(BLKGETSIZE64); in main()
|
/external/strace/ |
D | block.c | 209 case BLKGETSIZE64: in MPERS_PRINTER_DECL()
|
D | configure.ac | 748 AC_CACHE_CHECK([for BLKGETSIZE64], [ac_cv_have_blkgetsize64], 751 #include <linux/fs.h>], [return !BLKGETSIZE64;])], 754 AC_DEFINE([HAVE_BLKGETSIZE64], [1], [Define to 1 if you have BLKGETSIZE64.])
|
/external/strace/tests-mx32/ |
D | ioctl_block.c | 74 TEST_NULL_ARG(BLKGETSIZE64); in main()
|
/external/strace/tests/ |
D | ioctl_block.c | 74 TEST_NULL_ARG(BLKGETSIZE64); in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | fs.h | 216 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro
|
/external/ltp/lib/ |
D | tst_device.c | 249 if (ioctl(fd, BLKGETSIZE64, <p_dev_size)) { in tst_acquire_device__()
|
/external/vboot_reference/futility/ |
D | misc.c | 248 ioctl(fd, BLKGETSIZE64, &sb.st_size); in futil_map_file()
|
D | cmd_vbutil_kernel.c | 187 ioctl(fd, BLKGETSIZE64, &file_size); in ReadOldKPartFromFileOrDie()
|
/external/gptfdisk/ |
D | diskio-unix.cc | 435 *err = ioctl(fd, BLKGETSIZE64, &b); in DiskSize()
|
/external/syslinux/extlinux/ |
D | main.c | 103 #ifdef BLKGETSIZE64 in get_size() 104 if (!ioctl(devfd, BLKGETSIZE64, &bytes)) in get_size()
|
/external/vboot_reference/cgpt/ |
D | cgpt_common.c | 272 if (ioctl(fd, BLKGETSIZE64, size) < 0) { in ObtainDriveSize()
|
/external/toybox/toys/pending/ |
D | fdisk.c | 166 if (ioctl(dev_fd, BLKGETSIZE64, &sec64) == 0) { in read_size()
|