Lines Matching defs:cls
271 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2;
583 cls = (bpb.bsec - x1) / bpb.spc;
585 if (cls > x)
586 cls = x;
589 cls);
590 if (cls < mincls(fat))
591 errx(1, "%u clusters too few clusters for FAT%u, need %u", cls, fat,
593 if (cls > maxcls(fat)) {
594 cls = maxcls(fat);
595 bpb.bsec = x1 + (cls + 1) * bpb.spc - 1;
600 "(%u bytes/cluster)\n", fname, cls * bpb.spc,
601 cls * bpb.spc == 1 ? "" : "s", cls, fat,
602 cls == 1 ? "" : "s", bpb.bps * bpb.spc);