Searched refs:geom (Results 1 – 1 of 1) sorted by relevance
800 struct hd_geometry geom; in getdiskinfo() local822 if (ioctl(fd, HDIO_GETGEO, &geom)) { in getdiskinfo()824 geom.heads = 64; in getdiskinfo()825 geom.sectors = 63; in getdiskinfo()828 if (!geom.heads) { in getdiskinfo()830 geom.heads = 64; in getdiskinfo()833 if (!geom.sectors) { in getdiskinfo()835 geom.sectors = 63; in getdiskinfo()838 bpb->spt = geom.sectors; in getdiskinfo()841 bpb->hds = geom.heads; in getdiskinfo()