Home
last modified time | relevance | path

Searched refs:pfmri (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c223 char *pfmri; member
242 if (wdp->pfmri == NULL) { in topo_add_disk()
247 if (nvlist_lookup_uint64(g_topo2diskmon, wdp->pfmri, &ptr) != 0) { in topo_add_disk()
249 wdp->pfmri, node); in topo_add_disk()
250 dstrfree(wdp->pfmri); in topo_add_disk()
255 dstrfree(wdp->pfmri); in topo_add_disk()
256 wdp->pfmri = NULL; in topo_add_disk()
516 wdp->pfmri = cstr; in topo_add_bay()
720 wdp->pfmri = cstr; in topo_add_bay()
757 wd.pfmri = NULL; in update_configuration_from_topo()
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_amd.c369 nvlist_t *fmri, *pfmri = NULL; in amd_rank_create() local
383 if (topo_node_resource(pnode, &pfmri, &err) < 0) { in amd_rank_create()
391 nvlist_free(pfmri); in amd_rank_create()
422 (void) topo_node_fru_set(ranknode, pfmri, 0, &err); in amd_rank_create()
454 nvlist_free(pfmri); in amd_rank_create()
644 nvlist_t *pfmri = NULL; in amd_dramchan_create() local
663 (void) topo_node_fru(pnode, &pfmri, NULL, &err); in amd_dramchan_create()
681 if (pfmri) in amd_dramchan_create()
682 (void) topo_node_fru_set(chnode, pfmri, 0, &err); in amd_dramchan_create()
691 if (pfmri) in amd_dramchan_create()
[all …]
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_node.c539 nvlist_t *pfmri, *fnvl; in topo_node_facbind() local
613 if (topo_node_resource(pnode, &pfmri, &err) < 0) { in topo_node_facbind()
619 if (nvlist_add_nvlist(pfmri, FM_FMRI_FACILITY, fnvl) != 0) { in topo_node_facbind()
621 nvlist_free(pfmri); in topo_node_facbind()
630 TOPO_PROP_IMMUTABLE, pfmri, &err) < 0) { in topo_node_facbind()
631 nvlist_free(pfmri); in topo_node_facbind()
636 nvlist_free(pfmri); in topo_node_facbind()
H A Dtopo_xml.c519 nvlist_t *pfmri, tnode_t *ptn, const char *gnm, const char *pnm, in prop_create() argument
535 e = nvlist_lookup_int32(pfmri, INV_PVAL, &i32); in prop_create()
538 e = nvlist_lookup_uint32(pfmri, INV_PVAL, &ui32); in prop_create()
541 e = nvlist_lookup_int64(pfmri, INV_PVAL, &i64); in prop_create()
544 e = nvlist_lookup_uint64(pfmri, INV_PVAL, &ui64); in prop_create()
547 e = nvlist_lookup_nvlist(pfmri, INV_PVAL, &fmri); in prop_create()
550 e = nvlist_lookup_string(pfmri, INV_PVAL, &str); in prop_create()
553 e = nvlist_lookup_int32_array(pfmri, INV_PVAL, &i32arr, &nelem); in prop_create()
556 e = nvlist_lookup_uint32_array(pfmri, INV_PVAL, &ui32arr, in prop_create()
560 e = nvlist_lookup_int64_array(pfmri, INV_PVAL, &i64arr, in prop_create()
[all …]
H A Dtopo_mod.c295 nvlist_t *pfmri = NULL, *fmri = NULL, *args = NULL; in topo_mod_hcfmri() local
312 if (topo_node_resource(pnode, &pfmri, &err) < 0) { in topo_mod_hcfmri()
318 pfmri) != 0) { in topo_mod_hcfmri()
319 nvlist_free(pfmri); in topo_mod_hcfmri()
323 nvlist_free(pfmri); in topo_mod_hcfmri()
H A Dhc.c316 nvlist_t *pfmri = NULL; in hc_enum() local
339 (void) topo_node_resource(pnode, &pfmri, &err); in hc_enum()
341 nvl = hc_fmri_create(mod, pfmri, FM_HC_SCHEME_VERSION, name, min, in hc_enum()
343 nvlist_free(pfmri); /* callee ignores NULLs */ in hc_enum()
1120 hc_fmri_create(topo_mod_t *mod, nvlist_t *pfmri, int version, const char *name, in hc_fmri_create() argument
1147 if (pfmri != NULL) { in hc_fmri_create()
1148 if (nvlist_lookup_nvlist_array(pfmri, FM_FMRI_HC_LIST, in hc_fmri_create()
1195 nvlist_t *args, *pfmri = NULL; in hc_fmri_create_meth() local
1212 pfmri = NULL; in hc_fmri_create_meth()
1223 &pfmri); in hc_fmri_create_meth()
[all …]