Home | History | Annotate | Download | only in sunlabel

Lines Matching defs:nsect

101  * nsect assume that the sect/trk and trk/cyl values are constant
105 * mostly invalid these days anyway. (I just use nhead=32 nsect=64,
120 uint32_t nsect; /* Sectors-per-track */
124 uint32_t spc; /* Sectors per cylinder - nhead*nsect */
132 * tag is a short name for the field, like "apc" or "nsect". loc is a
203 {"nsect", &label.nsect, print_int, chval_int, update_spc, 0 },
404 label.nsect = 0;
450 label.nsect = l_s[219];
453 label.spc = label.nhead * label.nsect;
530 l_s[219] = label.nsect;
698 * ((n1*label.nhead)+n2)*label.nsect)+n3. In particular,
699 * if label.nhead or label.nsect is zero, this has limited
819 size = sizes + (label.nsect * (sizet
826 (size % label.spc) / label.nsect, size % label.nsect);
906 * `changed' function for the ntrack and nsect fields; update label.spc
914 label.spc = label.nhead * label.nsect;
1033 (p[i].nblk % label.spc) / label.nsect,
1034 p[i].nblk % label.nsect);
1195 u.l.d_nsectors = label.nsect;
1198 u.l.d_secpercyl = label.nsect * label.nhead;
1207 * label.nsect * label.nhead;