Searched refs:sectsize (Results 1 – 2 of 2) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | getsectsize.c | 52 errcode_t ext2fs_get_device_sectsize(const char *file, int *sectsize) in ext2fs_get_device_sectsize() argument 61 if (ioctl(fd, BLKSSZGET, sectsize) >= 0) { in ext2fs_get_device_sectsize() 67 if (ioctl(fd, DIOCGSECTORSIZE, sectsize) >= 0) { in ext2fs_get_device_sectsize() 72 *sectsize = 0; in ext2fs_get_device_sectsize() 111 errcode_t ext2fs_get_device_phys_sectsize(const char *file, int *sectsize) in ext2fs_get_device_phys_sectsize() argument 120 if (ioctl(fd, BLKPBSZGET, sectsize) >= 0) { in ext2fs_get_device_phys_sectsize() 128 if (ioctl(fd, DIOCGSECTORSIZE, sectsize) >= 0) { in ext2fs_get_device_phys_sectsize() 133 *sectsize = 0; in ext2fs_get_device_phys_sectsize()
|
D | ext2fs.h | 1429 errcode_t ext2fs_get_device_sectsize(const char *file, int *sectsize); 1430 errcode_t ext2fs_get_device_phys_sectsize(const char *file, int *sectsize);
|