Home
last modified time | relevance | path

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

/titanic_41/usr/src/grub/grub-0.97/lib/
H A Ddevice.c158 struct hd_geometry hdg; in get_drive_geometry() local
161 if (ioctl (fd, HDIO_GETGEO, &hdg)) in get_drive_geometry()
168 geom->cylinders = hdg.cylinders; in get_drive_geometry()
169 geom->heads = hdg.heads; in get_drive_geometry()
170 geom->sectors = hdg.sectors; in get_drive_geometry()
217 struct disklabel hdg; in get_drive_geometry() local
218 if (ioctl (fd, DIOCGDINFO, &hdg)) in get_drive_geometry()
221 geom->cylinders = hdg.d_ncylinders; in get_drive_geometry()
222 geom->heads = hdg.d_ntracks; in get_drive_geometry()
223 geom->sectors = hdg.d_nsectors; in get_drive_geometry()
[all …]