Lines Matching defs:spc
98 * ncyl=pcyl=ceil(device size/spc) and acyl=apc=0.
124 uint32_t spc; /* Sectors per cylinder - nhead*nsect */
181 * update_spc is a `changed' function for updating the spc value when
353 * centralize the check. (If spc is zero, cylinder numbers make
357 * whenever we change spc.
362 if (label.spc == 0) {
365 p->endcyl = p->startcyl + how_many(p->nblk, label.spc);
412 label.spc = 0;
453 label.spc = label.nhead * label.nsect;
716 * If label.spc is nonzero but the partition size is not a multiple of
766 * label.spc;
769 * label.spc;
785 * label.spc;
823 if (label.spc && (size % label.spc)) {
825 size / label.spc,
826 (size % label.spc) / label.nsect, size % label.nsect);
831 if ((label.partitions[pno].startcyl * label.spc)
832 + label.partitions[pno].nblk > label.spc * label.ncyl) {
906 * `changed' function for the ntrack and nsect fields; update label.spc
914 label.spc = label.nhead * label.nsect;
1031 if (label.spc) {
1032 printf("%u/%u/%u - ", p[i].nblk / label.spc,
1033 (p[i].nblk % label.spc) / label.nsect,