Lines Matching refs:open_file
34 static int pkg_open(const char *, struct open_file *);
35 static int pkg_close(struct open_file *);
36 static int pkg_read(struct open_file *, void *, size_t, size_t *);
37 static off_t pkg_seek(struct open_file *, off_t, int);
38 static int pkg_stat(struct open_file *, struct stat *);
39 static int pkg_readdir(struct open_file *, struct dirent *);
196 pkg_open_follow(const char *fn, struct open_file *f, int lnks) in pkg_open_follow()
258 pkg_open(const char *fn, struct open_file *f) in pkg_open()
264 pkg_close(struct open_file *f) in pkg_close()
284 pkg_read(struct open_file *f, void *buf, size_t size, size_t *res) in pkg_read()
343 pkg_seek(struct open_file *f, off_t ofs, int whence) in pkg_seek()
402 pkg_stat(struct open_file *f, struct stat *sb) in pkg_stat()
424 pkg_readdir(struct open_file *f, struct dirent *d) in pkg_readdir()