Home
last modified time | relevance | path

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

/titanic_50/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 Dpkginstall.h94 int npkgs, boolean_t a_preinstallCheck));
H A Dmain.c261 int npkgs; in main() local
325 npkgs = 0; in main()
1336 if (pkginfo(&prvinfo[npkgs], pkgwild, NULL, NULL)) { in main()
1344 if ((++npkgs % MALSIZ) == 0) { in main()
1346 (npkgs+MALSIZ) * sizeof (struct pkginfo)); in main()
1364 pkginst = getinst(&update, prvinfo, npkgs, preinstallCheck); in main()
H A Dinstvol.c1414 if (entry.cf_ent.npkgs) { in endofclass()
/titanic_50/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.c91 int npkgs = 0; /* the number of packages yet to be installed */ variable
739 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) { in main()
740 pkgLgth = strlen(pkglist[npkgs]); in main()
744 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]); in main()
745 npkgs++; in main()
750 echoDebug(DBG_NUM_PKGS_TO_REMOVE, npkgs, longestPkg); in main()
1882 int savenpkgs = npkgs; in remove_packages_in_global_with_zones()
2075 npkgs--; in remove_packages_in_global_with_zones()
2087 npkgs = savenpkgs; in remove_packages_in_global_with_zones()
2108 if (shall_we_continue(pkginst, npkgs) == B_FALSE) { in remove_packages_in_global_with_zones()
[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()
/titanic_50/usr/src/cmd/svr4pkg/pkgadd/
H A Dquit.c55 extern int npkgs; /* the number of packages yet to be installed */
329 if (npkgs == 1) { in quit()
331 } else if (npkgs) { in quit()
332 echo(MSG_N_PKGS_NOT_PROCESSED, npkgs); in quit()
H A Dmain.c115 int npkgs = 0; /* the number of packages yet to be installed */ variable
351 npkgs = 0; in main()
1360 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) { in main()
1361 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]); in main()
1362 npkgs++; in main()
1367 echoDebug(DBG_NUM_PKGS_TO_ADD, npkgs); in main()
1377 (npkgs > 1)) { in main()
3006 echo(npkgs == 1 ? MSG_1MORE_PROC : MSG_MORE_PROC, npkgs); in continue_installation()
3008 echo(npkgs == 1 ? MSG_1MORE_INST : MSG_MORE_INST, npkgs); in continue_installation()
3054 int savenpkgs = npkgs; in unpack_and_check_packages()
[all …]
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()
/titanic_50/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.c592 el_ent->cf_ent.npkgs = 1; in do_new_ent()
/titanic_50/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()
/titanic_50/usr/src/head/
H A Dpkgstrct.h88 short npkgs; member
/titanic_50/usr/src/lib/libpkg/common/
H A Dsrchcfile.c161 ept->npkgs = 0; in srchcfile()
427 ept->npkgs++; in srchcfile()
H A Dgpkgmap.c154 ept->npkgs = 0; in gpkgmap()
657 ept->npkgs = 0; in gpkgmapvfp()
/titanic_50/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()
/titanic_50/usr/src/cmd/svr4pkg/pkgremove/
H A Ddelmap.c104 if (ept->npkgs > 0) { in delmap()
H A Dmain.c1243 if (ept->npkgs > 1) { in rmclass()
/titanic_50/usr/src/cmd/svr4pkg/installf/
H A Ddofinal.c146 if (entry->cf_ent.npkgs) { in check_db_entry()
/titanic_50/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c658 if (entry.npkgs > 1) in rdcontents()