Searched refs:HDIO_GETGEO (Results 1 – 7 of 7) sorted by relevance
/third_party/ntfs-3g/include/ntfs-3g/ |
D | device_io.h | 44 #ifndef HDIO_GETGEO 45 # define HDIO_GETGEO 0x301 macro
|
/third_party/ntfs-3g/libntfs-3g/ |
D | device.c | 88 #if defined(linux) && !defined(HDIO_GETGEO) 89 #define HDIO_GETGEO 0x0301 /* Get device geometry. */ macro 636 #ifdef HDIO_GETGEO in ntfs_device_partition_start_sector_get() 639 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) { in ntfs_device_partition_start_sector_get() 759 #ifdef HDIO_GETGEO in ntfs_device_get_geo() 762 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) { in ntfs_device_get_geo()
|
D | win32_io.c | 1799 #ifdef HDIO_GETGEO 1879 #ifdef HDIO_GETGEO in ntfs_device_win32_ioctl() 1880 case HDIO_GETGEO: in ntfs_device_win32_ioctl()
|
/third_party/gptfdisk/ |
D | diskio-unix.cc | 225 #ifdef HDIO_GETGEO in GetNumHeads() 232 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumHeads() 243 #ifdef HDIO_GETGEO in GetNumSecsPerTrack() 250 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumSecsPerTrack()
|
/third_party/f2fs-tools/tools/ |
D | fibmap.c | 116 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in stat_bdev()
|
/third_party/toybox/toys/pending/ |
D | fdisk.c | 227 if (ioctl(dev_fd, HDIO_GETGEO, &geometry)) return; in read_geometry() 1410 int err = ioctl(fd, HDIO_GETGEO, &dev_geo); in disk_proper()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 994 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in get_device_info()
|