Lines Matching refs:cls
244 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2;
539 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
542 if (cls > x)
543 cls = x;
546 cls);
547 if (cls < mincls(fat)) {
548 warnx("%u clusters too few clusters for FAT%u, need %u", cls, fat,
552 if (cls > maxcls(fat)) {
553 cls = maxcls(fat);
554 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
559 "(%u bytes/cluster)\n", fname, cls * bpb.bpbSecPerClust,
560 cls * bpb.bpbSecPerClust == 1 ? "" : "s", cls, fat,
561 cls == 1 ? "" : "s", bpb.bpbBytesPerSec * bpb.bpbSecPerClust);