Home | History | Annotate | Download | only in newfs_msdos

Lines Matching defs:cls

263     u_int bss, rds, cls, dir, lsn, x, x1, x2;
566 cls = (bpb.bsec - x1) / bpb.spc;
568 if (cls > x)
569 cls = x;
572 cls);
575 if (cls < mincls(o.fat_type)) {
581 warnx("%u clusters too few clusters for FAT%u, need %u", cls,
585 if (cls > maxcls(o.fat_type)) {
586 cls = maxcls(o.fat_type);
587 bpb.bsec = x1 + (cls + 1) * bpb.spc - 1;
593 "(%u bytes/cluster)\n", fname, cls * bpb.spc,
594 cls * bpb.spc == 1 ? "" : "s", cls, o.fat_type,
595 cls == 1 ? "" : "s", bpb.bps * bpb.spc);