Lines Matching defs:cls
252 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2;
574 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
577 if (cls > x)
578 cls = x;
581 cls);
582 if (cls < mincls(fat)) {
583 warnx("%u clusters too few clusters for FAT%u, need %u", cls, fat,
587 if (cls > maxcls(fat)) {
588 cls = maxcls(fat);
589 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
594 "(%u bytes/cluster)\n", fname, cls * bpb.bpbSecPerClust,
595 cls * bpb.bpbSecPerClust == 1 ? "" : "s", cls, fat,
596 cls == 1 ? "" : "s", bpb.bpbBytesPerSec * bpb.bpbSecPerClust);