Lines Matching refs:open_file
85 static int ufs_open(const char *, struct open_file *);
86 static int ufs_write(struct open_file *, const void *, size_t, size_t *);
87 static int ufs_close(struct open_file *);
88 static int ufs_read(struct open_file *, void *, size_t, size_t *);
89 static off_t ufs_seek(struct open_file *, off_t, int);
90 static int ufs_stat(struct open_file *, struct stat *);
91 static int ufs_readdir(struct open_file *, struct dirent *);
134 static int read_inode(ino_t, struct open_file *);
135 static int block_map(struct open_file *, ufs2_daddr_t, ufs2_daddr_t *);
136 static int buf_read_file(struct open_file *, char **, size_t *);
137 static int buf_write_file(struct open_file *, const char *, size_t *);
138 static int search_directory(char *, struct open_file *, ino_t *);
144 read_inode(ino_t inumber, struct open_file *f) in read_inode()
198 block_map(struct open_file *f, ufs2_daddr_t file_block, in block_map()
301 buf_write_file(struct open_file *f, const char *buf_p, size_t *size_p) in buf_write_file()
376 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file()
435 search_directory(char *name, struct open_file *f, ino_t *inumber_p) in search_directory()
479 ufs_open(const char *upath, struct open_file *f) in ufs_open()
680 ufs_close(struct open_file *f) in ufs_close()
705 ufs_read(struct open_file *f, void *start, size_t size, size_t *resid) in ufs_read()
743 ufs_write(struct open_file *f, const void *start, size_t size, size_t *resid) in ufs_write()
771 ufs_seek(struct open_file *f, off_t offset, int where) in ufs_seek()
793 ufs_stat(struct open_file *f, struct stat *sb) in ufs_stat()
806 ufs_readdir(struct open_file *f, struct dirent *d) in ufs_readdir()