Home
last modified time | relevance | path

Searched refs:hcsp (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c240 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 Dchip_subr.c270 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 Ddimm_addr.c47 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 Dcma_page.c93 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 Dmcamd_subr.c495 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 Dhc.c428 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 Dcmi.c867 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 Dmem_addr.c701 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()