Searched defs:BLKGETSIZE (Results 1 - 6 of 6) sorted by relevance

/external/e2fsprogs/misc/
H A Dpartinfo.c23 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
24 #define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
64 if (ioctl(fd, BLKGETSIZE, &size) < 0) {
/external/e2fsprogs/lib/ext2fs/
H A Dgetsize.c51 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
52 #define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
60 #define BLKGETSIZE DKIOCGETBLOCKCOUNT32 macro
180 #ifdef BLKGETSIZE
184 if (ioctl(fd, BLKGETSIZE, &size) >= 0) {
/external/e2fsprogs/lib/blkid/
H A Dgetsize.c50 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
51 #define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
59 #define BLKGETSIZE DKIOCGETBLOCKCOUNT32 macro
111 #ifdef BLKGETSIZE
115 if (ioctl(fd, BLKGETSIZE, &size) >= 0)
/external/f2fs-tools/lib/
H A Dlibf2fs.c762 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE)
763 #define BLKGETSIZE _IO(0x12,96) macro
776 #define BLKGETSIZE DKIOCGETBLOCKCOUNT macro
851 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) {
/external/ltp/testcases/kernel/io/disktest/
H A Dmain.h54 #define BLKGETSIZE _IO(0x12,96) /* IOCTL for getting the device size */ macro
/external/kernel-headers/original/uapi/linux/
H A Dfs.h194 #define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */ macro

Completed in 587 milliseconds