Lines Matching refs:geom
787 struct hd_geometry geom;801 if (ioctl(fd, HDIO_GETGEO, &geom)) {803 geom.heads = 64;804 geom.sectors = 63;807 if (!geom.heads) {809 geom.heads = 64;812 if (!geom.sectors) {814 geom.sectors = 63;817 bpb->spt = geom.sectors;820 bpb->hds = geom.heads;