Lines Matching refs:package
104 struct package;
108 struct package *tf_pkg;
118 struct package struct
120 struct package *pkg_chain; argument
129 static struct package *package = NULL; argument
131 static int new_package(int, struct package **);
137 struct package *chain; in pkgfs_cleanup()
140 while (package != NULL) { in pkgfs_cleanup()
141 inflateEnd(&package->pkg_zs); in pkgfs_cleanup()
142 close(package->pkg_fd); in pkgfs_cleanup()
144 tf = package->pkg_first; in pkgfs_cleanup()
153 chain = package->pkg_chain; in pkgfs_cleanup()
154 free(package); in pkgfs_cleanup()
155 package = chain; in pkgfs_cleanup()
162 struct package *pkg; in pkgfs_init()
187 pkg->pkg_chain = package; in pkgfs_init()
188 package = pkg; in pkgfs_init()
194 static int get_zipped(struct package *, void *, size_t);
195 static int new_package(int, struct package **);
196 static struct tarfile *scan_tarfile(struct package *, struct tarfile *);
206 if (package == NULL) in pkg_open_follow()
237 tf = scan_tarfile(package, NULL); in pkg_open_follow()
255 tf = scan_tarfile(package, tf); in pkg_open_follow()
430 tf = scan_tarfile(package, NULL); in pkg_readdir()
446 get_byte(struct package *pkg, off_t *op) in get_byte()
466 get_zipped(struct package *pkg, void *buf, size_t bufsz) in get_zipped()
510 struct package *pkg; in cache_data()
659 new_package(int fd, struct package **pp) in new_package()
661 struct package *pkg; in new_package()
750 scan_tarfile(struct package *pkg, struct tarfile *last) in scan_tarfile()