Lines Matching defs:fs
123 #define bytblk(fs, n) ((n) >> (fs)->bshift) argument
124 #define blkbyt(fs, b) ((b) << (fs)->bshift) argument
125 #define secblk(fs, s) ((s) >> ((fs)->bshift - SSHIFT)) argument
126 #define blksec(fs, b) ((b) << ((fs)->bshift - SSHIFT)) argument
129 #define blkoff(fs, b) (secbyt((fs)->lsndta) + blkbyt(fs, (b) - LOCLUS)) argument
132 #define blklsn(fs, b) ((fs)->lsndta + blksec(fs, (b) - LOCLUS)) argument
140 #define okclus(fs, c) ((c) >= LOCLUS && (c) <= (fs)->xclus) argument
160 dos_read_fatblk(DOS_FS *fs, struct open_file *fd, u_int blknum) in dos_read_fatblk()
193 dos_mount_impl(DOS_FS *fs, struct open_file *fd) in dos_mount_impl()
231 char *fs; in dos_mount() local
291 dos_unmount_impl(DOS_FS *fs) in dos_unmount_impl()
308 DOS_FS *fs; in dos_open() local
469 DOS_FS *fs = f->fs; in dos_close() local
589 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
638 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
673 lookup(DOS_FS *fs, u_int clus, const char *name, DOS_DE **dep) in lookup()
818 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
840 fatcnt(DOS_FS *fs, u_int c) in fatcnt()
855 fatget(DOS_FS *fs, u_int *c) in fatget()
918 ioread(DOS_FS *fs, uint64_t offset, void *buf, size_t nbyte) in ioread()