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

/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice_io.h38 #ifndef HDIO_GETGEO
39 # define HDIO_GETGEO 0x301 macro
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddevice.c79 #if defined(linux) && !defined(HDIO_GETGEO)
80 #define HDIO_GETGEO 0x0301 /* Get device geometry. */ macro
631 * EOPNOTSUPP System does not support HDIO_GETGEO ioctl
632 * ENOTTY @dev is a file or a device not supporting HDIO_GETGEO
640 #ifdef HDIO_GETGEO
643 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
644 ntfs_log_debug("HDIO_GETGEO start_sect = %lu (0x%lx)\n",
664 * EOPNOTSUPP System does not support HDIO_GETGEO ioctl
665 * ENOTTY @dev is a file or a device not supporting HDIO_GETGEO
673 #ifdef HDIO_GETGEO
[all...]
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.c46 # ifndef HDIO_GETGEO
47 # define HDIO_GETGEO 0x0301 /* get device geometry */ macro
48 /* If HDIO_GETGEO is not defined, it is unlikely that hd_geometry is
57 # endif /* ! HDIO_GETGEO */
161 if (ioctl (fd, HDIO_GETGEO, &hdg))
484 /* Check if DEVICE is a CD-ROM drive by the HDIO_GETGEO ioctl. */
492 /* If it is a block device and isn't a floppy, check if HDIO_GETGEO
496 && ioctl (fileno (fp), HDIO_GETGEO, &hdg))
/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c52 # ifndef HDIO_GETGEO
53 # define HDIO_GETGEO 0x0301 /* get device geometry */ macro
54 /* If HDIO_GETGEO is not defined, it is unlikely that hd_geometry is
63 # endif /* ! HDIO_GETGEO */
446 /* Check if DEVICE is a CD-ROM drive by the HDIO_GETGEO ioctl. */
454 /* If it is a block device and isn't a floppy, check if HDIO_GETGEO
458 && ioctl (fileno (fp), HDIO_GETGEO, &hdg))
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dhostdisk.c60 # ifndef HDIO_GETGEO
61 # define HDIO_GETGEO 0x0301 /* get device geometry */ macro
62 /* If HDIO_GETGEO is not defined, it is unlikely that hd_geometry is
71 # endif /* ! HDIO_GETGEO */
92 # include <cygwin/hdreg.h> /* HDIO_GETGEO */
528 HDIO_GETGEO. */
603 if (ioctl (fd, HDIO_GETGEO, &hdg))
1889 Here, get the start sector of a partition by HDIO_GETGEO, and

Completed in 49 milliseconds