Home
last modified time | relevance | path

Searched refs:BLKGETSIZE (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ntfs-3g/include/ntfs-3g/
H A Ddevice_io.h56 #ifndef BLKGETSIZE
57 # define BLKGETSIZE 0x1260 macro
/third_party/ntfs-3g/libntfs-3g/
H A 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()
552 ntfs_log_debug("BLKGETSIZE nr 512 byte blocks = %lu (0x%lx)\n", in ntfs_device_size_get()
H A 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()
1861 ntfs_log_debug("BLKGETSIZE detected.\n"); in ntfs_device_win32_ioctl()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl05.c6 * Basic test for the BLKGETSIZE and BLKGETSIZE64 ioctls.
8 * - BLKGETSIZE returns size in 512 byte blocks BLKGETSIZE64 in bytes
30 SAFE_IOCTL(fd, BLKGETSIZE, &size); in verify_ioctl()
34 tst_res(TPASS, "BLKGETSIZE returned %lu, BLKGETSIZE64 %llu", in verify_ioctl()
38 "BLKGETSIZE returned %lu, BLKGETSIZE64 returned %llu", in verify_ioctl()
/third_party/toybox/toys/other/
H A Dblockdev.c42 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKRASET, BLKRAGET, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64, in blockdev_main()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/musl/include/sys/
H A Dmount.h13 #define BLKGETSIZE _IO(0x12, 96) macro
/third_party/f2fs-tools/lib/
H A Dlibf2fs.c854 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
855 #define BLKGETSIZE _IO(0x12,96) macro
868 #define BLKGETSIZE DKIOCGETBLOCKCOUNT macro
982 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) { in get_device_info()
/third_party/gptfdisk/
H A Ddiskio-unix.cc474 *err = ioctl(fd, BLKGETSIZE, &sz); in DiskSize()
/third_party/ntfs-3g/ntfsprogs/
H A 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) {
2261 ntfs_log_debug("BLKGETSIZE nr 512 byte blocks = %lu "
/third_party/rust/crates/linux-raw-sys/gen/modules/
H A Dioctl.h83 #define BLKGETSIZE 0x1260ul macro
1639 #define BLKGETSIZE 0x1260ul macro
3199 #define BLKGETSIZE 0x1260ul macro
4755 #define BLKGETSIZE 0x1260ul macro
6202 #define BLKGETSIZE 0x20001260ul macro
7650 #define BLKGETSIZE 0x20001260ul macro
9200 #define BLKGETSIZE 0x20001260ul macro
10754 #define BLKGETSIZE 0x1260ul macro
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dioctl.rs83 pub const BLKGETSIZE: u32 = 4704; consts
/third_party/rust/crates/linux-raw-sys/gen/ioctl/
H A Dlist.c318 IOCTL_REQUEST(BLKGETSIZE); in list()
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dioctl.rs78 pub const BLKGETSIZE: u32 = 536875616; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dioctl.rs79 pub const BLKGETSIZE: u32 = 536875616; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dioctl.rs78 pub const BLKGETSIZE: u32 = 536875616; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dioctl.rs79 pub const BLKGETSIZE: u32 = 536875616; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dioctl.rs83 pub const BLKGETSIZE: u32 = 4704; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dioctl.rs83 pub const BLKGETSIZE: u32 = 4704; consts
/third_party/rust/crates/linux-raw-sys/src/x32/
H A Dioctl.rs83 pub const BLKGETSIZE: u32 = 4704; consts
/third_party/rust/crates/linux-raw-sys/src/x86_64/
H A Dioctl.rs83 pub const BLKGETSIZE: u32 = 4704; consts

Completed in 110 milliseconds

12