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

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice_io.h44 #ifndef HDIO_GETGEO
45 # define HDIO_GETGEO 0x301 macro
H A Ddevice.c91 #if defined(linux) && !defined(HDIO_GETGEO)
92 #define HDIO_GETGEO 0x0301 /* Get device geometry. */ macro
649 * EOPNOTSUPP System does not support HDIO_GETGEO ioctl
650 * ENOTTY @dev is a file or a device not supporting HDIO_GETGEO
658 #ifdef HDIO_GETGEO
661 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
662 ntfs_log_debug("HDIO_GETGEO start_sect = %lu (0x%lx)\n",
781 #ifdef HDIO_GETGEO
784 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
787 ntfs_log_debug("HDIO_GETGEO head
[all...]
H A Dwin32_io.c1799 #ifdef HDIO_GETGEO
1879 #ifdef HDIO_GETGEO
1880 case HDIO_GETGEO:
1881 ntfs_log_debug("HDIO_GETGEO detected.\n");
/haiku/src/tools/fs_shell/
H A Dunistd.cpp171 // HDIO_GETGEO (which is kind of obsolete, BTW), and
187 } else if (ioctl(fd, HDIO_GETGEO, &hdGeometry) == 0) {
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp511 // work, fall back to the obsolete HDIO_GETGEO
517 } else if (ioctl(baseFD, HDIO_GETGEO, &geometry) == 0) {

Completed in 88 milliseconds