Home
last modified time | relevance | path

Searched refs:sectsize (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c52 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()
Dext2fs.h1453 errcode_t ext2fs_get_device_sectsize(const char *file, int *sectsize);
1454 errcode_t ext2fs_get_device_phys_sectsize(const char *file, int *sectsize);