Home
last modified time | relevance | path

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

/third_party/e2fsprogs/lib/ext2fs/
Dgetsectsize.c38 #if !defined(BLKSSZGET)
39 #define BLKSSZGET _IO(0x12,104)/* get block device sector size */ macro
65 #ifdef BLKSSZGET in ext2fs_get_device_sectsize()
66 if (ioctl(fd, BLKSSZGET, sectsize) >= 0) { in ext2fs_get_device_sectsize()
91 #ifdef BLKSSZGET in ext2fs_get_dio_alignment()
92 if (ioctl(fd, BLKSSZGET, &align) < 0) in ext2fs_get_dio_alignment()
/third_party/ntfs-3g/include/ntfs-3g/
Ddevice_io.h59 #ifndef BLKSSZGET
60 # define BLKSSZGET 0x1268 macro
/third_party/ntfs-3g/libntfs-3g/
Ddevice.c91 #if defined(linux) && defined(_IO) && !defined(BLKSSZGET)
92 # define BLKSSZGET _IO(0x12,104) /* Get device sector size in bytes. */ macro
855 #ifdef BLKSSZGET in ntfs_device_sector_size_get()
859 if (!dev->d_ops->ioctl(dev, BLKSSZGET, &sect_size)) { in ntfs_device_sector_size_get()
Dwin32_io.c1884 #ifdef BLKSSZGET in ntfs_device_win32_ioctl()
1885 case BLKSSZGET: in ntfs_device_win32_ioctl()
/third_party/toybox/toys/other/
Dblockdev.c43 BLKBSZSET, BLKBSZGET, BLKSSZGET, BLKROGET, BLKROSET, BLKROSET};
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/musl/include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/musl/ndk_musl_include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dmount.h21 #define BLKSSZGET _IO(0x12,104) macro
/third_party/ltp/testcases/kernel/syscalls/preadv/
Dpreadv03.c96 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
/third_party/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev03.c95 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
/third_party/f2fs-tools/lib/
Dlibf2fs.c855 #if defined(__linux__) && defined(_IO) && !defined(BLKSSZGET)
856 #define BLKSSZGET _IO(0x12,104) macro
862 #define BLKSSZGET DKIOCGETBLOCKCOUNT macro
955 #ifdef BLKSSZGET in get_device_info()
956 if (ioctl(fd, BLKSSZGET, &sector_size) < 0) in get_device_info()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop05.c125 SAFE_IOCTL(block_devfd, BLKSSZGET, &logical_block_size); in setup()
/third_party/gptfdisk/
Ddiskio-unix.cc179 err = ioctl(fd, BLKSSZGET, &blockSize); in GetBlockSize()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c119 if (ioctl(fd, BLKSSZGET, &size)) { in dev_block_size_by_path()
/third_party/exfatprogs/lib/
Dlibexfat.c196 if (ioctl(fd, BLKSSZGET, &bd->sector_size) < 0) in exfat_get_blk_dev_info()
/third_party/FreeBSD/sbin/newfs_msdos/
Dmkfs_msdos.c865 if (ioctl(fd, BLKSSZGET, &bpb->bpbBytesPerSec) == -1) { in getdiskinfo()
/third_party/toybox/toys/pending/
Dfdisk.c151 if (ioctl(dev_fd, BLKSSZGET, &arg) == 0) g_sect_size = arg; in read_sec_sz()
/third_party/e2fsprogs/debian/
Dchangelog3738 the device does not support the BLKSSZGET ioctl (Closes: #196734)