Home
last modified time | relevance | path

Searched refs:fnvl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/
H A Ddisk_lights.c107 nvlist_t *fmri = NULL, *fnvl; in get_facility_props() local
113 if (nvlist_lookup_nvlist(fmri, FM_FMRI_FACILITY, &fnvl) != 0) in get_facility_props()
116 if (nvlist_lookup_string(fnvl, FM_FMRI_FACILITY_NAME, &nn) != 0) in get_facility_props()
119 if (nvlist_lookup_string(fnvl, FM_FMRI_FACILITY_TYPE, &tt) != 0) in get_facility_props()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_node.c557 nvlist_t *pfmri, *fnvl; in topo_node_facbind() local
618 if (topo_mod_nvalloc(mod, &fnvl, NV_UNIQUE_NAME) < 0) { in topo_node_facbind()
623 if (nvlist_add_string(fnvl, FM_FMRI_FACILITY_NAME, name) != 0 || in topo_node_facbind()
624 nvlist_add_string(fnvl, FM_FMRI_FACILITY_TYPE, type) != 0) { in topo_node_facbind()
625 nvlist_free(fnvl); in topo_node_facbind()
632 nvlist_free(fnvl); in topo_node_facbind()
637 if (nvlist_add_nvlist(pfmri, FM_FMRI_FACILITY, fnvl) != 0) { in topo_node_facbind()
638 nvlist_free(fnvl); in topo_node_facbind()
645 nvlist_free(fnvl); in topo_node_facbind()
H A Dhc.c431 nvlist_t *fnvl; in fmri_nvl2str() local
541 if (nvlist_lookup_nvlist(nvl, FM_FMRI_FACILITY, &fnvl) == 0) { in fmri_nvl2str()
542 if (nvlist_lookup_string(fnvl, FM_FMRI_FACILITY_NAME, in fmri_nvl2str()
543 &fname) != 0 || nvlist_lookup_string(fnvl, in fmri_nvl2str()