Home
last modified time | relevance | path

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

/third_party/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()
/third_party/ntfs-3g/include/ntfs-3g/
Ddevice_io.h62 #ifndef BLKGETSIZE64
63 # define BLKGETSIZE64 0x80041272 macro
/third_party/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()
/third_party/toybox/toys/other/
Dblockdev.c42 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKRASET, BLKRAGET, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_linux_inc.h19 #ifdef BLKGETSIZE64
/third_party/ltp/lib/newlib_tests/
Dtst_device.c25 SAFE_IOCTL(fd, BLKGETSIZE64, &ltp_dev_size); in do_test()
/third_party/ntfs-3g/libntfs-3g/
Ddevice.c85 #if defined(linux) && defined(_IOR) && !defined(BLKGETSIZE64)
86 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */ macro
537 #ifdef BLKGETSIZE64 in ntfs_device_size_get()
540 if (dev->d_ops->ioctl(dev, BLKGETSIZE64, &size) >= 0) { in ntfs_device_size_get()
Dwin32_io.c1853 #if defined(BLKGETSIZE) | defined(BLKGETSIZE64) in ntfs_device_win32_ioctl()
1869 #if defined(BLKGETSIZE64) in ntfs_device_win32_ioctl()
1870 case BLKGETSIZE64: in ntfs_device_win32_ioctl()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl05.c31 SAFE_IOCTL(fd, BLKGETSIZE64, &size64); in verify_ioctl()
/third_party/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
Dv1.36.txt202 Change the getsize functions to use the BLKGETSIZE64 ioctl on Linux 2.6.
/third_party/musl/include/sys/
Dmount.h24 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmount.h24 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmount.h24 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
/third_party/f2fs-tools/lib/
Dlibf2fs.c851 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
852 #define BLKGETSIZE64 _IOR(0x12,114, size_t) macro
879 #ifndef BLKGETSIZE64 in get_device_info()
961 #ifdef BLKGETSIZE64 in get_device_info()
962 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()
/third_party/gptfdisk/
Ddiskio-unix.cc471 *err = ioctl(fd, BLKGETSIZE64, &b); in DiskSize()
/third_party/ltp/lib/
Dtst_device.c281 if (ioctl(fd, BLKGETSIZE64, &ltp_dev_size)) { in tst_acquire_device__()
/third_party/ntfs-3g/ntfsprogs/
Dntfsclone.c98 #if defined(linux) && defined(_IOR) && !defined(BLKGETSIZE64)
99 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */ macro
2246 #ifdef BLKGETSIZE64
2249 if (ioctl(fd, BLKGETSIZE64, &size) >= 0) {
/third_party/uboot/u-boot-2020.01/tools/env/
Dfw_env.c1665 rc = ioctl(fd, BLKGETSIZE64, &size); in check_device_config()
/third_party/toybox/toys/pending/
Dfdisk.c166 if (ioctl(dev_fd, BLKGETSIZE64, &sec64) == 0) { in read_size()
/third_party/e2fsprogs/debian/
Dchangelog3311 * Only use BLKGETSIZE64 on Linux 2.6 since it is unreliable on Linux 2.4.