Home
last modified time | relevance | path

Searched refs:HDIO_GETGEO (Results 1 – 7 of 7) sorted by relevance

/third_party/ntfs-3g/include/ntfs-3g/
Ddevice_io.h44 #ifndef HDIO_GETGEO
45 # define HDIO_GETGEO 0x301 macro
/third_party/ntfs-3g/libntfs-3g/
Ddevice.c88 #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()
Dwin32_io.c1799 #ifdef HDIO_GETGEO
1879 #ifdef HDIO_GETGEO in ntfs_device_win32_ioctl()
1880 case HDIO_GETGEO: in ntfs_device_win32_ioctl()
/third_party/gptfdisk/
Ddiskio-unix.cc225 #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/
Dfibmap.c116 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in stat_bdev()
/third_party/toybox/toys/pending/
Dfdisk.c227 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/
Dlibf2fs.c994 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in get_device_info()