Lines Matching refs:open_file
40 static int pkg_open(const char *, struct open_file *);
41 static int pkg_close(struct open_file *);
42 static int pkg_read(struct open_file *, void *, size_t, size_t *);
43 static off_t pkg_seek(struct open_file *, off_t, int);
44 static int pkg_stat(struct open_file *, struct stat *);
45 static int pkg_readdir(struct open_file *, struct dirent *);
199 pkg_open_follow(const char *fn, struct open_file *f, int lnks) in pkg_open_follow()
261 pkg_open(const char *fn, struct open_file *f) in pkg_open()
267 pkg_close(struct open_file *f) in pkg_close()
286 pkg_read(struct open_file *f, void *buf, size_t size, size_t *res) in pkg_read()
341 pkg_seek(struct open_file *f, off_t ofs, int whence) in pkg_seek()
400 pkg_stat(struct open_file *f, struct stat *sb) in pkg_stat()
422 pkg_readdir(struct open_file *f, struct dirent *d) in pkg_readdir()