/titanic_44/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 95 static void sortsize(struct data *f, struct data **sf, unsigned int eptnum); 98 splpkgmap(struct cfent **eptlist, unsigned int eptnum, char *order[], in splpkgmap() argument 112 f = (struct data *)calloc(eptnum, sizeof (struct data)); in splpkgmap() 118 sf = (struct data **)calloc(eptnum, sizeof (struct data *)); in splpkgmap() 154 if ((*pilimit > 0) && (eptnum+1 > *pilimit)) { in splpkgmap() 158 for (i = 0; i < eptnum; i++) { in splpkgmap() 188 for (i = 0; i < eptnum; i++) { in splpkgmap() 225 btemp += nblk(eptnum * EFACTOR, bsize, frsize); in splpkgmap() 229 for (j = 0; j < eptnum; j++) { in splpkgmap() 257 sortsize(f, sf, eptnum); in splpkgmap() [all …]
|
H A D | main.c | 65 extern int splpkgmap(struct cfent **eptlist, unsigned int eptnum, 166 static void outvol(struct cfent **eptlist, unsigned int eptnum, int part, 198 unsigned int eptnum, i; in main() local 408 eptnum = i; in main() 576 nparts = splpkgmap(eptlist, eptnum, (char **)order, bsize, frsize, in main() 671 outvol(eptlist, eptnum, part, nparts); in main() 704 outvol(struct cfent **eptlist, unsigned int eptnum, int part, int nparts) in outvol() argument 740 for (i = 0; i < eptnum; i++) { in outvol()
|
/titanic_44/usr/src/cmd/svr4pkg/installf/ |
H A D | removef.c | 57 eptnum = 0; in removef() 111 extlist[eptnum++] = new; in removef() 112 if (eptnum >= max_eptnum) { in removef() 123 extlist[eptnum] = (struct cfextra *)NULL; in removef() 126 (unsigned)eptnum, sizeof (struct cfextra *), cfentcmp); in removef()
|
H A D | installf.c | 79 eptnum = 1; in installf() 89 eptnum = 0; in installf() 113 extlist[eptnum] = new; in installf() 114 if ((++eptnum % MALSIZ) == 0) { in installf() 116 (sizeof (struct cfextra *) * (eptnum+MALSIZ))); in installf() 123 extlist[eptnum] = (struct cfextra *)NULL; in installf() 124 qsort((char *)extlist, (unsigned)eptnum, sizeof (struct cfextra *), in installf()
|
H A D | installf.h | 42 extern int eptnum;
|
H A D | main.c | 118 int eptnum; variable
|
/titanic_44/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | delmap.c | 56 extern int eptnum; 91 eptnum = 0; in delmap() 137 eptlist[eptnum] = ept; in delmap() 144 if ((++eptnum % EPTMALLOC) == 0) { in delmap() 146 (eptnum+EPTMALLOC)*sizeof (struct cfent *)); in delmap() 154 eptlist[eptnum] = (struct cfent *)NULL; in delmap()
|
H A D | main.c | 55 extern int eptnum; 1132 for (i = 0; i < eptnum; i++) { in rmclass() 1172 i = eptnum; in rmclass()
|
/titanic_44/usr/src/cmd/svr4pkg/libinst/ |
H A D | procmap.c | 55 static int eptnum; variable 72 errflg = nparts = eptnum = 0; in procinit() 255 (void) ar_delete(space, eptnum); in procmap() 259 eptnum++; in procmap() 270 for (i = 0; i < eptnum; /* void */) { in procmap() 337 eptnum--; in sortentry()
|
H A D | pkgobjmap.c | 54 int eptnum; variable 76 errflg = nparts = eptnum = 0; in pkgobjinit() 269 eptnum++; in seed_pkgobjmap() 346 (void) ar_delete(xspace, eptnum); in pkgobjmap() 350 eptnum++; in pkgobjmap() 355 if (eptnum == 0) { in pkgobjmap() 368 for (i = 0; i < eptnum; /* void */) { in pkgobjmap() 452 eptnum--; in sortentry()
|
H A D | pkgdbmerg.c | 91 static int eptnum; variable 130 for (eptnum = 0; (el_ent = extlist[eptnum]) != NULL; eptnum++) { in pkgdbmerg() 146 if ((eptnum > 0) && (strncmp(el_ent->cf_ent.path, in pkgdbmerg() 147 extlist[eptnum-1]->cf_ent.path, PATH_MAX) == 0)) { in pkgdbmerg() 148 memcpy(extlist[eptnum], extlist[eptnum-1], in pkgdbmerg() 256 for (i = eptnum + 1; extlist[i]; i++) { in pkgdbmerg()
|