Searched refs:hcelem (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_cpu_arch.c | 214 nvlist_t *fru, *hcelem; local 221 if (nvlist_alloc(&hcelem, NV_UNIQUE_NAME, 0) != 0) 224 if (nvlist_add_string(hcelem, FM_FMRI_HC_NAME, 226 nvlist_add_string(hcelem, FM_FMRI_HC_ID, comp) != 0) { 227 nvlist_free(hcelem); 232 nvlist_free(hcelem); 245 nvlist_add_nvlist_array(fru, FM_FMRI_HC_LIST, &hcelem, 1) != 0) { 246 nvlist_free(hcelem); 251 nvlist_free(hcelem);
|
H A D | cmd_dp.c | 148 nvlist_t *asru, *hcelem[DP_MAX_ASRUS]; local 157 if (nvlist_alloc(&hcelem[i], NV_UNIQUE_NAME, 0) != 0) 160 err = nvlist_add_string(hcelem[i], FM_FMRI_HC_NAME, 162 err |= nvlist_add_string(hcelem[i], FM_FMRI_HC_ID, buf); 165 nvlist_free(hcelem[j]); 173 nvlist_free(hcelem[j]); 180 err |= nvlist_add_nvlist_array(asru, FM_FMRI_HC_LIST, &hcelem[0], 184 nvlist_free(hcelem[j]); 191 nvlist_free(hcelem[j]);
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | scosmb.c | 522 nvlist_t *erp, *detector, *hcelem; local 607 hcelem = fm_nvlist_create(NULL); 609 (void) nvlist_add_string(hcelem, FM_FMRI_HC_NAME, FM_FMRI_LEGACY_HC); 610 (void) nvlist_add_string(hcelem, FM_FMRI_HC_ID, buf); 616 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1);
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sgsbbc_mailbox.c | 2456 nvlist_t *erp, *detector, *hcelem; local 2534 hcelem = fm_nvlist_create(NULL); 2536 (void) nvlist_add_string(hcelem, FM_FMRI_HC_NAME, FM_FMRI_LEGACY_HC); 2537 (void) nvlist_add_string(hcelem, FM_FMRI_HC_ID, buf); 2543 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1);
|
Completed in 51 milliseconds