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 *, u_int, const char *, DOS_DE **);
141 static off_t fsize(DOS_FS *, DOS_DE *);
142 static int fatcnt(DOS_FS *, u_int);
143 static int fatget(DOS_FS *, u_int *);
145 static int ioread(DOS_FS *, u_int, void *, size_t);
149 dos_read_fatblk(DOS_FS *fs, struct open_file *fd, u_int blknum)
182 dos_mount(DOS_FS *fs, struct open_file *fd)
187 bzero(fs, sizeof(DOS_FS));
222 dos_unmount(DOS_FS *fs)
239 DOS_FS *fs;
244 if ((fs = malloc(sizeof(DOS_FS))) == NULL)
379 DOS_FS *fs = f->fs;
498 parsebs(DOS_FS *fs, DOS_BS *bs)
547 namede(DOS_FS *fs, const char *path, DOS_DE **dep)
582 lookup(DOS_FS *fs, u_int clus, const char *name, DOS_DE **dep)
718 fsize(DOS_FS *fs, DOS_DE *de)
740 fatcnt(DOS_FS *fs, u_int c)
755 fatget(DOS_FS *fs, u_int *c)
818 ioread(DOS_FS *fs, u_int offset, void *buf, size_t nbyte)