Searched refs:BLKGETSIZE (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice_io.h50 #ifndef BLKGETSIZE
51 # define BLKGETSIZE 0x1260 macro
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddevice.c73 #if defined(linux) && defined(_IO) && !defined(BLKGETSIZE)
74 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */ macro
582 #ifdef BLKGETSIZE
585 if (dev->d_ops->ioctl(dev, BLKGETSIZE, &size) >= 0) {
586 ntfs_log_debug("BLKGETSIZE nr 512 byte blocks = %lu (0x%lx)\n",
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.c72 # ifndef BLKGETSIZE
73 # define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
74 # endif /* ! BLKGETSIZE */
164 if (ioctl (fd, BLKGETSIZE, &nr))
/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c85 # ifndef BLKGETSIZE
86 # define BLKGETSIZE _IO(0x12,96) /* return device size */ macro
87 # endif /* ! BLKGETSIZE */
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsclone.c84 #if defined(linux) && defined(_IO) && !defined(BLKGETSIZE)
85 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */ macro
1462 #ifdef BLKGETSIZE
1465 if (ioctl(fd, BLKGETSIZE, &size) >= 0) {
1466 ntfs_log_debug("BLKGETSIZE nr 512 byte blocks = %lu "

Completed in 31 milliseconds