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
153 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount()
180 dos_unmount(DOS_FS *fs) in dos_unmount()
195 dosunmount(DOS_FS *fs) in dosunmount()
211 DOS_FS *fs; in dos_open() local
337 DOS_FS *fs; in dos_close() local
448 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
497 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
532 lookup(DOS_FS *fs, u_int clus, const char *name, DOS_DE **dep) in lookup()
672 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
694 fatcnt(DOS_FS *fs, u_int c) in fatcnt()
708 fatget(DOS_FS *fs, u_int *c) in fatget()
736 ioread(DOS_FS *fs, u_int offset, void *buf, u_int nbyte) in ioread()
773 iobuf(DOS_FS *fs, u_int lsec) in iobuf()