Lines Matching refs:package
107 struct package;
111 struct package *tf_pkg;
121 struct package struct
123 struct package *pkg_chain; argument
132 static struct package *package = NULL; variable
134 static int new_package(int, struct package **);
140 struct package *chain; in pkgfs_cleanup()
143 while (package != NULL) { in pkgfs_cleanup()
144 inflateEnd(&package->pkg_zs); in pkgfs_cleanup()
145 close(package->pkg_fd); in pkgfs_cleanup()
147 tf = package->pkg_first; in pkgfs_cleanup()
156 chain = package->pkg_chain; in pkgfs_cleanup()
157 free(package); in pkgfs_cleanup()
158 package = chain; in pkgfs_cleanup()
165 struct package *pkg; in pkgfs_init()
190 pkg->pkg_chain = package; in pkgfs_init()
191 package = pkg; in pkgfs_init()
197 static int get_zipped(struct package *, void *, size_t);
198 static int new_package(int, struct package **);
199 static struct tarfile *scan_tarfile(struct package *, struct tarfile *);
209 if (package == NULL) in pkg_open_follow()
240 tf = scan_tarfile(package, NULL); in pkg_open_follow()
258 tf = scan_tarfile(package, tf); in pkg_open_follow()
433 tf = scan_tarfile(package, NULL); in pkg_readdir()
449 get_byte(struct package *pkg, off_t *op) in get_byte()
469 get_zipped(struct package *pkg, void *buf, size_t bufsz) in get_zipped()
513 struct package *pkg; in cache_data()
662 new_package(int fd, struct package **pp) in new_package()
664 struct package *pkg; in new_package()
753 scan_tarfile(struct package *pkg, struct tarfile *last) in scan_tarfile()