Lines Matching defs:fs
86 DOS_FS *fs; /* associated filesystem */ member
121 #define bytblk(fs, n) ((n) >> (fs)->bshift) argument
122 #define blkbyt(fs, b) ((BYTE_OFF_T)(b) << (fs)->bshift) argument
123 #define secblk(fs, s) ((s) >> ((fs)->bshift - SSHIFT)) argument
124 #define blksec(fs, b) ((b) << ((fs)->bshift - SSHIFT)) argument
127 #define blkoff(fs, b) (secbyt((fs)->lsndta) + blkbyt(fs, (b) - LOCLUS)) argument
130 #define blklsn(fs, b) ((fs)->lsndta + blksec(fs, (b) - LOCLUS)) argument
138 #define okclus(fs, c) ((c) >= LOCLUS && (c) <= (fs)->xclus) argument
180 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount()
200 dos_unmount(DOS_FS *fs) in dos_unmount()
216 dosunmount(DOS_FS *fs) in dosunmount()
232 DOS_FS *fs; in dosfs_open() local
387 DOS_FS *fs = f->fs; in dosfs_close() local
428 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
478 namede(DOS_FS *fs, const char *path, const struct direntry **dep) in namede()
514 lookup(DOS_FS *fs, u_int clus, const char *name, const struct direntry **dep) in lookup()
677 fsize(DOS_FS *fs, struct direntry *de) in fsize()
700 fatcnt(DOS_FS *fs, u_int c) in fatcnt()
714 fatget(DOS_FS *fs, u_int *c) in fatget()
742 ioread(DOS_FS *fs, BYTE_OFF_T offset, void *buf, u_int nbyte) in ioread()
779 iobuf(DOS_FS *fs, u_int lsec) in iobuf()