Home
last modified time | relevance | path

Searched refs:BLKGETSIZE64 (Results 1 – 25 of 31) sorted by relevance

12

/external/e2fsprogs/lib/blkid/
Dgetsize.c54 #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/syslinux/libinstaller/
Dlinuxioctl.h54 #ifndef BLKGETSIZE64
56 # define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
/external/e2fsprogs/lib/ext2fs/
Dgetsize.c55 #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/toybox/toys/other/
Dblockdev.c41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
/external/fio/os/
Dos-linux.h116 #ifndef BLKGETSIZE64
117 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
135 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) in blockdev_size()
Dos-android.h158 #ifndef BLKGETSIZE64
159 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
177 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) in blockdev_size()
/external/bsdiff/
Dfile.cc103 #if defined(BLKGETSIZE64) in GetSize()
104 return ioctl(fd_, BLKGETSIZE64, size); in GetSize()
/external/f2fs-tools/lib/
Dlibf2fs.c436 #ifndef BLKGETSIZE64 in f2fs_get_device_info()
471 #ifdef BLKGETSIZE64 in f2fs_get_device_info()
472 if (ioctl(fd, BLKGETSIZE64, &c->total_sectors) < 0) { in f2fs_get_device_info()
/external/strace/tests/
Dioctl_block.c71 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/strace/tests-m32/
Dioctl_block.c71 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/strace/tests-mx32/
Dioctl_block.c71 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/avb/libavb_user/
Davb_ops_user.c131 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition()
/external/strace/
Dblock.c210 case BLKGETSIZE64: in MPERS_PRINTER_DECL()
Dioctl_redefs2.h133 #ifdef BLKGETSIZE64
134 # undef BLKGETSIZE64
135 # define BLKGETSIZE64 0x80041272 macro
Dioctl_redefs1.h133 #ifdef BLKGETSIZE64
134 # undef BLKGETSIZE64
135 # define BLKGETSIZE64 0x80041272 macro
Dconfigure.ac650 AC_CACHE_CHECK([for BLKGETSIZE64], [ac_cv_have_blkgetsize64],
653 #include <linux/fs.h>], [return !BLKGETSIZE64;])],
656 AC_DEFINE([HAVE_BLKGETSIZE64], [1], [Define to 1 if you have BLKGETSIZE64.])
Dconfig.h.in51 /* Define to 1 if you have BLKGETSIZE64. */
/external/kernel-headers/original/uapi/linux/
Dfs.h214 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro
/external/vboot_reference/futility/
Dmisc.c248 ioctl(fd, BLKGETSIZE64, &sb.st_size); in futil_map_file()
Dcmd_vbutil_kernel.c187 ioctl(fd, BLKGETSIZE64, &file_size); in ReadOldKPartFromFileOrDie()
/external/gptfdisk/
Ddiskio-unix.cc435 *err = ioctl(fd, BLKGETSIZE64, &b); in DiskSize()
/external/syslinux/extlinux/
Dmain.c103 #ifdef BLKGETSIZE64 in get_size()
104 if (!ioctl(devfd, BLKGETSIZE64, &bytes)) in get_size()
/external/vboot_reference/cgpt/
Dcgpt_common.c272 if (ioctl(fd, BLKGETSIZE64, size) < 0) { in ObtainDriveSize()
/external/toybox/toys/pending/
Dfdisk.c166 if (ioctl(dev_fd, BLKGETSIZE64, &sec64) == 0) { in read_size()
/external/stressapptest/src/
Dworker.cc2759 if (ioctl(fd, BLKGETSIZE64, &block_size) == -1) { in GetDiskSize()

12