Lines Matching refs:open_file
86 static int ufs_open(const char *path, struct open_file *f);
87 static int ufs_write(struct open_file *f, void *buf, size_t size, size_t *resid);
88 static int ufs_close(struct open_file *f);
89 static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
90 static off_t ufs_seek(struct open_file *f, off_t offset, int where);
91 static int ufs_stat(struct open_file *f, struct stat *sb);
92 static int ufs_readdir(struct open_file *f, struct dirent *d);
131 static int read_inode(ino_t, struct open_file *);
132 static int block_map(struct open_file *, ufs2_daddr_t, ufs2_daddr_t *);
133 static int buf_read_file(struct open_file *, char **, size_t *);
134 static int buf_write_file(struct open_file *, char *, size_t *);
135 static int search_directory(char *, struct open_file *, ino_t *);
143 struct open_file *f;
198 struct open_file *f;
303 struct open_file *f;
381 struct open_file *f;
444 struct open_file *f;
491 struct open_file *f;
693 struct open_file *f;
719 struct open_file *f;
761 struct open_file *f;
793 struct open_file *f;
818 struct open_file *f;
832 ufs_readdir(struct open_file *f, struct dirent *d)