Lines Matching refs:open_file
46 static int dos_open(const char *, struct open_file *);
47 static int dos_close(struct open_file *);
48 static int dos_read(struct open_file *, void *, size_t, size_t *);
49 static off_t dos_seek(struct open_file *, off_t offset, int);
50 static int dos_stat(struct open_file *, struct stat *);
51 static int dos_readdir(struct open_file *, struct dirent *);
216 dos_mount(DOS_FS **fsp, struct open_file *fd) in dos_mount()
293 dos_open(const char *path, struct open_file *fd) in dos_open()
336 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) in dos_read()
402 dos_seek(struct open_file *fd, off_t offset, int whence) in dos_seek()
437 dos_close(struct open_file *fd) in dos_close()
452 dos_stat(struct open_file *fd, struct stat *sb) in dos_stat()
484 dos_readdir(struct open_file *fd, struct dirent *d) in dos_readdir()
956 struct open_file *fd = fs->fd; in ioget()