Searched refs:nvl_array (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/fm/libfmd_agent/i386/ |
H A D | fmd_agent_i386.c | 51 nvlist_t *nvl, **nvl_array, **cpus; in fmd_agent_physcpu_info_v1() local 61 if ((nvl_array = umem_alloc(sizeof (nvlist_t *) * n, UMEM_DEFAULT)) in fmd_agent_physcpu_info_v1() 65 if ((err = nvlist_dup(cpus[i], nvl_array + i, 0)) != 0) { in fmd_agent_physcpu_info_v1() 67 nvlist_free(nvl_array[--i]); in fmd_agent_physcpu_info_v1() 68 umem_free(nvl_array, sizeof (nvlist_t *) * n); in fmd_agent_physcpu_info_v1() 74 *cpusp = nvl_array; in fmd_agent_physcpu_info_v1()
|
/titanic_41/usr/src/cmd/fm/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 291 nvlist_t **nvl_array; in access_fmri() local 303 (void) nvpair_value_nvlist_array(nvp, &nvl_array, &nelem); in access_fmri() 312 if ((nvlist_lookup_nvpair(nvl_array[i], "hc-name", &nvp2)) in access_fmri() 330 if ((*err = nvlist_lookup_nvpair(nvl_array[i], "hc-id", &nvp2)) in access_fmri() 357 if ((*err = nvlist_remove_nvpair(nvl_array[i], nvp2)) in access_fmri() 360 if ((*err = nvlist_add_string(nvl_array[i], in access_fmri()
|