Lines Matching refs:pname
85 char *pname = nvpair_name(nvp);
92 topo_prop_set_string(node, pgname, pname,
102 topo_prop_set_uint32(node, pgname, pname,
112 topo_prop_set_uint64(node, pgname, pname,
123 nelem > 0 && topo_prop_set_uint32_array(node, pgname, pname,
133 topo_prop_set_string(node, pgname, pname,
142 nvpair_type(nvp), pname, pgname, topo_node_name(node));
150 * Lookup string data named pname in the given nvlist and add that
151 * as property named pname in the given property group pgname on the indicated
157 const char *pgname, const char *pname, const char **pvalp)
162 if (nvlist_lookup_string(nvl, pname, &pval) != 0)
165 if (topo_prop_set_string(node, pgname, pname,
172 pname);
178 * Lookup an int32 item named pname in the given nvlist and add that
179 * as property named pname in the given property group pgname on the indicated
184 const char *pgname, const char *pname, int32_t *pvalp)
189 if ((nvlist_lookup_int32(nvl, pname, &pval)) != 0)
192 if (topo_prop_set_int32(node, pgname, pname,
199 pname);
213 const char *pname;
218 while ((pname = va_arg(ap, const char *)) != NULL) {
219 if (add_nvlist_longprop(mod, node, nvl, pgname, pname,