Lines Matching refs:open_file
43 static int pkg_open(const char *, struct open_file *);
44 static int pkg_close(struct open_file *);
45 static int pkg_read(struct open_file *, void *, size_t, size_t *);
46 static off_t pkg_seek(struct open_file *, off_t, int);
47 static int pkg_stat(struct open_file *, struct stat *);
48 static int pkg_readdir(struct open_file *, struct dirent *);
199 pkg_open(const char *fn, struct open_file *f)
250 pkg_close(struct open_file *f)
269 pkg_read(struct open_file *f, void *buf, size_t size, size_t *res)
331 pkg_seek(struct open_file *f, off_t ofs, int whence)
381 pkg_stat(struct open_file *f, struct stat *sb)
396 pkg_readdir(struct open_file *f, struct dirent *d)