Home
last modified time | relevance | path

Searched refs:derr (Results 1 – 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_err_impl.h106 ddi_fm_error_t *derr, uint_t bit, char *class_name)
120 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
123 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
126 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
129 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
132 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
157 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
160 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
163 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
166 ddi_fm_error_t *derr, px_err_reg_desc_t *err_reg_descr,
[all …]
H A Dpx_err.c655 ddi_fm_error_t derr; in px_err_cb_intr() local
658 bzero(&derr, sizeof (ddi_fm_error_t)); in px_err_cb_intr()
659 derr.fme_version = DDI_FME_VERSION; in px_err_cb_intr()
661 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in px_err_cb_intr()
695 ddi_fm_error_t derr; in px_err_dmc_pec_intr() local
699 derr.fme_version = DDI_FME_VERSION; in px_err_dmc_pec_intr()
826 px_err_safeacc_check(px_p, derr); in px_err_cmn_intr()
985 derr, err_bit_desc->bit, in px_err_erpt_and_clr()
1020 switch (derr->fme_flag) { in px_err_check_severity()
1028 derr->fme_status = DDI_FM_NONFATAL; in px_err_check_severity()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_err.c133 px_err_safeacc_check(px_p, derr); in px_err_cmn_intr()
269 ddi_fm_error_t derr; in px_err_intr() local
280 bzero(&derr, sizeof (ddi_fm_error_t)); in px_err_intr()
281 derr.fme_version = DDI_FME_VERSION; in px_err_intr()
283 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in px_err_intr()
353 switch (derr->fme_flag) { in px_err_epkt_severity()
359 derr->fme_status = DDI_FM_NONFATAL; in px_err_epkt_severity()
379 px_fix_legacy_epkt(dip, derr, epkt); in px_err_epkt_severity()
477 ddi_fm_ereport_post(dip, buf, derr->fme_ena, in px_err_send_epkt_erpt()
717 if (pf_hdl_lookup(dip, derr->fme_ena, in px_port_handle_errors()
[all …]
H A Dpx_err_gen.c40 px_cb_epkt_severity(dev_info_t *dip, ddi_fm_error_t *derr, px_rc_err_t *epkt, in px_cb_epkt_severity() argument
232 px_mmu_epkt_severity(dev_info_t *dip, ddi_fm_error_t *derr, px_rc_err_t *epkt, in px_mmu_epkt_severity() argument
407 px_mmu_handle_lookup(dip, derr, epkt) == PF_HDL_FOUND) in px_mmu_epkt_severity()
416 px_intr_epkt_severity(dev_info_t *dip, ddi_fm_error_t *derr, px_rc_err_t *epkt, in px_intr_epkt_severity() argument
532 err = px_intr_handle_errors(dip, derr, in px_intr_epkt_severity()
594 px_port_epkt_severity(dev_info_t *dip, ddi_fm_error_t *derr, px_rc_err_t *epkt, in px_port_epkt_severity() argument
678 err = px_port_handle_errors(dip, derr, in px_port_epkt_severity()
686 err = px_port_handle_errors(dip, derr, in px_port_epkt_severity()
/illumos-gate/usr/src/uts/common/os/
H A Dpcifm.c812 derr->fme_ena, in pcix_ecc_error_report()
825 derr->fme_ena, in pcix_ecc_error_report()
843 derr->fme_ena, in pcix_ecc_error_report()
856 derr->fme_ena, in pcix_ecc_error_report()
1071 derr->fme_status = DDI_FM_OK; in pci_ereport_post()
1088 de.fme_version = derr->fme_version; in pci_ereport_post()
1089 de.fme_status = derr->fme_status; in pci_ereport_post()
1090 de.fme_flag = derr->fme_flag; in pci_ereport_post()
1091 de.fme_ena = derr->fme_ena; in pci_ereport_post()
1131 derr->fme_status = de.fme_status; in pci_ereport_post()
[all …]
H A Dndifm.c425 derr->fme_acc_handle = ap; in ndi_fmc_entry_error()
432 derr->fme_dma_handle = dp; in ndi_fmc_entry_error()
467 ddi_fm_error_t derr; in ndi_fmc_error() local
477 bzero(&derr, sizeof (ddi_fm_error_t)); in ndi_fmc_error()
478 derr.fme_version = DDI_FME_VERSION; in ndi_fmc_error()
479 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in ndi_fmc_error()
480 derr.fme_ena = ena; in ndi_fmc_error()
566 i_ddi_fm_acc_err_set(ap, derr->fme_ena, in ndi_fmc_entry_error_all()
569 derr->fme_acc_handle = ap; in ndi_fmc_entry_error_all()
573 i_ddi_fm_dma_err_set(dp, derr->fme_ena, in ndi_fmc_entry_error_all()
[all …]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_fm.c371 fab_err = px_scan_fabric(px_p, dip, derr); in px_fm_callback()
406 ddi_fm_error_t derr; in px_err_fabric_intr() local
415 bzero(&derr, sizeof (ddi_fm_error_t)); in px_err_fabric_intr()
416 derr.fme_version = DDI_FME_VERSION; in px_err_fabric_intr()
418 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in px_err_fabric_intr()
420 px_err_safeacc_check(px_p, &derr); in px_err_fabric_intr()
440 derr.fme_ena, in px_err_fabric_intr()
544 derr->fme_flag = acctype; in px_err_safeacc_check()
545 derr->fme_acc_handle = pec_p->pec_acc_hdl; in px_err_safeacc_check()
553 derr->fme_flag = acctype; in px_err_safeacc_check()
[all …]
H A Dpx_fm.h123 extern int px_scan_fabric(px_t *px_p, dev_info_t *rdip, ddi_fm_error_t *derr);
124 extern void px_err_safeacc_check(px_t *px_p, ddi_fm_error_t *derr);
126 extern int px_err_check_pcie(dev_info_t *dip, ddi_fm_error_t *derr,
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c255 impl.pf_derr = derr; in pf_scan_fabric()
316 pf_send_ereport(derr, &impl); in pf_scan_fabric()
1940 return pf_analyse_perr_assert(derr, in pf_analyse_ptlp()
2411 ddi_fm_error_t derr; in pf_hdl_lookup() local
2426 bzero(&derr, sizeof (ddi_fm_error_t)); in pf_hdl_lookup()
2427 derr.fme_version = DDI_FME_VERSION; in pf_hdl_lookup()
2428 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in pf_hdl_lookup()
2429 derr.fme_ena = ena; in pf_hdl_lookup()
2572 derr->fme_acc_handle = ap; in pf_hdl_compare()
2579 derr->fme_dma_handle = dp; in pf_hdl_compare()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_pbm.c220 ddi_fm_error_t derr; in pbm_error_intr() local
224 bzero(&derr, sizeof (ddi_fm_error_t)); in pbm_error_intr()
225 derr.fme_version = DDI_FME_VERSION; in pbm_error_intr()
232 ddi_fm_acc_err_get(pbm_p->pbm_excl_handle, &derr, in pbm_error_intr()
234 ASSERT(derr.fme_flag == DDI_FM_ERR_EXPECTED); in pbm_error_intr()
235 derr.fme_acc_handle = pbm_p->pbm_excl_handle; in pbm_error_intr()
236 err = pci_pbm_err_handler(pci_p->pci_dip, &derr, (void *)pci_p, in pbm_error_intr()
245 derr.fme_flag = DDI_FM_ERR_POKE; in pbm_error_intr()
246 err = pci_pbm_err_handler(pci_p->pci_dip, &derr, (void *)pci_p, in pbm_error_intr()
254 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in pbm_error_intr()
[all …]
H A Dpci_fm.c173 ddi_fm_error_t derr; in pci_bus_exit() local
180 ddi_fm_acc_err_get(pbm_p->pbm_excl_handle, &derr, DDI_FME_VERSION); in pci_bus_exit()
182 if (derr.fme_status == DDI_FM_OK) { in pci_bus_exit()
184 (void) pci_pbm_err_handler(pci_p->pci_dip, &derr, in pci_bus_exit()
199 pci_err_callback(dev_info_t *dip, ddi_fm_error_t *derr, in pci_err_callback() argument
217 ecc_err.ecc_ena = derr->fme_ena; in pci_err_callback()
228 int err = pci_pbm_err_handler(pci_p->pci_dip, derr, in pci_err_callback()
H A Dpci_util.c718 pci_cfg_report(dev_info_t *dip, ddi_fm_error_t *derr, pci_errstate_t *pci_err_p, in pci_cfg_report() argument
727 derr->fme_ena = derr->fme_ena ? derr->fme_ena : in pci_cfg_report()
737 ddi_fm_ereport_post(dip, buf, derr->fme_ena, in pci_cfg_report()
779 pci_target_enqueue(derr->fme_ena, in pci_cfg_report()
782 (uint64_t)derr->fme_bus_specific); in pci_cfg_report()
H A Dpcipsy.c1707 derr->fme_ena = derr->fme_ena ? derr->fme_ena : in pci_pbm_err_handler()
1713 if (derr->fme_flag == DDI_FM_ERR_EXPECTED) { in pci_pbm_err_handler()
1722 derr->fme_status = DDI_FM_NONFATAL; in pci_pbm_err_handler()
1730 derr->fme_status = DDI_FM_NONFATAL; in pci_pbm_err_handler()
1731 ndi_fm_acc_err_set(pbm_p->pbm_excl_handle, derr); in pci_pbm_err_handler()
1735 } else if (derr->fme_flag == DDI_FM_ERR_PEEK) { in pci_pbm_err_handler()
1743 } else if (derr->fme_flag == DDI_FM_ERR_POKE) { in pci_pbm_err_handler()
1793 if (derr->fme_flag != DDI_FM_ERR_POKE) { in pci_pbm_err_handler()
1797 ddi_fm_ereport_post(dip, buf, derr->fme_ena, in pci_pbm_err_handler()
1814 pbm_ereport_post(dip, derr->fme_ena, &pbm_err); in pci_pbm_err_handler()
[all …]
H A Dpcisch.c1715 ddi_fm_error_t derr; in cb_buserr_intr() local
1722 bzero(&derr, sizeof (ddi_fm_error_t)); in cb_buserr_intr()
1723 derr.fme_version = DDI_FME_VERSION; in cb_buserr_intr()
2321 derr->fme_ena = derr->fme_ena ? derr->fme_ena : in pci_pbm_err_handler()
2327 if (derr->fme_flag == DDI_FM_ERR_EXPECTED) { in pci_pbm_err_handler()
2336 derr->fme_status = DDI_FM_NONFATAL; in pci_pbm_err_handler()
2344 derr->fme_status = DDI_FM_NONFATAL; in pci_pbm_err_handler()
2423 pci_target_enqueue(derr->fme_ena, in pci_pbm_err_handler()
2426 (uint64_t)derr->fme_bus_specific); in pci_pbm_err_handler()
2450 if (derr->fme_flag != DDI_FM_ERR_POKE) { in pci_pbm_err_handler()
[all …]
H A Dpci_ecc.c363 ddi_fm_error_t derr; in ecc_pci_check() local
369 bzero(&derr, sizeof (ddi_fm_error_t)); in ecc_pci_check()
370 derr.fme_version = DDI_FME_VERSION; in ecc_pci_check()
371 derr.fme_ena = fme_ena; in ecc_pci_check()
391 if (pci_pbm_err_handler(dip, &derr, (void *)pci_p, in ecc_pci_check()
H A Dsimba.c304 static int simba_err_callback(dev_info_t *dip, ddi_fm_error_t *derr,
522 simba_err_callback(dev_info_t *dip, ddi_fm_error_t *derr, const void *impl_data) in simba_err_callback() argument
531 derr->fme_ena = fm_ena_generate(0, FM_ENA_FMT1); in simba_err_callback()
533 pci_ereport_post(dip, derr, NULL); in simba_err_callback()
534 ret = derr->fme_status; in simba_err_callback()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_dwarf.c446 Dwarf_Error derr; in ctf_dwarf_attribute() local
476 Dwarf_Error derr; in ctf_dwarf_ref() local
501 Dwarf_Error derr; in ctf_dwarf_refdie() local
526 Dwarf_Error derr; in ctf_dwarf_signed() local
551 Dwarf_Error derr; in ctf_dwarf_unsigned() local
576 Dwarf_Error derr; in ctf_dwarf_boolean() local
602 Dwarf_Error derr; in ctf_dwarf_string() local
637 Dwarf_Error derr; in ctf_dwarf_member_location() local
722 Dwarf_Error derr; in ctf_dwarf_offset() local
742 Dwarf_Error derr; in ctf_die_offset() local
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_pbm.c183 ddi_fm_error_t derr; in pcmu_pbm_error_intr() local
187 bzero(&derr, sizeof (ddi_fm_error_t)); in pcmu_pbm_error_intr()
188 derr.fme_version = DDI_FME_VERSION; in pcmu_pbm_error_intr()
197 derr.fme_flag = DDI_FM_ERR_POKE; in pcmu_pbm_error_intr()
198 err = pcmu_pbm_err_handler(pcmu_p->pcmu_dip, &derr, in pcmu_pbm_error_intr()
207 derr.fme_flag = DDI_FM_ERR_UNEXPECTED; in pcmu_pbm_error_intr()
208 err = pcmu_pbm_err_handler(pcmu_p->pcmu_dip, &derr, in pcmu_pbm_error_intr()
H A Dpcmu_ecc.c316 ddi_fm_error_t derr; in pcmu_ecc_check() local
323 bzero(&derr, sizeof (ddi_fm_error_t)); in pcmu_ecc_check()
324 derr.fme_version = DDI_FME_VERSION; in pcmu_ecc_check()
325 derr.fme_ena = fme_ena; in pcmu_ecc_check()
333 if (pcmu_pbm_err_handler(pcmu_p->pcmu_dip, &derr, (void *)pcmu_p, in pcmu_ecc_check()
H A Dpcmu_util.c487 pcmu_cfg_report(dev_info_t *dip, ddi_fm_error_t *derr, in pcmu_cfg_report() argument
500 derr->fme_ena = derr->fme_ena ? derr->fme_ena : in pcmu_cfg_report()
H A Dpcicmu.c2002 pcmu_pbm_err_handler(dev_info_t *dip, ddi_fm_error_t *derr, in pcmu_pbm_err_handler() argument
2016 derr->fme_ena = derr->fme_ena ? derr->fme_ena : in pcmu_pbm_err_handler()
2022 if (derr->fme_flag == DDI_FM_ERR_PEEK) { in pcmu_pbm_err_handler()
2030 } else if (derr->fme_flag == DDI_FM_ERR_POKE) { in pcmu_pbm_err_handler()
2049 ret = pcmu_pbm_afsr_report(dip, derr->fme_ena, &pbm_err); in pcmu_pbm_err_handler()
2057 ret = pcmu_cfg_report(dip, derr, &pbm_err.pcbm_pci, caller, prierr); in pcmu_pbm_err_handler()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fm.c925 ddi_fm_error_t derr; in hermon_init_failure() local
937 if (derr.fme_status != DDI_FM_OK) { in hermon_init_failure()
944 if (derr.fme_status != DDI_FM_OK) { in hermon_init_failure()
1732 derr->fme_status = DDI_FM_OK; in hermon_trigger_pio_error()
2241 ddi_fm_error_t derr; in i_hca_pio_start() local
2254 (*tst->pio_injection)(tst, &derr); in i_hca_pio_start()
2258 switch (derr.fme_status) { in i_hca_pio_start()
2276 derr.fme_status); in i_hca_pio_start()
2315 ddi_fm_error_t derr; in i_hca_pio_end() local
2328 switch (derr.fme_status) { in i_hca_pio_end()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Ddisk.esc56 event fault.io.scsi.cmd.disk.dev.rqs.derr@P;
69 event upset.io.scsi.cmd.disk.dev.rqs.derr@P;
85 event ereport.io.scsi.cmd.disk.dev.rqs.derr@P, discard_if_config_unknown=1;
105 * fault.io.scsi.cmd.disk.dev.rqs.derr
110 prop fault.io.scsi.cmd.disk.dev.rqs.derr@P->
111 ereport.io.scsi.cmd.disk.dev.rqs.derr@P{ DRIVER_ASSESSMENT_FATAL &&
149 prop upset.io.scsi.cmd.disk.dev.rqs.derr@P->
150 ereport.io.scsi.cmd.disk.dev.rqs.derr@P{ DRIVER_ASSESSMENT_NONFATAL };
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci.c837 void pci_peekpoke_cb(dev_info_t *dip, ddi_fm_error_t *derr) { in pci_peekpoke_cb() argument
838 (void) pci_ereport_post(dip, derr, NULL); in pci_peekpoke_cb()
857 pci_fm_callback(dev_info_t *dip, ddi_fm_error_t *derr, const void *no_used) in pci_fm_callback() argument
863 pci_ereport_post(dip, derr, NULL); in pci_fm_callback()
865 return (derr->fme_status); in pci_fm_callback()
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_pci.c1059 void ppb_peekpoke_cb(dev_info_t *dip, ddi_fm_error_t *derr) { in ppb_peekpoke_cb() argument
1060 (void) pci_ereport_post(dip, derr, NULL); in ppb_peekpoke_cb()
1079 ppb_fm_callback(dev_info_t *dip, ddi_fm_error_t *derr, const void *no_used) in ppb_fm_callback() argument
1085 pci_ereport_post(dip, derr, NULL); in ppb_fm_callback()
1087 return (derr->fme_status); in ppb_fm_callback()

12