Lines Matching refs:open_file
44 static int dos_open(const char *path, struct open_file *fd);
45 static int dos_close(struct open_file *fd);
46 static int dos_read(struct open_file *fd, void *buf, size_t size, size_t *resid);
47 static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
48 static int dos_stat(struct open_file *fd, struct stat *sb);
49 static int dos_readdir(struct open_file *fd, struct dirent *d);
145 static int ioget(struct open_file *, daddr_t, void *, size_t);
148 dos_read_fatblk(DOS_FS *fs, struct open_file *fd, u_int blknum) in dos_read_fatblk()
182 dos_mount(DOS_FS *fs, struct open_file *fd) in dos_mount()
235 dos_open(const char *path, struct open_file *fd) in dos_open()
282 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) in dos_read()
341 dos_seek(struct open_file *fd, off_t offset, int whence) in dos_seek()
376 dos_close(struct open_file *fd) in dos_close()
391 dos_stat(struct open_file *fd, struct stat *sb) in dos_stat()
423 dos_readdir(struct open_file *fd, struct dirent *d) in dos_readdir()
856 ioget(struct open_file *fd, daddr_t lsec, void *buf, size_t size) in ioget()