Searched refs:ClusterSize (Results 1 – 4 of 4) sorted by relevance
188 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree, in checkfilesys()189 boot.NumBad * boot.ClusterSize / 1024, boot.NumBad); in checkfilesys()193 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree); in checkfilesys()
403 physicalSize = fat[dir->head].length * boot->ClusterSize; in checksize()417 } else if (physicalSize - dir->size >= boot->ClusterSize) { in checksize()424 for (cl = dir->head; (sz += boot->ClusterSize) < dir->size;) in checksize()1038 lfbuf = malloc(boot->ClusterSize); in reconnect()1048 for (; p < lfbuf + boot->ClusterSize; p += 32) in reconnect()1052 if (p && p < lfbuf + boot->ClusterSize) in reconnect()1061 lfoff = lfcl * boot->ClusterSize in reconnect()1064 || read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { in reconnect()1077 d.size = fat[head].length * boot->ClusterSize; in reconnect()1094 || write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { in reconnect()
81 u_int ClusterSize; /* Cluster size in bytes */ member
255 boot->ClusterSize = boot->BytesPerSec * boot->SecPerClust;