Home
last modified time | relevance | path

Searched refs:pgnvl (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c1485 nvlist_t *nvl, *pgnvl, *pvnvl; in topo_prop_getprops() local
1497 if (topo_hdl_nvalloc(thp, &pgnvl, 0) != 0) in topo_prop_getprops()
1500 if (nvlist_add_string(pgnvl, TOPO_PROP_GROUP_NAME, in topo_prop_getprops()
1502 nvlist_add_string(pgnvl, TOPO_PROP_GROUP_NSTAB, in topo_prop_getprops()
1504 nvlist_add_string(pgnvl, TOPO_PROP_GROUP_DSTAB, in topo_prop_getprops()
1506 nvlist_add_int32(pgnvl, TOPO_PROP_GROUP_VERSION, in topo_prop_getprops()
1516 nvlist_free(pgnvl); in topo_prop_getprops()
1519 if ((ret = nvlist_add_nvlist(pgnvl, TOPO_PROP_VAL, in topo_prop_getprops()
1521 nvlist_free(pgnvl); in topo_prop_getprops()
1528 if ((ret = nvlist_add_nvlist(nvl, TOPO_PROP_GROUP, pgnvl)) in topo_prop_getprops()
[all …]
H A Dtopo_xml.c1029 nvlist_t *pgnvl = NULL; in pgroup_record() local
1062 if (topo_mod_nvalloc(mp, &pgnvl, NV_UNIQUE_NAME) < 0) { in pgroup_record()
1069 e = nvlist_add_string(pgnvl, INV_PGRP_NAME, (char *)name); in pgroup_record()
1070 e |= nvlist_add_uint32(pgnvl, INV_PGRP_NMSTAB, nmstab); in pgroup_record()
1071 e |= nvlist_add_uint32(pgnvl, INV_PGRP_DSTAB, dstab); in pgroup_record()
1072 e |= nvlist_add_uint32(pgnvl, INV_PGRP_VER, ver); in pgroup_record()
1073 e |= nvlist_add_uint32(pgnvl, INV_PGRP_NPROP, pcnt); in pgroup_record()
1079 nvlist_free(pgnvl); in pgroup_record()
1101 e |= nvlist_add_nvlist_array(pgnvl, INV_PGRP_ALLPROPS, apl, in pgroup_record()
1107 nvlist_free(pgnvl); in pgroup_record()
[all …]