Lines Matching refs:spt
120 u_int8_t spt[2]; /* sectors per track */ member
164 u_int spt; /* sectors per track */ member
407 bpb.spt = opt_u; in newfs_msdos_main()
421 delta = bpb.bsec % bpb.spt; in newfs_msdos_main()
424 (int)delta, bpb.bsec, bpb.spt); in newfs_msdos_main()
669 mk2(bsbpb->spt, bpb.spt); in newfs_msdos_main()
839 bpb->spt = geom.sectors; in getdiskinfo()
840 ckgeom(fname, bpb->spt, "sectors/track"); in getdiskinfo()
894 if (bpb->spt == 0 && ioctl(fd, DIOCGFWSECTORS, &dlp.d_nsectors) == -1) { in getdiskinfo()
915 if (bpb->spt == 0) in getdiskinfo()
916 bpb->spt = ckgeom(fname, lp->d_nsectors, "sectors/track"); in getdiskinfo()
940 printf(" spt=%u hds=%u hid=%u", bpb->spt, bpb->hds, bpb->hid); in print_bpb()