Lines Matching refs:open_file
39 struct open_file { struct
64 static int bzf_open(const char *path, struct open_file *f); argument
65 static int bzf_close(struct open_file *f);
66 static int bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid);
67 static off_t bzf_seek(struct open_file *f, off_t offset, int where);
68 static int bzf_stat(struct open_file *f, struct stat *sb);
149 bzf_open(const char *fname, struct open_file *f) in bzf_open()
218 bzf_close(struct open_file *f) in bzf_close()
229 bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid) in bzf_read()
265 bzf_rewind(struct open_file *f) in bzf_rewind()
309 bzf_seek(struct open_file *f, off_t offset, int where) in bzf_seek()
348 bzf_stat(struct open_file *f, struct stat *sb) in bzf_stat()
369 struct open_file f; in main()