Home
last modified time | relevance | path

Searched refs:hcelem (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_cpu_arch.c214 nvlist_t *fru, *hcelem; in cmd_cpu_mkfru() local
221 if (nvlist_alloc(&hcelem, NV_UNIQUE_NAME, 0) != 0) in cmd_cpu_mkfru()
224 if (nvlist_add_string(hcelem, FM_FMRI_HC_NAME, in cmd_cpu_mkfru()
226 nvlist_add_string(hcelem, FM_FMRI_HC_ID, comp) != 0) { in cmd_cpu_mkfru()
227 nvlist_free(hcelem); in cmd_cpu_mkfru()
232 nvlist_free(hcelem); in cmd_cpu_mkfru()
245 nvlist_add_nvlist_array(fru, FM_FMRI_HC_LIST, &hcelem, 1) != 0) { in cmd_cpu_mkfru()
246 nvlist_free(hcelem); in cmd_cpu_mkfru()
251 nvlist_free(hcelem); in cmd_cpu_mkfru()
H A Dcmd_dp.c148 nvlist_t *asru, *hcelem[DP_MAX_ASRUS]; in cmd_dp_setasru() local
157 if (nvlist_alloc(&hcelem[i], NV_UNIQUE_NAME, 0) != 0) in cmd_dp_setasru()
160 err = nvlist_add_string(hcelem[i], FM_FMRI_HC_NAME, in cmd_dp_setasru()
162 err |= nvlist_add_string(hcelem[i], FM_FMRI_HC_ID, buf); in cmd_dp_setasru()
165 nvlist_free(hcelem[j]); in cmd_dp_setasru()
173 nvlist_free(hcelem[j]); in cmd_dp_setasru()
180 err |= nvlist_add_nvlist_array(asru, FM_FMRI_HC_LIST, &hcelem[0], in cmd_dp_setasru()
184 nvlist_free(hcelem[j]); in cmd_dp_setasru()
191 nvlist_free(hcelem[j]); in cmd_dp_setasru()
/titanic_50/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c522 nvlist_t *erp, *detector, *hcelem; in dp_trans_event() local
607 hcelem = fm_nvlist_create(NULL); in dp_trans_event()
609 (void) nvlist_add_string(hcelem, FM_FMRI_HC_NAME, FM_FMRI_LEGACY_HC); in dp_trans_event()
610 (void) nvlist_add_string(hcelem, FM_FMRI_HC_ID, buf); in dp_trans_event()
616 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1); in dp_trans_event()
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c2456 nvlist_t *erp, *detector, *hcelem; in sbbc_dp_trans_event() local
2534 hcelem = fm_nvlist_create(NULL); in sbbc_dp_trans_event()
2536 (void) nvlist_add_string(hcelem, FM_FMRI_HC_NAME, FM_FMRI_LEGACY_HC); in sbbc_dp_trans_event()
2537 (void) nvlist_add_string(hcelem, FM_FMRI_HC_ID, buf); in sbbc_dp_trans_event()
2543 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1); in sbbc_dp_trans_event()