Home
last modified time | relevance | path

Searched refs:detector (Results 1 – 25 of 38) sorted by relevance

12

/titanic_41/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c49 nvlist_t *detector, *new_detector; in fab_prep_basic_erpt() local
56 err |= nvlist_lookup_nvlist(nvl, FM_EREPORT_DETECTOR, &detector); in fab_prep_basic_erpt()
61 err = nvlist_dup(detector, &new_detector, NV_UNIQUE_NAME); in fab_prep_basic_erpt()
127 nvlist_t *detector; in fab_send_tgt_erpt() local
148 if (nvlist_alloc(&detector, NV_UNIQUE_NAME, 0) != 0) { in fab_send_tgt_erpt()
152 (void) nvlist_add_uint8(detector, FM_VERSION, in fab_send_tgt_erpt()
154 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, in fab_send_tgt_erpt()
156 (void) nvlist_add_string(detector, FM_FMRI_DEV_PATH, fmri); in fab_send_tgt_erpt()
157 (void) nvlist_add_nvlist(erpt, FM_EREPORT_DETECTOR, detector); in fab_send_tgt_erpt()
158 nvlist_free(detector); in fab_send_tgt_erpt()
[all …]
H A Dfx_epkt.c154 nvlist_t *detector; in fab_xlate_epkt_erpts() local
256 if (nvlist_alloc(&detector, NV_UNIQUE_NAME, 0) != 0) { in fab_xlate_epkt_erpts()
261 (void) nvlist_add_string(detector, FM_VERSION, in fab_xlate_epkt_erpts()
263 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, in fab_xlate_epkt_erpts()
265 (void) nvlist_add_string(detector, FM_FMRI_DEV_PATH, rppath); in fab_xlate_epkt_erpts()
267 (void) nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, detector); in fab_xlate_epkt_erpts()
268 nvlist_free(detector); in fab_xlate_epkt_erpts()
/titanic_41/usr/src/cmd/fm/eversholt/files/sparc/sun4v/
H A Dgmem.esc120 * 1. if ereport has both sender & detector: membuf-crc errors will fault
121 * both detector & sender.
122 * - if detector is chip or memory-controller, the sender is memory-buffer.
123 * - if detector is memory-buffer, the sender is chip or memory-controller
125 * - if detector is chip, sender is memory-buffer
126 * - if detector is memory-controller, sender is memory-buffer
127 * - if detector is memory-buffer:
140 * detector is chip and ereport has a sender
152 * detector is chip and ereport does not have sender
170 * detector is memory-buffer and ereport has sender
[all …]
H A Dgcpu.esc315 * The detector and sender are faulted immediately.
322 #define CONTAINS_DET (payloadprop_contains("detector", asru(chip)))
380 * the detector & sender will be faulted.
382 * If ereport sender or detector was faulted, discard ereport
397 && !HAS_C2C_FAULT(asru(chip)) && !HAS_C2C_FAULT(payloadprop("detector"))
416 && !HAS_C2C_FAULT(asru(chip)) && !HAS_C2C_FAULT(payloadprop("detector"))
481 * bootbus-prot, bootbus-to and bootbus-par errors. Fault the detector.
/titanic_41/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs_de.c394 nvlist_t *detector, *fault; in zfs_case_solve() local
405 detector = fmd_nvl_alloc(hdl, FMD_SLEEP); in zfs_case_solve()
407 (void) nvlist_add_uint8(detector, FM_VERSION, ZFS_SCHEME_VERSION0); in zfs_case_solve()
408 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, FM_FMRI_SCHEME_ZFS); in zfs_case_solve()
409 (void) nvlist_add_uint64(detector, FM_FMRI_ZFS_POOL, in zfs_case_solve()
412 (void) nvlist_add_uint64(detector, FM_FMRI_ZFS_VDEV, in zfs_case_solve()
423 if (!fmd_nvl_fmri_present(hdl, detector) || in zfs_case_solve()
424 (checkunusable && !fmd_nvl_fmri_unusable(hdl, detector))) { in zfs_case_solve()
426 nvlist_free(detector); in zfs_case_solve()
454 nvlist_free(detector); in zfs_case_solve()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound_sunos.c41 const nvlist_t *detector, nvlist_t *rawattr, in pp_sunos_panic() argument
80 const nvlist_t *detector, nvlist_t *rawattr, in fmevt_pp_on_sunos() argument
85 detector, rawattr, eap)); in fmevt_pp_on_sunos()
H A Dfmevt_inbound_on.c38 const nvlist_t *detector, nvlist_t *rawattr, in fmevt_pp_on_ereport() argument
63 const nvlist_t *detector, nvlist_t *rawattr, in fmevt_pp_on_private() argument
H A Dfmevt_inbound_default.c39 const nvlist_t *detector, nvlist_t *rawattr, in fmevt_pp_unregistered() argument
H A Dfmevt_inbound_smf.c133 const nvlist_t *detector, nvlist_t *rawattr, in fmevt_pp_smf() argument
/titanic_41/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nb5000.c1890 nb_fsb_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, in nb_fsb_report() argument
1899 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 2, in nb_fsb_report()
1917 nb_pex_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, in nb_pex_report() argument
1923 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 1, in nb_pex_report()
1927 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 2, in nb_pex_report()
1967 nb_int_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, in nb_int_report() argument
1970 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 1, in nb_int_report()
1988 nb_fat_fbd_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, in nb_fat_fbd_report() argument
1998 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 5, in nb_fat_fbd_report()
2005 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 3, in nb_fat_fbd_report()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_fm.c110 nvlist_t *ereport, *detector; in zfs_ereport_start() local
194 if ((detector = fm_nvlist_create(NULL)) == NULL) { in zfs_ereport_start()
228 fm_fmri_zfs_set(detector, FM_ZFS_SCHEME_VERSION, spa_guid(spa), in zfs_ereport_start()
231 fm_ereport_set(ereport, FM_EREPORT_VERSION, class, ena, detector, NULL); in zfs_ereport_start()
353 *detector_out = detector; in zfs_ereport_start()
674 nvlist_t *detector = NULL; in zfs_ereport_post() local
676 zfs_ereport_start(&ereport, &detector, in zfs_ereport_post()
685 fm_nvlist_destroy(detector, FM_NVA_FREE); in zfs_ereport_post()
786 nvlist_t *detector = NULL; in zfs_ereport_post_checksum() local
789 zfs_ereport_start(&ereport, &detector, in zfs_ereport_post_checksum()
[all …]
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c522 nvlist_t *erp, *detector, *hcelem; in dp_trans_event() local
580 detector = fm_nvlist_create(NULL); in dp_trans_event()
612 (void) nvlist_add_uint8(detector, FM_VERSION, FM_HC_SCHEME_VERSION); in dp_trans_event()
613 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC); in dp_trans_event()
614 (void) nvlist_add_string(detector, FM_FMRI_HC_ROOT, ""); in dp_trans_event()
615 (void) nvlist_add_uint32(detector, FM_FMRI_HC_LIST_SZ, 1); in dp_trans_event()
616 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1); in dp_trans_event()
624 fm_ena_generate(0, FM_ENA_FMT1), detector, NULL); in dp_trans_event()
644 fm_nvlist_destroy(detector, FM_NVA_FREE); in dp_trans_event()
/titanic_41/usr/src/cmd/fm/eversholt/files/common/
H A Ddisk.esc34 * <disk-as-detector> The disk-as-detector DE provides the mapping between
52 * disk-as-detector: fault events.
64 * disk-as-detector: upset events.
75 * disk-as-detector: ereports from the kernel.
99 * disk-as-detector: propagations from faults(based on
144 * disk-as-detector: propagations from upsets(based on
154 * disk-as-detector: propagations from upsets(independent of
H A Dpciex.esc307 payloadprop_defined("detector") && setserdsuffix("_btlp") &&
313 payloadprop_defined("detector") && setserdsuffix("_bdllp") &&
319 payloadprop_defined("detector") && setserdsuffix("_rto") &&
325 payloadprop_defined("detector") && setserdsuffix("_rnr") &&
331 payloadprop_defined("detector") && setserdsuffix("_re") &&
397 payloadprop_defined("detector") && setserdsuffix("_btlp") &&
403 payloadprop_defined("detector") && setserdsuffix("_bdllp") &&
409 payloadprop_defined("detector") && setserdsuffix("_rto") &&
415 payloadprop_defined("detector") && setserdsuffix("_rnr") &&
421 payloadprop_defined("detector") && setserdsuffix("_re") &&
[all …]
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c666 nvlist_t *ereport, *detector; in ecc_ereport_post() local
689 detector = fm_nvlist_create(nva); in ecc_ereport_post()
693 ASSERT(detector); in ecc_ereport_post()
701 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, dev_path, in ecc_ereport_post()
724 ecc_err->ecc_ena, detector, in ecc_ereport_post()
735 ecc_err->ecc_ena, detector, in ecc_ereport_post()
/titanic_41/usr/src/uts/common/os/
H A Dddifm.c347 nvlist_t *detector = NULL; in fm_dev_ereport_postv() local
434 detector = fm_nvlist_create(nva); in fm_dev_ereport_postv()
435 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, path, in fm_dev_ereport_postv()
439 fm_ereport_set(ereport, version, class, ena, detector, NULL); in fm_dev_ereport_postv()
463 if (detector && (nva == NULL)) in fm_dev_ereport_postv()
464 fm_nvlist_destroy(detector, FM_NVA_FREE); in fm_dev_ereport_postv()
H A Dpcifm.c1170 nvlist_t *ereport, *detector; in pci_fm_ereport_post() local
1181 detector = fm_nvlist_create(nva); in pci_fm_ereport_post()
1184 detector = fm_nvlist_create(NULL); in pci_fm_ereport_post()
1188 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, in pci_fm_ereport_post()
1192 fm_ereport_set(ereport, version, ddi_error_class, ena, detector, NULL); in pci_fm_ereport_post()
1204 fm_nvlist_destroy(detector, FM_NVA_FREE); in pci_fm_ereport_post()
/titanic_41/usr/src/uts/sun4v/os/
H A Derror.c959 nvlist_t *ereport, *detector; in sp_ereport_post() local
995 detector = fm_nvlist_create(NULL); in sp_ereport_post()
1000 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 1, in sp_ereport_post()
1004 fm_ena_generate(0, FM_ENA_FMT1), detector, NULL); in sp_ereport_post()
1009 fm_nvlist_destroy(detector, FM_NVA_FREE); in sp_ereport_post()
/titanic_41/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_subr.c693 nvlist_t *ereport, *detector; in mcamd_ereport_post() local
697 detector = mc_fmri_create(mc); in mcamd_ereport_post()
702 fm_ena_generate(gethrtime(), FM_ENA_FMT1), detector, NULL); in mcamd_ereport_post()
703 fm_nvlist_destroy(detector, FM_NVA_FREE); in mcamd_ereport_post()
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c144 fmd_case_t *fmcase, nvlist_t *detector, char *arg);
331 nvlist_t *detector = NULL; in newfme() local
343 &detector, pathstr); in newfme()
347 if (detector == NULL) { in newfme()
356 &detector); in newfme()
358 publish_undiagnosable(hdl, ffep, fmcase, detector, arg); in newfme()
379 publish_undiagnosable(hdl, ffep, fmcase, detector, arg); in newfme()
380 nvlist_free(detector); in newfme()
390 nvlist_free(detector); in newfme()
394 &detector, pathstr); in newfme()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/disk-transport/
H A Ddisk_transport.c77 const char *faultname, uint64_t ena, nvlist_t *detector, nvlist_t *payload) in dt_post_ereport() argument
90 e |= nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, detector); in dt_post_ereport()
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c2456 nvlist_t *erp, *detector, *hcelem; in sbbc_dp_trans_event() local
2515 detector = fm_nvlist_create(NULL); in sbbc_dp_trans_event()
2539 (void) nvlist_add_uint8(detector, FM_VERSION, FM_HC_SCHEME_VERSION); in sbbc_dp_trans_event()
2540 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC); in sbbc_dp_trans_event()
2541 (void) nvlist_add_string(detector, FM_FMRI_HC_ROOT, ""); in sbbc_dp_trans_event()
2542 (void) nvlist_add_uint32(detector, FM_FMRI_HC_LIST_SZ, 1); in sbbc_dp_trans_event()
2543 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1); in sbbc_dp_trans_event()
2551 fm_ena_generate(0, FM_ENA_FMT1), detector, NULL); in sbbc_dp_trans_event()
2570 fm_nvlist_destroy(detector, FM_NVA_FREE); in sbbc_dp_trans_event()
/titanic_41/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c827 nvlist_t *ereport, *detector; in gcpu_ereport_post() local
873 if ((detector = cms_ereport_detector(hdl, bankidx, mscookie, in gcpu_ereport_post()
875 detector = gcpu_fmri_create(hdl, nva); in gcpu_ereport_post()
884 cmi_hdl_strandid(hdl), FM_ENA_FMT1), detector, NULL); in gcpu_ereport_post()
887 fm_nvlist_destroy(detector, FM_NVA_RETAIN); in gcpu_ereport_post()
890 fm_nvlist_destroy(detector, FM_NVA_FREE); in gcpu_ereport_post()
/titanic_41/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c2624 nvlist_t **detector, errorq_elem_t **eqep) in pf_ereport_setup() argument
2645 *detector = fm_nvlist_create(nva); in pf_ereport_setup()
2653 fm_fmri_dev_set(*detector, FM_DEV_SCHEME_VERSION, NULL, in pf_ereport_setup()
2659 fm_ereport_set(*ereport, 0, PCIE_EREPORT, ena, *detector, NULL); in pf_ereport_setup()
2666 pf_ereport_post(dev_info_t *dip, nvlist_t **ereport, nvlist_t **detector, in pf_ereport_post() argument
2678 nvlist_t *detector; in pf_send_ereport() local
2698 &ereport, &detector, &eqep) != DDI_SUCCESS) in pf_send_ereport()
2954 pf_ereport_post(PCIE_BUS2DIP(bus_p), &ereport, &detector, in pf_send_ereport()
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dopl_olympus.c1509 nvlist_t *ereport, *detector, *resource; local
1526 detector = fm_nvlist_create(nva);
1541 (void) fm_fmri_cpu_set(detector, FM_CPU_SCHEME_VERSION, NULL,
1552 fm_ena_generate(aflt->flt_id, FM_ENA_FMT1), detector, NULL);
1565 fm_nvlist_destroy(detector, FM_NVA_FREE);

12