Searched refs:HDIO_GETGEO (Results 1 - 7 of 7) sorted by relevance
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | device_io.h | 44 #ifndef HDIO_GETGEO 45 # define HDIO_GETGEO 0x301 macro
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | device.c | 88 #if defined(linux) && !defined(HDIO_GETGEO) 89 #define HDIO_GETGEO 0x0301 /* Get device geometry. */ macro 627 * EOPNOTSUPP System does not support HDIO_GETGEO ioctl 628 * ENOTTY @dev is a file or a device not supporting HDIO_GETGEO 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() 640 ntfs_log_debug("HDIO_GETGEO start_sect = %lu (0x%lx)\n", 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() 765 ntfs_log_debug("HDIO_GETGEO head in ntfs_device_get_geo() [all...] |
H A 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() 1881 ntfs_log_debug("HDIO_GETGEO detected.\n"); in ntfs_device_win32_ioctl()
|
/third_party/gptfdisk/ |
H A D | diskio-unix.cc | 229 #ifdef HDIO_GETGEO in GetNumHeads() 236 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumHeads() 247 #ifdef HDIO_GETGEO in GetNumSecsPerTrack() 254 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumSecsPerTrack()
|
/third_party/f2fs-tools/tools/ |
H A D | fibmap.c | 116 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in stat_bdev()
|
/third_party/toybox/toys/pending/ |
H A D | fdisk.c | 227 if (ioctl(dev_fd, HDIO_GETGEO, &geometry)) return; in read_geometry() 377 physical_HS(&h, &s); //physical dimensions may be diferent from HDIO_GETGEO in read_mbr() 1410 int err = ioctl(fd, HDIO_GETGEO, &dev_geo); in disk_proper()
|
/third_party/f2fs-tools/lib/ |
H A D | libf2fs.c | 993 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in get_device_info()
|
Completed in 9 milliseconds