Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c254 nvpair_t *pv_nvp; in print_prop_nameval() local
258 if ((pv_nvp = nvlist_next_nvpair(nvl, NULL)) == NULL) in print_prop_nameval()
262 if ((pv_nvp = nvlist_next_nvpair(nvl, NULL)) == NULL || in print_prop_nameval()
263 nvpair_name(pv_nvp) == NULL || in print_prop_nameval()
264 strcmp(TOPO_PROP_VAL_NAME, nvpair_name(pv_nvp)) != 0) { in print_prop_nameval()
269 (void) nvpair_value_string(pv_nvp, &propn); in print_prop_nameval()
272 if ((pv_nvp = nvlist_next_nvpair(nvl, pv_nvp)) == NULL || in print_prop_nameval()
273 nvpair_name(pv_nvp) == NULL || in print_prop_nameval()
274 strcmp(nvpair_name(pv_nvp), TOPO_PROP_VAL_TYPE) != 0 || in print_prop_nameval()
275 nvpair_type(pv_nvp) != DATA_TYPE_UINT32) { in print_prop_nameval()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c434 nvpair_t *pv_nvp) in add_prop_val() argument
455 switch (nvpair_type(pv_nvp)) { in add_prop_val()
460 (void) nvpair_value_string_array(pv_nvp, &propvv, &nelem); in add_prop_val()
473 (void) nvpair_value_string(pv_nvp, &propv); in add_prop_val()
481 (void) nvpair_value_nvlist(pv_nvp, &fmri); in add_prop_val()
495 (void) nvpair_value_uint64(pv_nvp, &ui64); in add_prop_val()
504 (void) nvpair_value_boolean_value(pv_nvp, &bool); in add_prop_val()
513 (void) nvpair_value_int32(pv_nvp, &i32); in add_prop_val()
523 (void) nvpair_value_int64(pv_nvp, &i64); in add_prop_val()
532 (void) nvpair_value_uint32(pv_nvp, &ui32); in add_prop_val()
[all …]