Lines Matching refs:DOS_FS
136 static int parsebs(DOS_FS *, DOS_BS *);
137 static int namede(DOS_FS *, const char *, DOS_DE **);
138 static int lookup(DOS_FS *, uint_t, const char *, DOS_DE **);
141 static off_t fsize(DOS_FS *, DOS_DE *);
142 static int fatcnt(DOS_FS *, uint_t);
143 static int fatget(DOS_FS *, uint_t *);
145 static int ioread(DOS_FS *, uint64_t, void *, size_t);
149 dos_read_fatblk(DOS_FS *fs, struct open_file *fd, uint_t blknum) in dos_read_fatblk()
183 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount()
188 bzero(fs, sizeof (DOS_FS)); in dos_mount()
223 dos_unmount(DOS_FS *fs) in dos_unmount()
240 DOS_FS *fs; in dos_open()
245 if ((fs = malloc(sizeof (DOS_FS))) == NULL) in dos_open()
387 DOS_FS *fs = f->fs; in dos_close()
506 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs()
555 namede(DOS_FS *fs, const char *path, DOS_DE **dep) in namede()
590 lookup(DOS_FS *fs, uint_t clus, const char *name, DOS_DE **dep) in lookup()
737 fsize(DOS_FS *fs, DOS_DE *de) in fsize()
759 fatcnt(DOS_FS *fs, uint_t c) in fatcnt()
774 fatget(DOS_FS *fs, uint_t *c) in fatget()
837 ioread(DOS_FS *fs, uint64_t offset, void *buf, size_t nbyte) in ioread()