Searched refs:fatsz (Results 1 – 3 of 3) sorted by relevance
209 if (fs->fatsz == 32) { in dos_mount()256 clus = stclus(fs->fatsz, de); in dos_open()302 if ((clus = stclus(f->fs->fatsz, &f->de))) in dos_read()538 sc = (secbyt(fs->spf) << 1) / (fs->fatsz >> 2) - 1; in parsebs()572 if ((err = lookup(fs, stclus(fs->fatsz, de), name, &de))) in namede()597 if (!clus && fs->fatsz == 32) in lookup()662 if (fatend(fs->fatsz, clus)) in lookup()759 return (fatend(fs->fatsz, c) ? n : -1); in fatcnt()779 offset = fatoff(fs->fatsz, val_in); in fatget()780 nbyte = fs->fatsz != 32 ? 2 : 4; in fatget()[all …]
110 u_int 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()