Lines Matching defs:fs
111 #define bytblk(fs, n) ((n) >> (fs)->bshift) argument
112 #define blkbyt(fs, b) ((b) << (fs)->bshift) argument
113 #define secblk(fs, s) ((s) >> ((fs)->bshift - SSHIFT)) argument
114 #define blksec(fs, b) ((b) << ((fs)->bshift - SSHIFT)) argument
117 #define blkoff(fs, b) (secbyt((fs)->lsndta) + blkbyt(fs, (b) - LOCLUS)) argument
120 #define blklsn(fs, b) ((fs)->lsndta + blksec(fs, (b) - LOCLUS)) argument
128 #define okclus(fs, c) ((c) >= LOCLUS && (c) <= (fs)->xclus) argument
148 dos_read_fatblk(DOS_FS *fs, struct open_file *fd, uint_t blknum) in dos_read_fatblk()
182 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount()
222 dos_unmount(DOS_FS *fs) in dos_unmount()
239 DOS_FS *fs; in dos_open() local
380 DOS_FS *fs = f->fs; in dos_close() local
499 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
548 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
583 lookup(DOS_FS *fs, uint_t clus, const char *name, DOS_DE **dep) in lookup()
730 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
752 fatcnt(DOS_FS *fs, uint_t c) in fatcnt()
767 fatget(DOS_FS *fs, uint_t *c) in fatget()
830 ioread(DOS_FS *fs, uint_t offset, void *buf, size_t nbyte) in ioread()