Home
last modified time | relevance | path

Searched refs:hcl (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cpu.c59 nvlist_t **hcl; in old_topo_fault() local
71 if (nvlist_lookup_nvlist_array(rsrc, FM_FMRI_HC_LIST, &hcl, &nhcl) in old_topo_fault()
73 nvlist_lookup_string(hcl[0], FM_FMRI_HC_NAME, &name) == 0 && in old_topo_fault()
75 nvlist_lookup_string(hcl[1], FM_FMRI_HC_NAME, &name) == 0 && in old_topo_fault()
77 nvlist_lookup_string(hcl[2], FM_FMRI_HC_NAME, &name) == 0 && in old_topo_fault()
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c2799 struct hwc_class *hcl; in add_class() local
2816 hcl->class_next = hcl_head; in add_class()
2817 hcl_head = hcl; in add_class()
2833 struct hwc_class *hcl; in get_class() local
2836 for (hcl = hcl_head; hcl != NULL; hcl = hcl->class_next) { in get_class()
2861 hcl = hcl_head; in read_class_file()
2862 while (hcl != NULL) { in read_class_file()
2865 hcl1 = hcl; in read_class_file()
2866 hcl = hcl->class_next; in read_class_file()
2939 struct hwc_class *hcl; in impl_parlist_to_major() local
[all …]
H A Dfm.c1293 nvlist_t **hcl; in fm_fmri_hc_create() local
1305 if (nvlist_lookup_nvlist_array(bboard, FM_FMRI_HC_LIST, &hcl, &n) in fm_fmri_hc_create()
1312 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, in fm_fmri_hc_create()
1318 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &hcid) != 0) { in fm_fmri_hc_create()
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Ddimm_addr.c47 nvlist_t **hcl, *hcsp; in fmri2unum() local
54 nvlist_lookup_nvlist_array(nvl, FM_FMRI_HC_LIST, &hcl, &npr) != 0) in fmri2unum()
66 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, &hcnm) != 0 || in fmri2unum()
67 nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &hcid) != 0 || in fmri2unum()
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c295 nvlist_t **hcl; in fab_hc_path() local
298 if (nvlist_lookup_nvlist_array(detector, FM_FMRI_HC_LIST, &hcl, in fab_hc_path()
303 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, &name) != 0) in fab_hc_path()
305 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &id) != 0) in fab_hc_path()
314 (void) nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, &name); in fab_hc_path()
315 (void) nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &id); in fab_hc_path()
328 char *hcl; in fab_hc2dev_nvl() local
331 if (! fab_hc_path(hdl, detector, &hcl, &len)) in fab_hc2dev_nvl()
334 (void) fab_hc2dev(hdl, hcl, dev_path); in fab_hc2dev_nvl()
336 fmd_hdl_free(hdl, hcl, len); in fab_hc2dev_nvl()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c1026 if (hcl != NULL) { in hc_create_seterror()
1028 nvlist_free(hcl[i]); in hc_create_seterror()
1076 nvlist_t **hcl = NULL; in hc_fmri_create() local
1081 hcl, pelems, fmri, EMOD_VER_OLD)); in hc_fmri_create()
1084 hcl, pelems, fmri, EMOD_VER_NEW)); in hc_fmri_create()
1091 hcl, pelems, fmri, EMOD_NONCANON)); in hc_fmri_create()
1103 if (hcl == NULL) in hc_fmri_create()
1115 hcl, pelems, fmri, EMOD_FMRI_NVL)); in hc_fmri_create()
1119 hcl, pelems, fmri, EMOD_FMRI_NVL)); in hc_fmri_create()
1126 if (hcl != NULL) { in hc_fmri_create()
[all …]
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_subr.c495 nvlist_t *hcsp, **hcl; in fmri2unum() local
502 nvlist_lookup_nvlist_array(nvl, FM_FMRI_HC_LIST, &hcl, &npr) != 0) in fmri2unum()
515 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, &hcnm) != 0 || in fmri2unum()
516 nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &hcid) != 0 || in fmri2unum()
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dmem_addr.c701 nvlist_t **hcl, *hcsp; in nhm_unumtopa() local
728 &hcl, &npr) != 0) in nhm_unumtopa()
735 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, in nhm_unumtopa()
737 nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, in nhm_unumtopa()
/illumos-gate/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c195 nvlist_t *fmri, **hcl; in print_everstyle() local
207 if (nvlist_lookup_nvlist_array(fmri, FM_FMRI_HC_LIST, &hcl, &n) != 0) { in print_everstyle()
221 if (nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, &name) != 0 || in print_everstyle()
222 nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &inst) != 0) { in print_everstyle()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c390 nvlist_t *fmri, **hcl; in hc_path() local
398 if (nvlist_lookup_nvlist_array(fmri, FM_FMRI_HC_LIST, &hcl, &nhc) in hc_path()
406 err = nvlist_lookup_string(hcl[i], FM_FMRI_HC_NAME, &name); in hc_path()
407 err |= nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &instance); in hc_path()