Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c38 #if !defined(BLKSSZGET)
39 #define BLKSSZGET _IO(0x12,104)/* get block device sector size */ macro
60 #ifdef BLKSSZGET in ext2fs_get_device_sectsize()
61 if (ioctl(fd, BLKSSZGET, sectsize) >= 0) { in ext2fs_get_device_sectsize()
84 #ifdef BLKSSZGET in ext2fs_get_dio_alignment()
85 if (ioctl(fd, BLKSSZGET, &align) < 0) in ext2fs_get_dio_alignment()
/external/strace/xlat/
Dblock_ioctl_cmds.h83 #if defined(BLKSSZGET) || (defined(HAVE_DECL_BLKSSZGET) && HAVE_DECL_BLKSSZGET)
85 static_assert((BLKSSZGET) == (_IO(0x12, 104)), "BLKSSZGET != _IO(0x12, 104)");
88 # define BLKSSZGET _IO(0x12, 104)
254 XLAT(BLKSSZGET),
Dblock_ioctl_cmds.in12 BLKSSZGET _IO(0x12, 104)
/external/toybox/toys/other/
Dblockdev.c43 BLKBSZSET, BLKBSZGET, BLKSSZGET, BLKROGET, BLKROSET, BLKROSET};
/external/f2fs-tools/lib/
Dlibf2fs.c781 #if defined(__linux__) && defined(_IO) && !defined(BLKSSZGET)
782 #define BLKSSZGET _IO(0x12,104) macro
788 #define BLKSSZGET DKIOCGETBLOCKCOUNT macro
863 #ifdef BLKSSZGET in get_device_info()
864 if (ioctl(fd, BLKSSZGET, &sector_size) < 0) in get_device_info()
/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv03.c108 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev03.c107 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
/external/strace/
Dblock.c122 case BLKSSZGET: in MPERS_PRINTER_DECL()
/external/strace/tests/
Dioctl_block.c81 TEST_NULL_ARG(BLKSSZGET); in main()
/external/strace/tests-m32/
Dioctl_block.c81 TEST_NULL_ARG(BLKSSZGET); in main()
/external/strace/tests-mx32/
Dioctl_block.c81 TEST_NULL_ARG(BLKSSZGET); in main()
/external/ltp/testcases/kernel/io/disktest/
Dmain.h55 #define BLKSSZGET _IO(0x12,104) /* ALT IOCTL for getting the device size */ macro
/external/kernel-headers/original/uapi/linux/
Dfs.h156 #define BLKSSZGET _IO(0x12,104)/* get block device sector size */ macro
/external/gptfdisk/
Ddiskio-unix.cc161 err = ioctl(fd, BLKSSZGET, &blockSize); in GetBlockSize()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c119 if (ioctl(fd, BLKSSZGET, &size)) { in dev_block_size_by_path()
/external/vboot_reference/cgpt/
Dcgpt_common.c275 if (ioctl(fd, BLKSSZGET, sector_bytes) < 0) { in ObtainDriveSize()
/external/newfs_msdos/
Dmkfs_msdos.c838 if (ioctl(fd, BLKSSZGET, &bpb->bpbBytesPerSec)) { in getdiskinfo()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzerrors_linux_sparc64.go180 BLKSSZGET = 0x1268 const
Dzerrors_linux_mips64le.go192 BLKSSZGET = 0x20001268 const
Dzerrors_linux_ppc64.go192 BLKSSZGET = 0x20001268 const
Dzerrors_linux_arm.go192 BLKSSZGET = 0x1268 const
Dzerrors_linux_mips64.go192 BLKSSZGET = 0x20001268 const
Dzerrors_linux_ppc64le.go192 BLKSSZGET = 0x20001268 const
Dzerrors_linux_arm64.go192 BLKSSZGET = 0x1268 const
Dzerrors_linux_386.go192 BLKSSZGET = 0x1268 const

12