Searched refs:fatsz (Results 1 – 3 of 3) sorted by relevance
210 if (fs->fatsz == 32) { in dos_mount()257 clus = stclus(fs->fatsz, de); in dos_open()305 if ((clus = stclus(f->fs->fatsz, &f->de))) in dos_read()544 fs->fatsz = fs->dirents ? fs->xclus < 0xff6 ? 12 : 16 : 32; in parsebs()545 sc = (secbyt(fs->spf) << 1) / (fs->fatsz >> 2) - 1; in parsebs()579 if ((err = lookup(fs, stclus(fs->fatsz, de), name, &de))) in namede()604 if (!clus && fs->fatsz == 32) in lookup()669 if (fatend(fs->fatsz, clus)) in lookup()744 if (!(c = stclus(fs->fatsz, de))) in fsize()766 return (fatend(fs->fatsz, c) ? n : -1); in fatcnt()[all …]
110 uint_t fatsz; /* FAT entry size */ member
1294 ulong_t fatsz; in compute_cluster_size() local1471 fatsz = (tmpval1 + (tmpval2 - 1)) / tmpval2; in compute_cluster_size()1477 wbpb->bpb32.big_sectors_per_fat = fatsz; in compute_cluster_size()1484 wbpb->bpb.sectors_per_fat = (ushort_t)(fatsz & 0x0000FFFF); in compute_cluster_size()