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, u_int 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
379 DOS_FS *fs = f->fs; in dos_close() local
498 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
547 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
582 lookup(DOS_FS *fs, u_int clus, const char *name, DOS_DE **dep) in lookup()
718 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
740 fatcnt(DOS_FS *fs, u_int c) in fatcnt()
755 fatget(DOS_FS *fs, u_int *c) in fatget()
818 ioread(DOS_FS *fs, u_int offset, void *buf, size_t nbyte) in ioread()