Lines Matching refs:open_file
45 static int dos_open(const char *path, struct open_file *fd);
46 static int dos_close(struct open_file *fd);
47 static int dos_read(struct open_file *fd, void *buf, size_t size, size_t *resid);
48 static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
49 static int dos_stat(struct open_file *fd, struct stat *sb);
50 static int dos_readdir(struct open_file *fd, struct dirent *d);
157 static int ioget(struct open_file *, daddr_t, size_t, void *, u_int);
160 dos_read_fat(DOS_FS *fs, struct open_file *fd)
192 dos_mount(DOS_FS *fs, struct open_file *fd)
254 dos_open(const char *path, struct open_file *fd)
295 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid)
354 dos_seek(struct open_file *fd, off_t offset, int whence)
389 dos_close(struct open_file *fd)
404 dos_stat(struct open_file *fd, struct stat *sb)
436 dos_readdir(struct open_file *fd, struct dirent *d)
860 ioget(struct open_file *fd, daddr_t lsec, size_t offset, void *buf, u_int size)