Lines Matching refs:open_file
53 static int dos_open(const char *path, struct open_file *fd);
54 static int dos_close(struct open_file *fd);
55 static int dos_read(struct open_file *fd, void *buf, size_t size, size_t *resid);
56 static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
57 static int dos_stat(struct open_file *fd, struct stat *sb);
58 static int dos_readdir(struct open_file *fd, struct dirent *d);
221 dos_mount_impl(DOS_FS *fs, struct open_file *fd) in dos_mount_impl()
272 struct open_file *f; in dos_mount()
344 dos_open(const char *path, struct open_file *fd) in dos_open()
405 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) in dos_read()
471 dos_seek(struct open_file *fd, off_t offset, int whence) in dos_seek()
506 dos_close(struct open_file *fd) in dos_close()
521 dos_stat(struct open_file *fd, struct stat *sb) in dos_stat()
553 dos_readdir(struct open_file *fd, struct dirent *d) in dos_readdir()
1024 struct open_file *fd = fs->fd; in ioget()