Searched refs:fatsz (Results 1 – 3 of 3) sorted by relevance
| /freebsd-9-stable/lib/libstand/ |
| D | dosfs.c | 216 clus = stclus(fs->fatsz, de); in dos_open() 253 if ((clus = stclus(f->fs->fatsz, &f->de))) in dos_read() 466 fs->fatsz = fs->dirents ? fs->xclus < 0xff6 ? 12 : 16 : 32; in parsebs() 467 sc = (secbyt(fs->spf) << 1) / (fs->fatsz >> 2) - 1; in parsebs() 499 if ((err = lookup(fs, stclus(fs->fatsz, de), name, &de))) in namede() 526 if (!clus && fs->fatsz == 32) in lookup() 584 if (fatend(fs->fatsz, clus)) in lookup() 679 return fatend(fs->fatsz, c) ? n : -1; in fatcnt() 692 err = ioread(fs, secbyt(fs->lsnfat) + fatoff(fs->fatsz, *c), buf, in fatget() 693 fs->fatsz != 32 ? 2 : 4); in fatget() [all …]
|
| D | dosfs.h | 109 u_int fatsz; /* FAT entry size */ member
|
| /freebsd-9-stable/sbin/fsck_msdosfs/ |
| D | fat.c | 546 size_t fatsz; in writefat() local 550 buffer = malloc(fatsz = boot->FATsecs * boot->bpbBytesPerSec); in writefat() 555 memset(buffer, 0, fatsz); in writefat() 636 || (size_t)write(fs, buffer, fatsz) != fatsz) { in writefat()
|