Searched defs:fatsize (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1286 size_t fatsize = fsp->pcfs_fatsec * fsp->pcfs_secsize; local
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; local
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; local
2574 fatp = kmem_alloc(fatsize, KM_SLEE
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c117 ulong_t bootblksize, ulong_t *fatsize, char *ffn, int *fffd,
147 static void set_fat_string(bpb_t *wbpb, int fatsize);
959 set_fat_string(bpb_t *wbpb, int fatsize) argument
961 if (fatsize == 12) {
964 } else if (fatsize == 16) {
2646 ulong_t *fatsize, char *ffn, int *fffd, ulong_t *ffsize,
2662 *fatsize = BPSEC * wbpb->bpb32.big_sectors_per_fat;
2664 *fatsize = BPSEC * wbpb->bpb.sectors_per_fat;
2667 if (!(fatp = (uchar_t *)malloc(*fatsize))) {
2671 (void) memset(fatp, 0, *fatsize);
2645 build_fat(bpb_t *wbpb, struct fat_od_fsi *fsinfop, ulong_t bootblksize, ulong_t *fatsize, char *ffn, int *fffd, ulong_t *ffsize, pc_cluster32_t *ffstartclust) argument
3081 ulong_t bootblksize, fatsize, rdirsize, ffsize; local
[all...]

Completed in 69 milliseconds