Lines Matching defs:dginfo
1494 struct dk_geom dginfo;
1501 if (ioctl(fd, DKIOCG_VIRTGEOM, &dginfo) == -1 &&
1502 ioctl(fd, DKIOCG_PHYGEOM, &dginfo) == -1 &&
1503 ioctl(fd, DKIOCGGEOM, &dginfo) == -1) {
1512 wbpb->bpb.heads = (GetTPC ? dginfo.dkg_nhead : TrkPerCyl);
1513 wbpb->bpb.sectors_per_track = (GetSPT ? dginfo.dkg_nsect : SecPerTrk);
1519 dginfo.dkg_nhead);
1524 " = %d\n"), dginfo.dkg_nsect);
1925 struct dk_geom dginfo;
1968 if (ioctl(fd, DKIOCG_VIRTGEOM, &dginfo) == -1 &&
1969 ioctl(fd, DKIOCG_PHYGEOM, &dginfo) == -1 &&
1970 ioctl(fd, DKIOCGGEOM, &dginfo) == -1) {
1976 if (dginfo.dkg_nhead != wbpb->bpb.heads) {
1980 if (dginfo.dkg_nsect !=