/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | getinst.c | 52 static char *prompt(struct pkginfo *info, int npkgs); 63 getinst(int *updatingExisting, struct pkginfo *info, int npkgs, in getinst() argument 81 if (npkgs == 0) { in getinst() 112 for (i = 0; i < npkgs; i++) { in getinst() 139 if (npkgs == 1) { in getinst() 164 if (maxinst <= npkgs) { in getinst() 191 inst = prompt(info, npkgs); in getinst() 230 prompt(struct pkginfo *info, int npkgs) in prompt() argument 240 if (maxinst > npkgs) { in prompt() 258 for (i = 0; i < npkgs; i++) { in prompt() [all …]
|
H A D | main.c | 265 int npkgs; in main() local 329 npkgs = 0; in main() 1340 if (pkginfo(&prvinfo[npkgs], pkgwild, NULL, NULL)) { in main() 1348 if ((++npkgs % MALSIZ) == 0) { in main() 1350 (npkgs+MALSIZ) * sizeof (struct pkginfo)); in main() 1368 pkginst = getinst(&update, prvinfo, npkgs, preinstallCheck); in main()
|
H A D | pkginstall.h | 98 int npkgs, boolean_t a_preinstallCheck));
|
H A D | instvol.c | 1417 if (entry.cf_ent.npkgs) { in endofclass()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | main.c | 116 int npkgs = 0; /* the number of packages yet to be installed */ variable 337 npkgs = 0; in main() 1125 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) { in main() 1126 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]); in main() 1127 npkgs++; in main() 1132 echoDebug(DBG_NUM_PKGS_TO_ADD, npkgs); in main() 1142 (npkgs > 1)) { in main() 2748 echo(npkgs == 1 ? MSG_1MORE_PROC : MSG_MORE_PROC, npkgs); in continue_installation() 2750 echo(npkgs == 1 ? MSG_1MORE_INST : MSG_MORE_INST, npkgs); in continue_installation() 2796 int savenpkgs = npkgs; in unpack_and_check_packages() [all …]
|
H A D | quit.c | 58 extern int npkgs; /* the number of packages yet to be installed */ 294 if (npkgs == 1) { in quit() 296 } else if (npkgs) { in quit() 297 echo(MSG_N_PKGS_NOT_PROCESSED, npkgs); in quit()
|
H A D | check.c | 50 extern int npkgs; /* the number of packages yet to be installed */ 278 int savenpkgs = npkgs; in preinstall_verify() 472 npkgs = savenpkgs; in preinstall_verify()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | quit.c | 53 extern int npkgs; /* the number of packages yet to be installed */ 260 if (npkgs == 1) { in quit() 262 } else if (npkgs) { in quit() 263 echo(MSG_N_PKGS_NOT_PROCESSED, npkgs); in quit()
|
H A D | main.c | 95 int npkgs = 0; /* the number of packages yet to be installed */ variable 742 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) { in main() 743 pkgLgth = strlen(pkglist[npkgs]); in main() 747 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]); in main() 748 npkgs++; in main() 753 echoDebug(DBG_NUM_PKGS_TO_REMOVE, npkgs, longestPkg); in main() 1885 int savenpkgs = npkgs; in remove_packages_in_global_with_zones() 2078 npkgs--; in remove_packages_in_global_with_zones() 2090 npkgs = savenpkgs; in remove_packages_in_global_with_zones() 2111 if (shall_we_continue(pkginst, npkgs) == B_FALSE) { in remove_packages_in_global_with_zones() [all …]
|
H A D | check.c | 50 extern int npkgs; /* the number of packages yet to be installed */ 192 int savenpkgs = npkgs; in preremove_verify() 360 npkgs = savenpkgs; in preremove_verify()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgobjmap.c | 579 short npkgs = ept2->npkgs; in dup_merg() local 588 ept2->npkgs = npkgs; in dup_merg() 641 ept2->npkgs = ept1->npkgs; in ckdup() 661 short npkgs = old->npkgs; in repl_cfent() local 671 old->npkgs = npkgs; in repl_cfent()
|
H A D | eptstat.c | 107 entry->npkgs--; in eptstat() 112 entry->npkgs++; in eptstat() 123 if (entry->npkgs == 1) { in eptstat()
|
H A D | pkgops.c | 1025 int npkgs; in pkgLocateHighestInst() local 1081 for (npkgs = 0; ; npkgs++) { in pkgLocateHighestInst() 1114 echoDebug(DBG_PKGOPS_LOCHIGH_INSTANCE, npkgs, in pkgLocateHighestInst() 1133 echoDebug(DBG_PKGOPS_LOCHIGH_RETURN, npkgs, r_pkgInst, r_path); in pkgLocateHighestInst()
|
H A D | procmap.c | 398 ept2->npkgs = ept1->npkgs; in ckdup()
|
H A D | pkgdbmerg.c | 590 el_ent->cf_ent.npkgs = 1; in do_new_ent()
|
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 499 int npkgs = new_proto->proto_algs_npkgs; in build_list() local 503 (npkgs + 1) * sizeof (ipsecalgs_pkg_t)); in build_list() 507 new_proto->proto_algs_pkgs[npkgs].alg_num = in build_list() 509 new_proto->proto_algs_pkgs[npkgs].pkg_name = in build_list() 511 if (new_proto->proto_algs_pkgs[npkgs].pkg_name in build_list() 515 new_proto->proto_algs_npkgs = npkgs + 1; in build_list()
|
/illumos-gate/usr/src/head/ |
H A D | pkgstrct.h | 86 short npkgs; member
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 182 int part, nparts, npkgs, objects; in main() local 621 npkgs = 0; in main() 623 npkgs++; in main() 627 if (pkgdev.mount && npkgs) { in main()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | srchcfile.c | 161 ept->npkgs = 0; in srchcfile() 427 ept->npkgs++; in srchcfile()
|
H A D | gpkgmap.c | 160 ept->npkgs = 0; in gpkgmap() 662 ept->npkgs = 0; in gpkgmapvfp()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | delmap.c | 104 if (ept->npkgs > 0) { in delmap()
|
H A D | main.c | 1238 if (ept->npkgs > 1) { in rmclass()
|
/illumos-gate/usr/src/cmd/svr4pkg/installf/ |
H A D | dofinal.c | 146 if (entry->cf_ent.npkgs) { in check_db_entry()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/ |
H A D | pkginfo.c | 661 if (entry.npkgs > 1) in rdcontents()
|