Lines Matching defs:fs
146 #define bytsec(fs, n) ((n) >> (fs)->sshift) argument
147 #define secbyt(fs, s) ((s) << (fs)->sshift) argument
148 #define depsec(fs) (1 << (fs)->dshift) argument
149 #define entsec(fs, e) ((e) >> (fs)->dshift) argument
150 #define bytblk(fs, n) ((n) >> (fs)->bshift) argument
151 #define blkbyt(fs, b) ((b) << (fs)->bshift) argument
152 #define secblk(fs, s) ((s) >> ((fs)->bshift - (fs)->sshift)) argument
153 #define blksec(fs, b) ((b) << ((fs)->bshift - (fs)->sshift)) argument
156 #define blkoff(fs, b) (secbyt(fs, (fs)->lsndta) + \ argument
160 #define blklsn(fs, b) ((fs)->lsndta + blksec(fs, (b) - LOCLUS)) argument
168 #define okclus(fs, c) ((c) >= LOCLUS && (c) <= (fs)->xclus) argument
188 dos_read_fatblk(DOS_FS *fs, u_int blknum) in dos_read_fatblk()
221 dos_mount_impl(DOS_FS *fs, struct open_file *fd) in dos_mount_impl()
270 char *fs; in dos_mount() local
330 dos_unmount_impl(DOS_FS *fs) in dos_unmount_impl()
348 DOS_FS *fs = NULL; in dos_open() local
509 DOS_FS *fs = f->fs; in dos_close() local
629 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
696 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
731 lookup(DOS_FS *fs, u_int clus, const char *name, DOS_DE **dep) in lookup()
878 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
900 fatcnt(DOS_FS *fs, u_int c) in fatcnt()
915 fatget(DOS_FS *fs, u_int *c) in fatget()
978 ioread(DOS_FS *fs, uint64_t offset, void *buf, size_t nbyte) in ioread()
1020 ioget(DOS_FS *fs, daddr_t lsec, void *buf, size_t size) in ioget()