Home
last modified time | relevance | path

Searched refs:npkgs (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dgetinst.c52 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 Dmain.c265 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 Dpkginstall.h98 int npkgs, boolean_t a_preinstallCheck));
H A Dinstvol.c1417 if (entry.cf_ent.npkgs) { in endofclass()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c337 npkgs = 0; in main()
1126 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]); in main()
1127 npkgs++; in main()
2854 npkgs--; in unpack_and_check_packages()
3482 npkgs--; in add_packages_in_global_with_zones()
3510 npkgs--; in add_packages_in_global_with_zones()
3557 npkgs--; in add_packages_in_global_with_zones()
3735 npkgs--; in add_packages_in_global_with_zones()
3841 npkgs--; in add_packages_in_nonglobal_zone()
3914 npkgs--; in add_packages_in_nonglobal_zone()
[all …]
H A Dquit.c58 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 Dcheck.c50 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 Dquit.c53 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 Dmain.c742 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) { in main()
747 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]); in main()
748 npkgs++; in main()
2078 npkgs--; in remove_packages_in_global_with_zones()
2090 npkgs = savenpkgs; in remove_packages_in_global_with_zones()
2143 npkgs--; in remove_packages_in_global_with_zones()
2263 npkgs--; in remove_packages_in_nonglobal_zone()
2363 npkgs--; in remove_packages_in_global_no_zones()
2456 npkgs--; in remove_packages_from_spool_directory()
2677 npkgs--; in check_packages()
[all …]
H A Dcheck.c50 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 Dpkgobjmap.c579 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 Deptstat.c107 entry->npkgs--; in eptstat()
112 entry->npkgs++; in eptstat()
123 if (entry->npkgs == 1) { in eptstat()
H A Dpkgops.c1025 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 Dprocmap.c398 ept2->npkgs = ept1->npkgs; in ckdup()
H A Dpkgdbmerg.c590 el_ent->cf_ent.npkgs = 1; in do_new_ent()
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c499 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 Dpkgstrct.h86 short npkgs; member
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c182 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 Dsrchcfile.c161 ept->npkgs = 0; in srchcfile()
427 ept->npkgs++; in srchcfile()
H A Dgpkgmap.c160 ept->npkgs = 0; in gpkgmap()
662 ept->npkgs = 0; in gpkgmapvfp()
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Ddelmap.c104 if (ept->npkgs > 0) { in delmap()
H A Dmain.c1238 if (ept->npkgs > 1) { in rmclass()
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Ddofinal.c146 if (entry->cf_ent.npkgs) { in check_db_entry()
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c661 if (entry.npkgs > 1) in rdcontents()