/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/ |
H A D | fmevt_inbound_default.c | 39 const nvlist_t *detector, nvlist_t *rawattr, 37 fmevt_pp_unregistered(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument
|
H A D | fmevt_inbound_on.c | 38 const nvlist_t *detector, nvlist_t *rawattr, 63 const nvlist_t *detector, nvlist_t *rawattr, 36 fmevt_pp_on_ereport(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument 61 fmevt_pp_on_private(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument
|
H A D | fmevt_inbound_sunos.c | 41 const nvlist_t *detector, nvlist_t *rawattr, 80 const nvlist_t *detector, nvlist_t *rawattr, 85 detector, rawattr, eap)); 39 pp_sunos_panic(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument 78 fmevt_pp_on_sunos(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument
|
H A D | fmevt_inbound_smf.c | 133 const nvlist_t *detector, nvlist_t *rawattr, 131 fmevt_pp_smf(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 49 nvlist_t *detector, *new_detector; local 53 /* Grab the tod, ena and detector(FMRI) */ 56 err |= nvlist_lookup_nvlist(nvl, FM_EREPORT_DETECTOR, &detector); 60 /* Make a copy of the detector */ 61 err = nvlist_dup(detector, &new_detector, NV_UNIQUE_NAME); 127 nvlist_t *detector; local 139 /* Grab the tod, ena and detector(FMRI) */ 148 if (nvlist_alloc(&detector, NV_UNIQUE_NAME, 0) != 0) { 152 (void) nvlist_add_uint8(detector, FM_VERSION, 154 (void) nvlist_add_string(detector, FM_FMRI_SCHEM 287 fab_hc_path(fmd_hdl_t *hdl, nvlist_t *detector, char **hcpath, size_t *lenp) argument 322 fab_hc2dev_nvl(fmd_hdl_t *hdl, nvlist_t *detector, char **dev_path) argument 340 nvlist_t *detector; local 533 nvlist_t *detector; local 893 nvlist_t *detector, *nvl; local [all...] |
H A D | fx_epkt.c | 154 nvlist_t *detector; local 253 * reset the detector in the original ereport to the root port 256 if (nvlist_alloc(&detector, NV_UNIQUE_NAME, 0) != 0) { 261 (void) nvlist_add_string(detector, FM_VERSION, 263 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, 265 (void) nvlist_add_string(detector, FM_FMRI_DEV_PATH, rppath); 267 (void) nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, detector); 268 nvlist_free(detector);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fm.c | 110 nvlist_t *ereport, *detector; local 194 if ((detector = fm_nvlist_create(NULL)) == NULL) { 223 * Construct the full class, detector, and other standard FMA fields. 228 fm_fmri_zfs_set(detector, FM_ZFS_SCHEME_VERSION, spa_guid(spa), 231 fm_ereport_set(ereport, FM_EREPORT_VERSION, class, ena, detector, NULL); 353 *detector_out = detector; 674 nvlist_t *detector = NULL; local 676 zfs_ereport_start(&ereport, &detector, 685 fm_nvlist_destroy(detector, FM_NVA_FREE); 786 nvlist_t *detector local [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nb5000.c | 423 * has the same detector with existing 5000 ereports. 1890 nb_fsb_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, argument 1899 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 2, 1917 nb_pex_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, argument 1923 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 1, 1927 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 2, 1967 nb_int_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, argument 1970 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 1, 1988 nb_fat_fbd_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, argument 1998 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSIO 2023 nb_nf_fbd_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, void *data) argument 2058 nb_dma_report(char *class, nvlist_t *detector) argument 2068 nb_thr_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, void *data) argument 2082 nb_nf_mem_report(const nb_regs_t *nb_regs, char *class, nvlist_t *detector, void *data) argument 2120 nvlist_t *detector = fm_nvlist_create(nva); local 2163 nvlist_t *ereport, *detector; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/ |
H A D | zfs_de.c | 394 nvlist_t *detector, *fault; local 401 * Construct the detector from the case data. The detector is in the 405 detector = fmd_nvl_alloc(hdl, FMD_SLEEP); 407 (void) nvlist_add_uint8(detector, FM_VERSION, ZFS_SCHEME_VERSION0); 408 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, FM_FMRI_SCHEME_ZFS); 409 (void) nvlist_add_uint64(detector, FM_FMRI_ZFS_POOL, 412 (void) nvlist_add_uint64(detector, FM_FMRI_ZFS_VDEV, 417 * We also want to make sure that the detector (pool or vdev) properly 423 if (!fmd_nvl_fmri_present(hdl, detector) || 534 nvlist_t *detector; local [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | scosmb.c | 522 nvlist_t *erp, *detector, *hcelem; local 557 * detector fmri aggregated ID data for SC-DE 580 detector = fm_nvlist_create(NULL); 583 * Create legacy FMRI for the detector 612 (void) nvlist_add_uint8(detector, FM_VERSION, FM_HC_SCHEME_VERSION); 613 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC); 614 (void) nvlist_add_string(detector, FM_FMRI_HC_ROOT, ""); 615 (void) nvlist_add_uint32(detector, FM_FMRI_HC_LIST_SZ, 1); 616 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1); 624 fm_ena_generate(0, FM_ENA_FMT1), detector, NUL [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_ecc.c | 666 nvlist_t *ereport, *detector; local 672 * special detector here. Since we do not have a device path for 689 detector = fm_nvlist_create(nva); 693 ASSERT(detector); 701 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, dev_path, 724 ecc_err->ecc_ena, detector, 735 ecc_err->ecc_ena, detector,
|
H A D | pcisch.c | 2805 nvlist_t *ereport, *detector; local 2814 * special detector here. Since we do not have a device path for 2829 detector = fm_nvlist_create(nva); 2833 ASSERT(detector); 2841 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, dev_path, 2848 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf, ena, detector, 2856 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf, ena, detector,
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 77 const char *faultname, uint64_t ena, nvlist_t *detector, nvlist_t *payload) 90 e |= nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, detector); 76 dt_post_ereport(fmd_hdl_t *hdl, fmd_xprt_t *xprt, const char *protocol, const char *faultname, uint64_t ena, nvlist_t *detector, nvlist_t *payload) argument
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 959 nvlist_t *ereport, *detector; local 995 detector = fm_nvlist_create(NULL); 998 * Create an HC-scheme detector FMRI. 1000 fm_fmri_hc_set(detector, FM_HC_SCHEME_VERSION, NULL, NULL, 1, 1004 fm_ena_generate(0, FM_ENA_FMT1), detector, NULL); 1009 fm_nvlist_destroy(detector, FM_NVA_FREE);
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 144 fmd_case_t *fmcase, nvlist_t *detector, char *arg); 331 nvlist_t *detector = NULL; local 343 &detector, pathstr); 347 if (detector == NULL) { 356 &detector); 358 publish_undiagnosable(hdl, ffep, fmcase, detector, arg); 379 publish_undiagnosable(hdl, ffep, fmcase, detector, arg); 380 nvlist_free(detector); 390 nvlist_free(detector); 394 &detector, pathst 1507 nvlist_t *detector = NULL; local 3048 publish_undiagnosable(fmd_hdl_t *hdl, fmd_event_t *ffep, fmd_case_t *fmcase, nvlist_t *detector, char *arg) argument 3101 nvlist_t *defect, *fault, *detector = NULL; local [all...] |
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 677 * The mc argument is used to formulate a detector and this mc should 681 * it will be an ereport formed using the given class suffix, detector 693 nvlist_t *ereport, *detector; local 697 detector = mc_fmri_create(mc); 702 fm_ena_generate(gethrtime(), FM_ENA_FMT1), detector, NULL); 703 fm_nvlist_destroy(detector, FM_NVA_FREE);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 324 * payload - eg no payload to be named "class", "version", "detector" etc 329 * the property-value becomes part of the ereport detector. The value 347 nvlist_t *detector = NULL; local 399 * D: detector (path and optional devid authority) 420 /* D: detector: form dev scheme fmri with path and devid. */ 434 detector = fm_nvlist_create(nva); 435 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, path, 439 fm_ereport_set(ereport, version, class, ena, detector, NULL); 463 if (detector && (nva == NULL)) 464 fm_nvlist_destroy(detector, FM_NVA_FRE [all...] |
H A D | pcifm.c | 1170 nvlist_t *ereport, *detector; local 1181 detector = fm_nvlist_create(nva); 1184 detector = fm_nvlist_create(NULL); 1188 fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, 1192 fm_ereport_set(ereport, version, ddi_error_class, ena, detector, NULL); 1204 fm_nvlist_destroy(detector, FM_NVA_FREE);
|
H A D | fm.c | 805 * detector nvlist_t <detector> 819 uint64_t ena, const nvlist_t *detector, ...) 843 (nvlist_t *)detector) != 0) { 847 va_start(ap, detector); 818 fm_ereport_set(nvlist_t *ereport, int version, const char *erpt_class, uint64_t ena, const nvlist_t *detector, ...) argument
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sgsbbc_mailbox.c | 2456 nvlist_t *erp, *detector, *hcelem; local 2494 * detector fmri aggregated ID data for SC-DE 2515 detector = fm_nvlist_create(NULL); 2518 * Create legacy FMRI for the detector 2539 (void) nvlist_add_uint8(detector, FM_VERSION, FM_HC_SCHEME_VERSION); 2540 (void) nvlist_add_string(detector, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC); 2541 (void) nvlist_add_string(detector, FM_FMRI_HC_ROOT, ""); 2542 (void) nvlist_add_uint32(detector, FM_FMRI_HC_LIST_SZ, 1); 2543 (void) nvlist_add_nvlist_array(detector, FM_FMRI_HC_LIST, &hcelem, 1); 2551 fm_ena_generate(0, FM_ENA_FMT1), detector, NUL [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 827 nvlist_t *ereport, *detector; local 857 * - detector 871 * The detector FMRI. 873 if ((detector = cms_ereport_detector(hdl, bankidx, mscookie, 875 detector = gcpu_fmri_create(hdl, nva); 884 cmi_hdl_strandid(hdl), FM_ENA_FMT1), detector, NULL); 887 fm_nvlist_destroy(detector, FM_NVA_RETAIN); 890 fm_nvlist_destroy(detector, FM_NVA_FREE);
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcie_fault.c | 2624 nvlist_t **detector, errorq_elem_t **eqep) 2645 *detector = fm_nvlist_create(nva); 2653 fm_fmri_dev_set(*detector, FM_DEV_SCHEME_VERSION, NULL, 2659 fm_ereport_set(*ereport, 0, PCIE_EREPORT, ena, *detector, NULL); 2666 pf_ereport_post(dev_info_t *dip, nvlist_t **ereport, nvlist_t **detector, argument 2678 nvlist_t *detector; local 2698 &ereport, &detector, &eqep) != DDI_SUCCESS) 2954 pf_ereport_post(PCIE_BUS2DIP(bus_p), &ereport, &detector, local 2623 pf_ereport_setup(dev_info_t *dip, uint64_t ena, nvlist_t **ereport, nvlist_t **detector, errorq_elem_t **eqep) argument
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus.c | 1509 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/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 161 uint64_t ena, nvlist_t *detector, nvlist_t *payload) 175 e |= nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, detector); 160 slt_post_ereport(fmd_hdl_t *hdl, fmd_xprt_t *xprt, const char *ereport_class, uint64_t ena, nvlist_t *detector, nvlist_t *payload) argument
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | mc-opl.c | 935 nvlist_t *ereport, *detector, *resource; local 959 detector = fm_nvlist_create(nva); 968 (void) fm_fmri_dev_set(detector, FM_DEV_SCHEME_VERSION, NULL, 982 fm_ena_generate(mc_aflt->mflt_id, FM_ENA_FMT1), detector, NULL); 1103 fm_nvlist_destroy(detector, FM_NVA_FREE);
|