Lines Matching defs:fatsize
1286 size_t fatsize = fsp->pcfs_fatsec * fsp->pcfs_secsize;
1290 for (off = 0; off < fatsize; off += readsize, fatp += readsize) {
1291 if (readsize > (fatsize - off))
1292 readsize = fatsize - off;
1329 size_t fatsize = fsp->pcfs_fatsec * fsp->pcfs_secsize;
1332 for (off = 0; off < fatsize; off += writesize, fatp += writesize) {
1333 if (writesize > (fatsize - off))
1334 writesize = fatsize - off;
2548 int fatsize = fsp->pcfs_fatsec * fsp->pcfs_secsize;
2574 fatp = kmem_alloc(fatsize, KM_SLEEP);
2580 fat_changemapsize = (fatsize / fsp->pcfs_clsize) + 1;
2614 for (off = 0; off < fatsize; off += fsp->pcfs_clsize) {
2619 MIN(fsp->pcfs_clsize, fatsize - off));
2635 MIN(fsp->pcfs_clsize, fatsize - off))) {
2707 kmem_free(fatp, fatsize);