Home
last modified time | relevance | path

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

/illumos-gate/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
230 fmhdl = devi->devi_fmhdl; in ndi_fmc_insert()
231 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()
244 if (!DDI_FM_ACC_ERR_CAP(fmhdl->fh_cap)) { in ndi_fmc_insert()
249 fcp = fmhdl->fh_acc_cache; in ndi_fmc_insert()
259 atomic_inc_64(&fmhdl->fh_kstat.fek_fmc_full.value.ui64); in ndi_fmc_insert()
295 struct i_ddi_fmhdl *fmhdl; in ndi_fmc_remove() local
300 fmhdl = devi->devi_fmhdl; in ndi_fmc_remove()
[all …]
H A Dpcifm.c405 struct i_ddi_fmhdl *fmhdl = devi->devi_fmhdl; in pci_ereport_setup() local
426 ASSERT(fmhdl && (fmhdl->fh_bus_specific == NULL)); in pci_ereport_setup()
482 fmhdl->fh_bus_specific = (void *)erpt_p; in pci_ereport_setup()
525 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in pci_ereport_teardown() local
533 ASSERT(fmhdl); in pci_ereport_teardown()
535 erpt_p = (pci_erpt_t *)fmhdl->fh_bus_specific; in pci_ereport_teardown()
547 fmhdl->fh_bus_specific = NULL; in pci_ereport_teardown()
1059 struct i_ddi_fmhdl *fmhdl; in pci_ereport_post() local
1078 fmhdl = DEVI(dip)->devi_fmhdl; in pci_ereport_post()
1118 ASSERT(fmhdl); in pci_ereport_post()
[all …]
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c1086 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in pf_init() local
1095 if (fmhdl) { in pf_init()
1102 if (!(fmhdl->fh_cap & DDI_FM_ERRCB_CAPABLE)) in pf_init()
1126 fmhdl = DEVI(dip)->devi_fmhdl; in pf_init()
1130 if (!fmhdl) { in pf_init()
1135 fmhdl->fh_cap |= DDI_FM_ERRCB_CAPABLE; in pf_init()
2440 struct i_ddi_fmhdl *fmhdl = DEVI(dip)->devi_fmhdl; in pf_hdl_child_lookup() local
2450 ASSERT(fmhdl); in pf_hdl_child_lookup()
2465 if ((flag & PF_ADDR_DMA) && DDI_FM_DMA_ERR_CAP(fmhdl->fh_cap)) in pf_hdl_child_lookup()
2466 fcp = fmhdl->fh_dma_cache; in pf_hdl_child_lookup()
[all …]
/illumos-gate/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()