Home
last modified time | relevance | path

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

/third_party/e2fsprogs/lib/blkid/
Dgetsize.c50 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
51 #define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
59 #define BLKGETSIZE DKIOCGETBLOCKCOUNT32 macro
114 #ifdef BLKGETSIZE in blkid_get_dev_size()
118 if (ioctl(fd, BLKGETSIZE, &size) >= 0) in blkid_get_dev_size()
/third_party/e2fsprogs/misc/
Dpartinfo.c25 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
26 #define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
66 if (ioctl(fd, BLKGETSIZE, &size) < 0) { in main()
/third_party/e2fsprogs/lib/ext2fs/
Dgetsize.c51 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
52 #define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
60 #define BLKGETSIZE DKIOCGETBLOCKCOUNT32 macro
183 #ifdef BLKGETSIZE in ext2fs_get_device_size2()
187 if (ioctl(fd, BLKGETSIZE, &size) >= 0) { in ext2fs_get_device_size2()
/third_party/ntfs-3g/include/ntfs-3g/
Ddevice_io.h56 #ifndef BLKGETSIZE
57 # define BLKGETSIZE 0x1260 macro
/third_party/ntfs-3g/libntfs-3g/
Ddevice.c82 #if defined(linux) && defined(_IO) && !defined(BLKGETSIZE)
83 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */ macro
548 #ifdef BLKGETSIZE in ntfs_device_size_get()
551 if (dev->d_ops->ioctl(dev, BLKGETSIZE, &size) >= 0) { in ntfs_device_size_get()
Dwin32_io.c1853 #if defined(BLKGETSIZE) | defined(BLKGETSIZE64) in ntfs_device_win32_ioctl()
1859 #if defined(BLKGETSIZE) in ntfs_device_win32_ioctl()
1860 case BLKGETSIZE: in ntfs_device_win32_ioctl()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl05.c30 SAFE_IOCTL(fd, BLKGETSIZE, &size); in verify_ioctl()
/third_party/toybox/toys/other/
Dblockdev.c42 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKRASET, BLKRAGET, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
/third_party/musl/include/sys/
Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/ltp/testcases/kernel/io/disktest/
Dmain.h55 #define BLKGETSIZE _IO(0x12,96) /* IOCTL for getting the device size */ macro
Dsfunc.c637 if (ioctl(fd, BLKGETSIZE, &size) == -1) in get_vsiz()
DCHANGELOG259 Added IFDEF for Power when using ioctl BLKGETSIZE where the size must be a
/third_party/f2fs-tools/lib/
Dlibf2fs.c847 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
848 #define BLKGETSIZE _IO(0x12,96) macro
861 #define BLKGETSIZE DKIOCGETBLOCKCOUNT macro
968 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) { in get_device_info()
/third_party/gptfdisk/
Ddiskio-unix.cc466 *err = ioctl(fd, BLKGETSIZE, &sz); in DiskSize()
/third_party/ntfs-3g/ntfsprogs/
Dntfsclone.c95 #if defined(linux) && defined(_IO) && !defined(BLKGETSIZE)
96 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */ macro
2257 #ifdef BLKGETSIZE
2260 if (ioctl(fd, BLKGETSIZE, &size) >= 0) {
/third_party/toybox/toys/pending/
Dfdisk.c174 if (ioctl(dev_fd, BLKGETSIZE, &sectors) == 0) in read_size()
/third_party/e2fsprogs/po/
Did.po8686 #~ msgid "BLKGETSIZE ioctl"
8687 #~ msgstr "BLKGETSIZE ioctl"
Dtr.po9020 #~ msgid "BLKGETSIZE ioctl"
9021 #~ msgstr "BLKGETSIZE ioctl"
Dcs.po8705 #~ msgid "BLKGETSIZE ioctl"
8706 #~ msgstr "ioctl BLKGETSIZE"
Dnl.po8659 #~ msgid "BLKGETSIZE ioctl"