Lines Matching defs:pkgname
134 construct_fru_fmri(topo_mod_t *mp, const char *pkgname, FILE *fp)
168 e |= nvlist_add_string(f, FM_FMRI_PKG_INST, pkgname);
196 char *pkgname = NULL;
213 pkgname = topo_mod_strdup(mp, findpkgname);
215 (void) snprintf(tmpbuf, BUFLEN, PKGINFO_CMD, pkgname);
218 out = construct_fru_fmri(mp, pkgname, pcout);
222 if (pkgname != NULL)
223 topo_mod_strfree(mp, pkgname);
256 char *pkgname = NULL, *aname, *aval;
269 * For brevity, we only include the pkgname and any authority
273 err = nvlist_lookup_string(nvl, FM_FMRI_PKG_INST, &pkgname);
274 if (err != 0 || pkgname == NULL)
295 topo_fmristr_build(&size, buf, buflen, pkgname, "/", NULL);