Home
last modified time | relevance | path

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

/freebsd/sbin/bsdlabel/
H A Dbsdlabel.c536 fprintf(f, "tracks/cylinder: %lu\n", (u_long)lp->d_ntracks); in display()
869 lp->d_ntracks = v; in getasciilabel()
1106 if (lp->d_ntracks == 0) { in checklabel()
1117 lp->d_secpercyl = lp->d_nsectors * lp->d_ntracks; in checklabel()
1143 if (lp->d_ntracks == 0) in checklabel()
1144 lp->d_ntracks = vl->d_ntracks; in checklabel()
1476 loclab.d_ntracks = u; in getvirginlabel()
1478 loclab.d_ntracks = 1; in getvirginlabel()
1480 loclab.d_ntracks = 16; in getvirginlabel()
1482 loclab.d_ntracks = 255; in getvirginlabel()
[all …]
/freebsd/lib/libc/gen/
H A Ddisklabel.c98 getnumdflt(dp->d_ntracks, "nt", 0); in getdiskbyname()
107 getnumdflt(dp->d_secpercyl, "sc", dp->d_nsectors * dp->d_ntracks); in getdiskbyname()
/freebsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c915 lp->d_ntracks = 255; in compute_geometry_from_file()
948 dlp.d_ntracks = type.heads; in getdiskinfo()
970 ioctl(fd, DIOCGFWHEADS, &dlp.d_ntracks) == -1) { in getdiskinfo()
973 dlp.d_ntracks = 1; in getdiskinfo()
975 dlp.d_ntracks = 16; in getdiskinfo()
977 dlp.d_ntracks = 255; in getdiskinfo()
1001 if (ckgeom(fname, lp->d_ntracks, "drive heads") == -1) in getdiskinfo()
1003 bpb->bpbHeads = lp->d_ntracks; in getdiskinfo()
/freebsd/sys/geom/
H A Dgeom_bsd_enc.c101 d->d_ntracks = le32dec(ptr + 48); in bsd_disklabel_le_dec()
159 le32enc(ptr + 48, d->d_ntracks); in bsd_disklabel_le_enc()
/freebsd/sys/sys/disk/
H A Dbsd.h67 uint32_t d_ntracks; /* # of tracks per cylinder */ member
/freebsd/usr.bin/mkimg/
H A Dbsd.c89 le32enc(&d->d_ntracks, nheads); in bsd_write()