Lines Matching refs:DOS_FS
83 } DOS_FS; typedef
86 DOS_FS *fs; /* associated filesystem */
145 static int dosunmount(DOS_FS *);
146 static int parsebs(DOS_FS *, DOS_BS *);
147 static int namede(DOS_FS *, const char *, const struct direntry **);
148 static int lookup(DOS_FS *, u_int, const char *, const struct direntry **);
151 static off_t fsize(DOS_FS *, struct direntry *);
152 static int fatcnt(DOS_FS *, u_int);
153 static int fatget(DOS_FS *, u_int *);
155 static int ioread(DOS_FS *, BYTE_OFF_T, void *, u_int);
156 static int iobuf(DOS_FS *, u_int);
180 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount()
184 (void)memset(fs, 0, sizeof(DOS_FS)); in dos_mount()
200 dos_unmount(DOS_FS *fs) in dos_unmount()
216 dosunmount(DOS_FS *fs) in dosunmount()
220 dealloc(fs, sizeof(DOS_FS)); in dosunmount()
232 DOS_FS *fs; in dosfs_open()
237 fs = alloc(sizeof(DOS_FS)); in dosfs_open()
387 DOS_FS *fs = f->fs; in dosfs_close()
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()