/illumos-gate/usr/src/cmd/fm/schemes/hc/ |
H A D | scheme.c | 240 nvlist_t *hcsp; in fmd_fmri_contains() local 260 FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || (nvlist_lookup_uint64(hcsp, in fmd_fmri_contains() 262 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in fmd_fmri_contains() 269 if (nvlist_lookup_nvlist(ee, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in fmd_fmri_contains() 270 (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in fmd_fmri_contains() 271 &eeoff) == 0 || nvlist_lookup_uint64(hcsp, "asru-" in fmd_fmri_contains()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 270 nvlist_t *asru, *args, *pargs, *hcsp; in mem_asru_compute() local 299 if (nvlist_lookup_nvlist(asru, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in mem_asru_compute() 300 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute() 302 err += nvlist_remove(hcsp, in mem_asru_compute() 305 err += nvlist_add_uint64(hcsp, in mem_asru_compute() 310 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute() 312 err += nvlist_remove(hcsp, in mem_asru_compute() 315 err += nvlist_add_uint64(hcsp, in mem_asru_compute() 713 nvlist_t *hcsp; in is_page_fmri() local 716 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in is_page_fmri() [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | dimm_addr.c | 47 nvlist_t **hcl, *hcsp; in fmri2unum() local 50 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || in fmri2unum() 51 (nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in fmri2unum() 52 &offset) != 0 && nvlist_lookup_uint64(hcsp, in fmri2unum()
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_page.c | 93 nvlist_t *rsrc = NULL, *asrucp = NULL, *hcsp; in cma_page_retire() local 119 nvlist_lookup_nvlist(rsrc, FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || in cma_page_retire() 120 (nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_PHYSADDR, in cma_page_retire() 121 &pageaddr) != 0 && nvlist_lookup_uint64(hcsp, in cma_page_retire()
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 495 nvlist_t *hcsp, **hcl; in fmri2unum() local 498 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || in fmri2unum() 499 (nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in fmri2unum() 500 &offset) != 0 && nvlist_lookup_uint64(hcsp, in fmri2unum()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | hc.c | 428 nvlist_t *hcsp = NULL; in fmri_nvl2str() local 511 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in fmri_nvl2str() 516 if (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in fmri_nvl2str() 517 &val) == 0 || nvlist_lookup_uint64(hcsp, in fmri_nvl2str() 520 else if (nvlist_lookup_uint64(hcsp, in fmri_nvl2str() 522 nvlist_lookup_uint64(hcsp, in fmri_nvl2str() 939 nvlist_t *hcsp; in hc_fmri_str2nvl() local 945 if (topo_mod_nvalloc(mod, &hcsp, NV_UNIQUE_NAME) != 0) in hc_fmri_str2nvl() 947 if (nvlist_add_uint64(hcsp, hcsn, val) != 0 || in hc_fmri_str2nvl() 948 nvlist_add_nvlist(nf, FM_FMRI_HC_SPECIFIC, hcsp) != 0) { in hc_fmri_str2nvl() [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 867 nvlist_t *hcsp; in cmi_mc_unumtopa() local 890 FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in cmi_mc_unumtopa() 891 (nvlist_lookup_uint64(hcsp, in cmi_mc_unumtopa() 893 nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_PHYSADDR, in cmi_mc_unumtopa()
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 701 nvlist_t **hcl, *hcsp; in nhm_unumtopa() local 712 &hcsp) != 0) in nhm_unumtopa() 714 if (nvlist_lookup_uint64(hcsp, in nhm_unumtopa() 716 nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in nhm_unumtopa() 718 if (nvlist_lookup_uint64(hcsp, in nhm_unumtopa() 720 nvlist_lookup_uint64(hcsp, in nhm_unumtopa()
|