Home
last modified time | relevance | path

Searched refs:fmhdl (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dddifm.c344 struct i_ddi_fmhdl *fmhdl = NULL; in fm_dev_ereport_postv() local
382 fmhdl = DEVI(eqdip)->devi_fmhdl; in fm_dev_ereport_postv()
383 ASSERT(fmhdl); in fm_dev_ereport_postv()
384 eqep = errorq_reserve(fmhdl->fh_errorq); in fm_dev_ereport_postv()
388 ereport = errorq_elem_nvl(fmhdl->fh_errorq, eqep); in fm_dev_ereport_postv()
389 nva = errorq_elem_nva(fmhdl->fh_errorq, eqep); in fm_dev_ereport_postv()
451 errorq_commit(fmhdl->fh_errorq, eqep, ERRORQ_ASYNC); in fm_dev_ereport_postv()
457 err: if (fmhdl) in fm_dev_ereport_postv()
458 atomic_inc_64(&fmhdl->fh_kstat.fek_erpt_dropped.value.ui64); in fm_dev_ereport_postv()
688 struct i_ddi_fmhdl *fmhdl; in ddi_fm_init() local
[all …]
H A Dndifm.c226 struct i_ddi_fmhdl *fmhdl; in ndi_fmc_insert() local
231 fmhdl = devi->devi_fmhdl; in ndi_fmc_insert()
232 if (fmhdl == NULL) { in ndi_fmc_insert()
237 if (!DDI_FM_DMA_ERR_CAP(fmhdl->fh_cap)) { in ndi_fmc_insert()
240 fcp = fmhdl->fh_dma_cache; in ndi_fmc_insert()
243 if (!DDI_FM_ACC_ERR_CAP(fmhdl->fh_cap)) { in ndi_fmc_insert()
248 fcp = fmhdl->fh_acc_cache; in ndi_fmc_insert()
254 atomic_inc_64(&fmhdl->fh_kstat.fek_fmc_full.value.ui64); in ndi_fmc_insert()
290 struct i_ddi_fmhdl *fmhdl; in ndi_fmc_remove() local
295 fmhdl = devi->devi_fmhdl; in ndi_fmc_remove()
[all …]
H A Dpcifm.c401 struct i_ddi_fmhdl *fmhdl = devi->devi_fmhdl; in pci_ereport_setup() local
422 ASSERT(fmhdl && (fmhdl->fh_bus_specific == NULL)); in pci_ereport_setup()
478 fmhdl->fh_bus_specific = (void *)erpt_p; in pci_ereport_setup()
521 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in pci_ereport_teardown() local
529 ASSERT(fmhdl); in pci_ereport_teardown()
531 erpt_p = (pci_erpt_t *)fmhdl->fh_bus_specific; in pci_ereport_teardown()
543 fmhdl->fh_bus_specific = NULL; in pci_ereport_teardown()
1055 struct i_ddi_fmhdl *fmhdl; in pci_ereport_post() local
1074 fmhdl = DEVI(dip)->devi_fmhdl; in pci_ereport_post()
1114 ASSERT(fmhdl); in pci_ereport_post()
[all …]
/titanic_50/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c997 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in pf_init() local
1006 if (fmhdl) { in pf_init()
1013 if (!(fmhdl->fh_cap & DDI_FM_ERRCB_CAPABLE)) in pf_init()
1037 fmhdl = DEVI(dip)->devi_fmhdl; in pf_init()
1041 if (!fmhdl) { in pf_init()
1046 fmhdl->fh_cap |= DDI_FM_ERRCB_CAPABLE; in pf_init()
2328 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in pf_hdl_child_lookup() local
2338 ASSERT(fmhdl); in pf_hdl_child_lookup()
2353 if ((flag & PF_ADDR_DMA) && DDI_FM_DMA_ERR_CAP(fmhdl->fh_cap)) in pf_hdl_child_lookup()
2354 fcp = fmhdl->fh_dma_cache; in pf_hdl_child_lookup()
[all …]
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c665 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in ecc_ereport_post() local
683 eqep = errorq_reserve(fmhdl->fh_errorq); in ecc_ereport_post()
687 ereport = errorq_elem_nvl(fmhdl->fh_errorq, eqep); in ecc_ereport_post()
688 nva = errorq_elem_nva(fmhdl->fh_errorq, eqep); in ecc_ereport_post()
740 errorq_commit(fmhdl->fh_errorq, eqep, ERRORQ_ASYNC); in ecc_ereport_post()
H A Dpcisch.c2804 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in cb_ereport_post() local
2823 eqep = errorq_reserve(fmhdl->fh_errorq); in cb_ereport_post()
2827 ereport = errorq_elem_nvl(fmhdl->fh_errorq, eqep); in cb_ereport_post()
2828 nva = errorq_elem_nva(fmhdl->fh_errorq, eqep); in cb_ereport_post()
2864 errorq_commit(fmhdl->fh_errorq, eqep, ERRORQ_ASYNC); in cb_ereport_post()