Searched refs:SecPerClust (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/fsck_msdos/
H A Dboot.c66 boot->SecPerClust = block[13];
179 - CLUST_FIRST * boot->SecPerClust;
185 if (boot->SecPerClust == 0) {
186 pfatal("Invalid cluster size: %u", boot->SecPerClust);
194 boot->NumClusters = (boot->NumSectors - boot->ClusterOffset) / boot->SecPerClust;
225 boot->ClusterSize = boot->BytesPerSec * boot->SecPerClust;
H A Ddosfs.h43 u_int SecPerClust; /* sectors per cluster */ member in struct:bootblock
H A Ddir.c226 b2 = boot->SecPerClust * boot->BytesPerSec;
319 int clsz = boot->SecPerClust * boot->BytesPerSec;
329 off = startcl * boot->SecPerClust + boot->ClusterOffset;
491 last = boot->SecPerClust * boot->BytesPerSec;
492 off = cl * boot->SecPerClust + boot->ClusterOffset;
/netbsd-6-1-5-RELEASE/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c476 uint8_t SecPerClust; local
547 SecPerClust = b50->bpbSecPerClust;
560 if (!pmp->pm_BytesPerSec || !SecPerClust
564 pmp->pm_BytesPerSec, SecPerClust,
621 if ( (SecPerClust == 0)
622 || (SecPerClust & (SecPerClust - 1))
645 SecPerClust *= tmp;
671 SecPerClust;
714 pmp->pm_bpcluster = SecPerClust * pm
[all...]

Completed in 124 milliseconds