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

/netbsd-6-1-5-RELEASE/sbin/fsck_msdos/
H A Dcheck.c150 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree,
151 boot.NumBad * boot.ClusterSize / 1024, boot.NumBad);
155 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree);
H A Ddosfs.h74 u_int ClusterSize; /* Cluster size in bytes */ member in struct:bootblock
H A Ddir.c404 physicalSize = fat[dir->head].length * boot->ClusterSize;
418 } else if (physicalSize - dir->size >= boot->ClusterSize) {
425 for (cl = dir->head; (sz += boot->ClusterSize) < dir->size;)
946 lfbuf = malloc(boot->ClusterSize);
956 for (; p < lfbuf + boot->ClusterSize; p += 32)
960 if (p && p < lfbuf + boot->ClusterSize)
968 lfoff = lfcl * boot->ClusterSize
971 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
984 d.size = fat[head].length * boot->ClusterSize;
[all...]
H A Dboot.c225 boot->ClusterSize = boot->BytesPerSec * boot->SecPerClust;

Completed in 120 milliseconds