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);
57 * already installed. If there are none (npkgs == 0), it just returns the
63 getinst(int *updatingExisting, struct pkginfo *info, int npkgs, argument
81 if (npkgs == 0) {
112 for (i = 0; i < npkgs; i++) {
139 if (npkgs == 1) {
164 if (maxinst <= npkgs) {
191 inst = prompt(info, npkgs);
230 prompt(struct pkginfo *info, int npkgs) argument
240 if (maxinst > npkgs) {
[all...]
H A Dpkginstall.h94 int npkgs, boolean_t a_preinstallCheck));
H A Dmain.c261 int npkgs; local
323 /* reset npkgs (used as pkg remaining count in quit.c) */
325 npkgs = 0;
1336 if (pkginfo(&prvinfo[npkgs], pkgwild, NULL, NULL)) {
1344 if ((++npkgs % MALSIZ) == 0) {
1346 (npkgs+MALSIZ) * sizeof (struct pkginfo));
1357 * already installed. If there are none (npkgs == 0), getinst() just
1364 pkginst = getinst(&update, prvinfo, npkgs, preinstallCheck);
H A Dinstvol.c1414 if (entry.cf_ent.npkgs) {
/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) {
262 } else if (npkgs) {
263 echo(MSG_N_PKGS_NOT_PROCESSED, npkgs);
H A Dmain.c91 int npkgs = 0; /* the number of packages yet to be installed */ variable
734 * NOTE: npkgs is a global variable that is referenced by quit.c
739 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) {
740 pkgLgth = strlen(pkglist[npkgs]);
744 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]);
745 npkgs++;
750 echoDebug(DBG_NUM_PKGS_TO_REMOVE, npkgs, longestPkg);
1882 int savenpkgs = npkgs;
[all...]
H A Dcheck.c50 extern int npkgs; /* the number of packages yet to be installed */
192 int savenpkgs = npkgs;
358 /* restore "npkgs" */
360 npkgs = savenpkgs;
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dquit.c55 extern int npkgs; /* the number of packages yet to be installed */
329 if (npkgs == 1) {
331 } else if (npkgs) {
332 echo(MSG_N_PKGS_NOT_PROCESSED, npkgs);
H A Dmain.c115 int npkgs = 0; /* the number of packages yet to be installed */ variable
349 /* reset npkgs (used as pkg remaining count in quit.c) */
351 npkgs = 0;
1355 * NOTE: npkgs is a global variable that is referenced by quit.c
1360 for (npkgs = 0; pkglist[npkgs] != (char *)NULL; /* void */) {
1361 echoDebug(DBG_PKG_SELECTED, npkgs, pkglist[npkgs]);
1362 npkgs++;
1367 echoDebug(DBG_NUM_PKGS_TO_ADD, npkgs);
[all...]
H A Dcheck.c50 extern int npkgs; /* the number of packages yet to be installed */
278 int savenpkgs = npkgs;
470 /* restore "npkgs" */
472 npkgs = savenpkgs;
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Deptstat.c107 entry->npkgs--;
112 entry->npkgs++;
123 if (entry->npkgs == 1) {
H A Dpkgobjmap.c579 short npkgs = ept2->npkgs; local
588 ept2->npkgs = npkgs;
641 ept2->npkgs = ept1->npkgs;
655 * path, npkgs, pinfo
661 short npkgs = old->npkgs; local
671 old->npkgs
[all...]
H A Dprocmap.c398 ept2->npkgs = ept1->npkgs;
H A Dpkgops.c1025 int npkgs; local
1081 for (npkgs = 0; ; npkgs++) {
1114 echoDebug(DBG_PKGOPS_LOCHIGH_INSTANCE, npkgs,
1133 echoDebug(DBG_PKGOPS_LOCHIGH_RETURN, npkgs, r_pkgInst, r_path);
H A Dpkgdbmerg.c592 el_ent->cf_ent.npkgs = 1;
/illumos-gate/usr/src/head/
H A Dpkgstrct.h88 short npkgs; member in struct:cfent
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Ddelmap.c104 if (ept->npkgs > 0) {
H A Dmain.c1243 if (ept->npkgs > 1) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Dsrchcfile.c161 ept->npkgs = 0;
427 ept->npkgs++;
H A Dgpkgmap.c154 ept->npkgs = 0;
657 ept->npkgs = 0;
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Ddofinal.c146 if (entry->cf_ent.npkgs) {
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c499 int npkgs = new_proto->proto_algs_npkgs; local
503 (npkgs + 1) * sizeof (ipsecalgs_pkg_t));
507 new_proto->proto_algs_pkgs[npkgs].alg_num =
509 new_proto->proto_algs_pkgs[npkgs].pkg_name =
511 if (new_proto->proto_algs_pkgs[npkgs].pkg_name
515 new_proto->proto_algs_npkgs = npkgs + 1;
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c182 int part, nparts, npkgs, objects; local
621 npkgs = 0;
623 npkgs++;
627 if (pkgdev.mount && npkgs) {
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c658 if (entry.npkgs > 1)

Completed in 125 milliseconds