Home
last modified time | relevance | path

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

/titanic_44/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()
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_subr.c268 nvlist_t *asru, *args, *pargs, *hcsp; in mem_asru_compute() local
297 if (nvlist_lookup_nvlist(asru, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in mem_asru_compute()
298 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute()
300 err += nvlist_remove(hcsp, in mem_asru_compute()
303 err += nvlist_add_uint64(hcsp, in mem_asru_compute()
308 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute()
310 err += nvlist_remove(hcsp, in mem_asru_compute()
313 err += nvlist_add_uint64(hcsp, in mem_asru_compute()
711 nvlist_t *hcsp; in is_page_fmri() local
714 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in is_page_fmri()
[all …]
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_meth.c337 nvlist_t *asru, *pargs, *args, *hcsp; in mem_asru_compute() local
375 FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in mem_asru_compute()
376 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute()
380 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute()
409 nvlist_t *hcsp; in is_page_fmri() local
412 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in is_page_fmri()
413 (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in is_page_fmri()
415 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in is_page_fmri()
417 nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_PHYSADDR, in is_page_fmri()
419 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_PHYSADDR, in is_page_fmri()
/titanic_44/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()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/uts/i86pc/os/
H A Dcmi.c873 nvlist_t *hcsp; in cmi_mc_unumtopa() local
896 FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in cmi_mc_unumtopa()
897 (nvlist_lookup_uint64(hcsp, in cmi_mc_unumtopa()
899 nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_PHYSADDR, in cmi_mc_unumtopa()
/titanic_44/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()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c482 nvlist_t *hcsp = NULL; in fmri_nvl2str() local
565 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in fmri_nvl2str()
570 if (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in fmri_nvl2str()
571 &val) == 0 || nvlist_lookup_uint64(hcsp, in fmri_nvl2str()
574 else if (nvlist_lookup_uint64(hcsp, in fmri_nvl2str()
576 nvlist_lookup_uint64(hcsp, in fmri_nvl2str()
993 nvlist_t *hcsp; in hc_fmri_str2nvl() local
999 if (topo_mod_nvalloc(mod, &hcsp, NV_UNIQUE_NAME) != 0) in hc_fmri_str2nvl()
1001 if (nvlist_add_uint64(hcsp, hcsn, val) != 0 || in hc_fmri_str2nvl()
1002 nvlist_add_nvlist(nf, FM_FMRI_HC_SPECIFIC, hcsp) != 0) { in hc_fmri_str2nvl()
[all …]