Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c50 nvlist_t *detector, *new_detector; in fab_prep_basic_erpt() local
128 nvlist_t *detector; in fab_send_tgt_erpt() local
153 (void) nvlist_add_uint8(detector, FM_VERSION, in fab_send_tgt_erpt()
159 nvlist_free(detector); in fab_send_tgt_erpt()
344 nvlist_t *detector; in fab_get_hcpath() local
537 nvlist_t *detector; in fab_get_rcpath() local
555 if (fab_hc2dev_nvl(hdl, detector, &path)) { in fab_get_rcpath()
897 nvlist_t *detector, *nvl; in fab_send_erpt_all_rps() local
934 nvl = detector = NULL; in fab_send_erpt_all_rps()
953 detector); in fab_send_erpt_all_rps()
[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()
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dtweakfld.awk210 detector = $nf_detector
242 if( detector ~ /ACIS|HRC/ ) {
243 detsys = detector
250 if( detector == "HSI" ) {
291 if($nf_bnd == "FIXED" && detector ~ /ACIS/)
/illumos-gate/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
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs_de.c424 nvlist_t *detector, *fault; in zfs_case_solve() local
435 detector = fmd_nvl_alloc(hdl, FMD_SLEEP); in zfs_case_solve()
439 (void) nvlist_add_uint64(detector, FM_FMRI_ZFS_POOL, in zfs_case_solve()
453 if (!fmd_nvl_fmri_present(hdl, detector) || in zfs_case_solve()
456 nvlist_free(detector); in zfs_case_solve()
484 nvlist_free(detector); in zfs_case_solve()
502 fru, detector); in zfs_case_solve()
518 nvlist_free(detector); in zfs_case_solve()
567 nvlist_t *detector; in zfs_fm_recv() local
597 detector = NULL; in zfs_fm_recv()
[all …]
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nb5000.c2059 nb_dma_report(char *class, nvlist_t *detector) in nb_dma_report() argument
2121 nvlist_t *detector = fm_nvlist_create(nva); in nb_report() local
2125 nb_fsb_report(nb_regs, class, detector, scratch); in nb_report()
2128 nb_pex_report(nb_regs, class, detector, scratch); in nb_report()
2131 nb_int_report(nb_regs, class, detector, scratch); in nb_report()
2140 nb_dma_report(class, detector); in nb_report()
2155 return (detector); in nb_report()
2164 nvlist_t *ereport, *detector; in nb_drain() local
2193 if (detector == NULL) in nb_drain()
2201 fm_nvlist_destroy(detector, FM_NVA_RETAIN); in nb_drain()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fm.c114 nvlist_t *ereport, *detector; in zfs_ereport_start() local
125 if ((detector = fm_nvlist_create(NULL)) == NULL) { in zfs_ereport_start()
159 fm_fmri_zfs_set(detector, FM_ZFS_SCHEME_VERSION, spa_guid(spa), in zfs_ereport_start()
162 fm_ereport_set(ereport, FM_EREPORT_VERSION, class, ena, detector, NULL); in zfs_ereport_start()
285 *detector_out = detector; in zfs_ereport_start()
699 nvlist_t *detector = NULL; in zfs_ereport_post() local
701 if (!zfs_ereport_start(&ereport, &detector, subclass, spa, vd, in zfs_ereport_post()
711 fm_nvlist_destroy(detector, FM_NVA_FREE); in zfs_ereport_post()
814 nvlist_t *detector = NULL; in zfs_ereport_post_checksum() local
817 if (!zfs_ereport_start(&ereport, &detector, FM_EREPORT_ZFS_CHECKSUM, in zfs_ereport_post_checksum()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Ddisk.esc35 * <disk-as-detector> The disk-as-detector DE provides the mapping between
54 * disk-as-detector: fault events.
66 * disk-as-detector: upset events.
77 * disk-as-detector: ereports from the kernel.
101 * disk-as-detector: propagations from faults(based on
146 * disk-as-detector: propagations from upsets(based on
156 * disk-as-detector: propagations from upsets(independent of
H A Dpciex.esc319 payloadprop_defined("detector") && setserdsuffix("_rto") &&
325 payloadprop_defined("detector") && setserdsuffix("_rnr") &&
331 payloadprop_defined("detector") && setserdsuffix("_re") &&
409 payloadprop_defined("detector") && setserdsuffix("_rto") &&
415 payloadprop_defined("detector") && setserdsuffix("_rnr") &&
421 payloadprop_defined("detector") && setserdsuffix("_re") &&
442 payloadprop_defined("detector") && setserdsuffix("_rto") &&
456 payloadprop_defined("detector") && setserdsuffix("_re") &&
552 payloadprop_defined("detector") && setserdsuffix("_re") &&
614 payloadprop_defined("detector") && setserdsuffix("_re") &&
[all …]
/illumos-gate/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()
/illumos-gate/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.c1174 nvlist_t *ereport, *detector; in pci_fm_ereport_post() local
1186 detector = fm_nvlist_create(nva); in pci_fm_ereport_post()
1189 detector = fm_nvlist_create(NULL); in pci_fm_ereport_post()
1193 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, in pci_fm_ereport_post()
1197 fm_ereport_set(ereport, version, ddi_error_class, ena, detector, NULL); in pci_fm_ereport_post()
1209 fm_nvlist_destroy(detector, FM_NVA_FREE); in pci_fm_ereport_post()
H A Dfm.c820 uint64_t ena, const nvlist_t *detector, ...) in fm_ereport_set() argument
844 (nvlist_t *)detector) != 0) { in fm_ereport_set()
848 va_start(ap, detector); in fm_ereport_set()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c349 &detector, pathstr); in newfme()
353 if (detector == NULL) { in newfme()
363 &detector); in newfme()
387 nvlist_free(detector); in newfme()
397 nvlist_free(detector); in newfme()
401 &detector, pathstr); in newfme()
425 nvlist_free(detector); in newfme()
441 nvlist_free(detector); in newfme()
451 nvlist_free(detector); in newfme()
1544 &detector); in fme_receive_external_report()
[all …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c836 nvlist_t *ereport, *detector; in gcpu_ereport_post() local
884 if ((detector = cms_ereport_detector(hdl, bankidx, mscookie, in gcpu_ereport_post()
886 detector = gcpu_fmri_create(hdl, nva); in gcpu_ereport_post()
895 cmi_hdl_strandid(hdl), FM_ENA_FMT1), detector, NULL); in gcpu_ereport_post()
898 fm_nvlist_destroy(detector, FM_NVA_RETAIN); in gcpu_ereport_post()
901 fm_nvlist_destroy(detector, FM_NVA_FREE); in gcpu_ereport_post()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c2742 nvlist_t **detector, errorq_elem_t **eqep) in pf_ereport_setup() argument
2763 *detector = fm_nvlist_create(nva); in pf_ereport_setup()
2771 fm_fmri_dev_set(*detector, FM_DEV_SCHEME_VERSION, NULL, in pf_ereport_setup()
2777 fm_ereport_set(*ereport, 0, PCIE_EREPORT, ena, *detector, NULL); in pf_ereport_setup()
2784 pf_ereport_post(dev_info_t *dip, nvlist_t **ereport, nvlist_t **detector, in pf_ereport_post() argument
2796 nvlist_t *detector; in pf_send_ereport() local
2816 &ereport, &detector, &eqep) != DDI_SUCCESS) in pf_send_ereport()
3090 pf_ereport_post(PCIE_BUS2DIP(bus_p), &ereport, &detector, in pf_send_ereport()
/illumos-gate/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);
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dgcpu_amd.esc89 * detector element of memory ereports is a cpu and not the chip-select itself.
106 * | the payload detector info) whose resource payload member |

12