/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | pkgvolume.c | 47 pkgvolume(struct pkgdev *devp, char *pkg, int part, int nparts) argument 83 if (n = pkgmount(devp, pkg, part, nparts, 1)) 85 (void) sprintf(path, "%s/%s", devp->dirname, pkg);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgmount.c | 52 pkgmount(struct pkgdev *devp, char *pkg, int part, int nparts, int getvolflg) argument 64 if (pkg) { 66 pkg_gt(LABEL0), part, nparts, pkg); 71 } else if (pkg) 72 (void) snprintf(prompt, sizeof (prompt), pkg_gt(LABEL2), pkg);
|
H A D | gpkglist.c | 51 extern int pkgnmchk(register char *pkg, register char *spec, 54 extern char *fpkginst(char *pkg, ...); 113 gpkglist(char *dir, char **pkg, char **catg) argument 138 if (pkg[0] == NULL && !cont_in_list) { 194 * pkg array contains the instance identifiers to 205 if (pkg[0] == NULL) { /* It's just a continuation. */ 208 } else if (pkgnmchk(pkg[i], "all", 1)) { 211 inst = fpkginst(pkg[i], NULL, NULL); 213 progerr(pkg_gt(ERR_NOPKG), pkg[i]); local 229 } while (inst = fpkginst(pkg[ 232 progerr(pkg_gt(ERR_NOPKG), pkg[i]); local [all...] |
H A D | dstream.c | 52 extern int pkgnmchk(register char *pkg, register char *spec, 81 char pkg[NON_ABI_NAMELNGTH]; member in struct:dstoc 125 if (strcmp(list[j], toc_pt->pkg) == 0) { 292 ds_init(char *device, char **pkg, char *norewind) argument 451 if (sscanf(line, "%s %d %d %[ 0-9]", toc_pt->pkg, 485 for (i = 0; pkg[i]; i++) { 486 if (strcmp(pkg[i], "all") == 0) 492 (void) strlcat(cmd, pkg[i], CMDSIZ); 519 ds_findpkg(char *device, char *pkg) argument 525 pkglist[0] = pkg; 550 logerr(pkg_gt(MSG_NOPKG), pkg); local [all...] |
H A D | pkgtrans.c | 69 extern char *fpkginst(char *pkg, ...); 117 char **pkg, PKCS7 *); 242 _pkgtrans(char *device1, char *device2, char **pkg, int options, argument 472 if (ds_init(ids_name, pkg, srcdev.norewind)) { 497 xpkg = pkg = gpkglist(src, pkg, NULL); 498 if (!pkg) { 505 for (nxpkg = 0; pkg[nxpkg]; /* void */) { 510 ds_order(pkg); /* order requests */ 530 if ((hdr = genheader(src, pkg)) 633 pkgtrans(char *device1, char *device2, char **pkg, int options, keystore_handle_t keystore, char *keystore_alias) argument 771 genheader(char *src, char **pkg) argument 830 logerr(pkg_gt(MSG_NOPKGMAP), pkg[i]); local 925 wdsheader(struct dm_buf *hdr, char *src, char *device, char **pkg, PKCS7 *sig) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | eptstat.c | 69 eptstat(struct cfent *entry, char *pkg, char c) argument 84 if (strcmp(pkg, pinfo->pkg) == 0) { 131 (void) strncpy(me->pkg, pkg, PKGSIZ);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgnmchk.c | 55 valname(char *pkg, int wild) argument 61 if (wild && (strcmp(pkg, "all") == 0)) 67 if ((strncmp(pkg, rsvrd[i], n) == 0) && 68 (!pkg[n] || strchr(NMBRK, pkg[n]))) 77 if (pt = strpbrk(pkg, NMBRK)) { 98 if (!isalpha((unsigned char)*pkg)) 100 while (*pkg && !strchr(NMBRK, *pkg)) { 101 if (!isalnum((unsigned char)*pkg) 118 pkgnmchk(char *pkg, char *spec, int presvr4flg) argument [all...] |
H A D | pkginfo.c | 69 * If the "pkg" argument is a wildcard specification, the next found 71 * If the "pkg" argument is a NULL pointer, the structure pointed to 287 fpkginst(char *pkg, ...) argument 295 va_start(ap, pkg); 297 if (pkg == NULL) { 322 if (pkgnmchk(dp->d_name, pkg, 0))
|
H A D | pkgparam.c | 318 pkgparam(char *pkg, char *param) argument 327 if (!pkg) { 344 (void) pkginfofind(line, pkgdir, pkg);
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 78 pkg_list *pkg; local 80 pkg = malloc(sizeof (pkg_list)); 81 bzero(pkg, sizeof (pkg_list)); 82 (void) strcpy(pkg->pkg_name, pkgname); 86 return (pkg); 91 tmp->next = pkg;
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_dimmcfg.c | 348 uint32_t pkg, int r4, int s4, mcdcfg_rslt_t *rsltp) 382 if (X86_SOCKET_MATCH(pkg, csm->csm_pkg) && 412 mcdcfg_csname(uint32_t pkg, const mcdcfg_csl_t *cslp, char *buf, int buflen) argument 416 switch (pkg) { 347 mcdcfg_lookup(uint32_t rev, int mod64mux, int accwidth, int basenum, uint32_t pkg, int r4, int s4, mcdcfg_rslt_t *rsltp) argument
|
/illumos-gate/usr/src/head/ |
H A D | pkgstrct.h | 73 char pkg[PKGSIZ+1]; member in struct:pinfo
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | checkmap.c | 53 extern char *basedir, *pathlist[], *ppathlist[], **pkg, **environ; 224 if (selpkg(pinfo->pkg)) { 311 "%s/var/sadm/pkg/%s/pkginfo", 312 root, pkg[i]); 316 "/var/sadm/pkg/%s/pkginfo", 317 pkg[i]); 321 pkg[i]); local 324 pkg[i]); local 334 "%s/var/sadm/pkg/%s/pkginfo", 335 root, pkg[ 344 pkg[i]); local 347 pkg[i]); local [all...] |
H A D | main.c | 95 char **pkg = NULL; variable 361 pkg = gpkglist(pkgdir, all_pkgs, category); 362 if (pkg == NULL) { 366 for (pkgcnt = 0; pkg[pkgcnt] != NULL; pkgcnt++); 371 pkg = &argv[optind]; 408 logerr(gettext(WRN_F_SPOOL), *pkg); local 415 if (n = pkgtrans(device, spooldir, pkg, PT_SILENT, 419 pkg = gpkglist(spooldir, all_pkgs, category); 421 pkg = gpkglist(spooldir, all_pkgs, NULL); 425 pkg 454 gettext(MSG_CHK_DIR), pkg[n], device); local 457 gettext(MSG_CHK_STRM), pkg[n], device); local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/ |
H A D | pkginfo.c | 64 "%s [-q] [-pi] [-x|l] [options] [pkg ...]\n" \ 65 "%s -d device [-q] [-x|l] [options] [pkg ...]\n" \ 113 static char **pkg = NULL; variable 275 pkg = &argv[optind]; 278 if (pkg[0] && strcmp(pkg[0], "all") == NULL) { 280 pkg[0] = NULL; 292 * the pkginfo file in the spooled pkg. We have a spooled pkg if 306 * the pkginfo file in the spooled pkg s 412 logerr(gettext(ERR_NOPINFO), pkg[i]); local 414 logerr(gettext(ERR_NOINFO), pkg[i]); local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 223 ACPI_OBJECT *pkg, *elements; local 253 pkg = abuf.Pointer; 255 if (((objtype != CSD_OBJ) && (pkg->Package.Count != 1)) || 256 ((objtype == CSD_OBJ) && (pkg->Package.Count != 1) && 257 (pkg->Package.Count != 2))) { 260 pkg->Package.Count, handle->cs_id); 268 if (pkg->Package.Elements[0].Type != ACPI_TYPE_PACKAGE || 269 pkg->Package.Elements[0].Package.Count != number) { 275 elements = pkg->Package.Elements[0].Package.Elements; 747 ACPI_OBJECT *pkg; local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | pkgfs.c | 51 "pkg", 163 struct package *pkg; local 178 error = new_package(fd, &pkg); 184 if (pkg == NULL) 187 pkg->pkg_chain = package; 188 package = pkg; 218 * at the first filename that has the .pkg extension. This is 420 get_byte(struct package *pkg, off_t *op) argument 424 if (pkg->pkg_zs.avail_in == 0) { 425 c = read(pkg 440 get_zipped(struct package *pkg, void *buf, size_t bufsz) argument 472 struct package *pkg; local 616 struct package *pkg; local 705 scan_tarfile(struct package *pkg, struct tarfile *last) argument [all...] |
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 3639 * Add the pkg to the sw inventory on the handle. 7185 * Get the full tree of pkg metadata in a set of nested AVL trees. 7196 zone_pkg_entry_t *pkg; local 7223 if ((pkg = (zone_pkg_entry_t *) 7229 if ((pkg->zpe_name = strdup(name)) == NULL) { 7230 free(pkg); 7235 if ((pkg->zpe_vers = strdup(version)) == NULL) { 7236 free(pkg->zpe_name); 7237 free(pkg); 7242 uu_avl_node_init(pkg, [all...] |