Lines Matching refs:DOS_FS
44 DOS_FS *dos_fs;
147 static int parsebs(DOS_FS *, DOS_BS *);
148 static int namede(DOS_FS *, const char *, DOS_DE **);
149 static int lookup(DOS_FS *, u_int, const char *, DOS_DE **);
152 static off_t fsize(DOS_FS *, DOS_DE *);
153 static int fatcnt(DOS_FS *, u_int);
154 static int fatget(DOS_FS *, u_int *);
156 static int ioread(DOS_FS *, u_int, void *, size_t);
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()
291 dos_unmount_impl(DOS_FS *fs) in dos_unmount_impl()
308 DOS_FS *fs; in dos_open()
322 if ((fs = calloc(1, sizeof(DOS_FS))) == NULL) in dos_open()
463 DOS_FS *fs = f->fs; in dos_close()
583 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
632 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
667 lookup(DOS_FS *fs, u_int clus, const char *name, DOS_DE **dep) in lookup()
812 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
834 fatcnt(DOS_FS *fs, u_int c) in fatcnt()
849 fatget(DOS_FS *fs, u_int *c) in fatget()
912 ioread(DOS_FS *fs, u_int offset, void *buf, size_t nbyte) in ioread()