Home
last modified time | relevance | path

Searched refs:BLKGETSIZE64 (Results 1 – 25 of 36) 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
93 #ifdef BLKGETSIZE64 in blkid_get_dev_size()
105 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in blkid_get_dev_size()
/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
164 #ifdef BLKGETSIZE64 in ext2fs_get_device_size2()
176 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in ext2fs_get_device_size2()
/external/strace/xlat/
Dblock_ioctl_cmds.h125 #if defined(BLKGETSIZE64) || (defined(HAVE_DECL_BLKGETSIZE64) && HAVE_DECL_BLKGETSIZE64)
127 static_assert((BLKGETSIZE64) == (_IOR(0x12, 114, size_t)), "BLKGETSIZE64 != _IOR(0x12, 114, size_t)…
130 # define BLKGETSIZE64 _IOR(0x12, 114, size_t)
260 XLAT(BLKGETSIZE64),
Dblock_ioctl_cmds.in18 BLKGETSIZE64 _IOR(0x12, 114, size_t)
/external/toybox/toys/other/
Dblockdev.c42 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKRASET, BLKRAGET, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
Dblkdiscard.c50 xioctl(fd, BLKGETSIZE64, ol+1);
/external/bsdiff/
Dfile.cc99 #if defined(BLKGETSIZE64) in GetSize()
100 return ioctl(fd_, BLKGETSIZE64, size); in GetSize()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_linux_inc.h19 #ifdef BLKGETSIZE64
/external/erofs-utils/lib/
Dio.c35 #ifdef BLKGETSIZE64 in dev_get_blkdev_size()
36 if (ioctl(fd, BLKGETSIZE64, bytes) >= 0) in dev_get_blkdev_size()
/external/ltp/lib/newlib_tests/
Dtst_device.c25 SAFE_IOCTL(fd, BLKGETSIZE64, &ltp_dev_size); in do_test()
/external/e2fsprogs/doc/RelNotes/
Dv1.37.txt31 BLKGETSIZE64 ioctl is not available to ext2fs_get_device_size(). This
34 support BLKGETSIZE64.
Dv1.24.txt11 Revert the BLKGETSIZE64 support, since for some distributions, this
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl05.c31 SAFE_IOCTL(fd, BLKGETSIZE64, &size64); in verify_ioctl()
/external/avb/libavb_user/
Davb_ops_user.cpp140 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition()
282 if (ioctl(fd, BLKGETSIZE64, out_size_in_bytes) != 0) { in get_size_of_partition()
/external/f2fs-tools/lib/
Dlibf2fs.c854 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
855 #define BLKGETSIZE64 _IOR(0x12,114, size_t) macro
882 #ifndef BLKGETSIZE64 in get_device_info()
964 #ifdef BLKGETSIZE64 in get_device_info()
965 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()
/external/strace/
Dblock.c163 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
/external/strace/tests/
Dioctl_block.c74 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/strace/tests-mx32/
Dioctl_block.c74 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/strace/tests-m32/
Dioctl_block.c74 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/kernel-headers/original/uapi/linux/
Dfs.h173 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro
/external/ltp/lib/
Dtst_device.c270 if (ioctl(fd, BLKGETSIZE64, &ltp_dev_size)) { in tst_acquire_device__()
/external/vboot_reference/futility/
Dmisc.c248 ioctl(fd, BLKGETSIZE64, &sb.st_size); in futil_map_file()
/external/gptfdisk/
Ddiskio-unix.cc471 *err = ioctl(fd, BLKGETSIZE64, &b); in DiskSize()

12