/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | fm.c | 150 ereport(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function 176 * The following code attempts to pretty print the ereport class
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_fm.c | 198 * Initialize pci ereport capabilities if ereport capable 319 hxge_fm_ereport_attr_t *ereport) 327 ereport->eclass); 329 err_str = ereport->str; 333 switch (ereport->index) { 383 if (ereport->index == HXGE_FM_EREPORT_RDMC_RBR_PRE_PAR) 318 hxge_fm_ereport(p_hxge_t hxgep, uint8_t err_chan, hxge_fm_ereport_attr_t *ereport) argument
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fm.c | 378 * Initialize pci ereport capabilities if ereport capable 516 nxge_fm_ereport_attr_t *ereport) 524 ereport->eclass); 525 err_str = ereport->str; 529 switch (ereport->index) { 686 if (ereport->index == NXGE_FM_EREPORT_RDMC_RBR_PRE_PAR) 515 nxge_fm_ereport(p_nxge_t nxgep, uint8_t err_portn, uint8_t err_chan, nxge_fm_ereport_attr_t *ereport) argument
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_ecc.c | 578 * ecc_err_cexdiag below and post the ereport. 666 nvlist_t *ereport, *detector; local 687 ereport = errorq_elem_nvl(fmhdl->fh_errorq, eqep); 691 ASSERT(ereport); 723 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf, 734 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf,
|
H A D | pcisch.c | 2805 nvlist_t *ereport, *detector; local 2827 ereport = errorq_elem_nvl(fmhdl->fh_errorq, eqep); 2831 ASSERT(ereport); 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/uts/common/fs/zfs/ |
H A D | zfs_fm.c | 83 * We still generate an ereport, but the DE doesn't correlate it with any 85 * will issue a retry, which will trigger the 'real' ereport with the correct 92 * this pointer is set to NULL, and no ereport will be generated (since it 97 * error which occurs. Accordingly, we build an ereport when the error is 102 * ereport with information about the differences. 110 nvlist_t *ereport, *detector; local 149 * If this I/O is not a retry I/O, don't post an ereport. 191 if ((ereport = fm_nvlist_create(NULL)) == NULL) 195 fm_nvlist_destroy(ereport, FM_NVA_FREE); 200 * Serialize ereport generatio 503 annotate_ecksum(nvlist_t *ereport, zio_bad_cksum_t *info, const uint8_t *goodbuf, const uint8_t *badbuf, size_t size, boolean_t drop_if_identical) argument 673 nvlist_t *ereport = NULL; local 785 nvlist_t *ereport = NULL; local [all...] |
H A D | spa.c | 150 char **ereport); 2124 char *ereport = FM_EREPORT_ZFS_POOL; local 2165 mosconfig, &ereport); 2180 zfs_ereport_post(ereport, spa, NULL, NULL, 0, 0); 2224 char **ereport) 2813 *ereport = FM_EREPORT_ZFS_LOG_REPLAY; 2222 spa_load_impl(spa_t *spa, uint64_t pool_guid, nvlist_t *config, spa_load_state_t state, spa_import_type_t type, boolean_t mosconfig, char **ereport) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 71 * should have ereport events generated for them. 292 * post a device tree oriented dev_scheme ereport. The device tree is 296 * for the ereport is communicated by the 'dip' argument. A minor node, 329 * the property-value becomes part of the ereport detector. The value 346 nvlist_t *ereport = NULL; local 354 ASSERT(ap != NULL); /* must supply at least ereport version */ 365 /* get ereport nvlist handle */ 377 if ((ereport = fm_nvlist_create(NULL)) == NULL) 388 ereport = errorq_elem_nvl(fmhdl->fh_errorq, eqep); 392 ASSERT(ereport); [all...] |
H A D | pcifm.c | 340 * pcix_ereport_setup: Allocate structures for PCI-X error handling and ereport 410 * If device is not ereport capbable then report an error against the 992 * Generate an ereport for this error bit. 1061 * On PCI Express systems, all error handling and ereport are done via 1170 nvlist_t *ereport, *detector; local 1179 ereport = errorq_elem_nvl(ereport_errorq, eqep); 1183 ereport = fm_nvlist_create(NULL); 1192 fm_ereport_set(ereport, version, ddi_error_class, ena, detector, NULL); 1196 (void) i_fm_payload_set(ereport, name, ap); 1202 (void) fm_ereport_post(ereport, EVCH_TRYHAR [all...] |
H A D | fm.c | 99 * Common fault management kstats to record ereport generation 150 panic("failed to create required ereport error queue"); 155 /* Initialize ereport allocation and generation kstats */ 456 * iterates over the in-transit messages in the ereport sysevent channel. 508 * Post an error report (ereport) to the sysevent error channel. The error 513 fm_ereport_post(nvlist_t *ereport, int evc_flag) argument 518 (void) nvlist_size(ereport, &nvl_size, NV_ENCODE_NATIVE); 531 SUNW_VENDOR, FM_PUB, ereport, evc_flag) != 0) { 798 * Set-up and validate the members of an ereport event according to: 802 * class string ereport 818 fm_ereport_set(nvlist_t *ereport, int version, const char *erpt_class, uint64_t ena, const nvlist_t *detector, ...) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/genuineintel/ |
H A D | gintel_main.c | 28 * to modify the ereport subclass to produce different ereport classes 465 gintel_ereport_add_logout(cmi_hdl_t hdl, nvlist_t *ereport, argument 496 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_ECC_SYND, 500 fm_payload_set(ereport, FM_FMRI_MEM_PHYSADDR, 505 fm_payload_set(ereport, 509 fm_payload_set(ereport, 513 fm_payload_set(ereport, 528 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_NAME_RESOURCE, 543 fm_payload_set(ereport, [all...] |
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 959 nvlist_t *ereport, *detector; local 989 cmn_err(CE_WARN, "Invalid SP state 0x%x. No ereport posted.\n", 994 ereport = fm_nvlist_create(NULL); 1003 fm_ereport_set(ereport, FM_EREPORT_VERSION, str, 1006 (void) fm_ereport_post(ereport, EVCH_TRYHARD); 1008 fm_nvlist_destroy(ereport, FM_NVA_FREE);
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 645 mc_ereport_add_payload(nvlist_t *ereport, uint64_t members, mc_unum_t *unump, argument 650 mc_ereport_add_resource(ereport, unump, mc); 674 * Simple ereport generator for errors detected by the memory controller. 675 * Posts an ereport of class ereport.cpu.amd.<class_sfx> with a resource nvlist 680 * There is no control of which members to include the the resulting ereport - 681 * it will be an ereport formed using the given class suffix, detector 693 nvlist_t *ereport, *detector; local 696 ereport = fm_nvlist_create(NULL); 701 fm_ereport_set(ereport, FM_EREPORT_VERSIO [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | literals.h | 68 L_DECL(ereport); variable
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 414 * in ereport payload population to determine ECC syndrome type for 702 ao_ms_ereport_add_logout(cmi_hdl_t hdl, nvlist_t *ereport, argument 720 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_NAME_SYND, 725 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_NAME_SYND_TYPE, 738 ao_ereport_add_resource(hdl, ereport, nva, &unum);
|
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 990 nvlist_t *ereport, nv_alloc_t *nva, void *mslogout) 1043 fm_payload_set(ereport, FM_EREPORT_GENAMD_PAYLOAD_NAME_RESOURCE, 1047 fm_payload_set(ereport, FM_EREPORT_GENAMD_PAYLOAD_NAME_RESOURCECNT, 1060 authamd_ereport_add_logout(cmi_hdl_t hdl, nvlist_t *ereport, nv_alloc_t *nva, argument 1074 fm_payload_set(ereport, FM_EREPORT_GENAMD_PAYLOAD_NAME_SYND, 1079 fm_payload_set(ereport, 1087 fm_payload_set(ereport, FM_EREPORT_GENAMD_PAYLOAD_NAME_CKSYND, 1092 fm_payload_set(ereport, 1101 authamd_ereport_add_resource(hdl, authamd, ereport, nva, 989 authamd_ereport_add_resource(cmi_hdl_t hdl, authamd_data_t *authamd, nvlist_t *ereport, nv_alloc_t *nva, void *mslogout) argument
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nb5000.c | 248 /* unknown ereport if a recognizable error was not found */ 422 * Invalidate the channel number so the mem ereport 2163 nvlist_t *ereport, *detector; local 2171 ereport = errorq_elem_nvl(ereport_errorq, eqep); 2175 * nvlists to add the main ereport). If we can't reserve 2187 ereport = fm_nvlist_create(NULL); 2192 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf, 2207 nb_ereport_add_logout(ereport, acl, &nb_scatchpad); 2214 (void) fm_ereport_post(ereport, EVCH_TRYHARD); 2215 fm_nvlist_destroy(ereport, FM_NVA_FRE [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 69 * error logout time. The stack will be included in the ereport if the 272 * mnemonics and to ereport class name components. 277 const char *mne_ereport; /* used in expanding ereport class */ 383 * The ereport class leaf component is either a simple string with no 543 * errorq for subsequent ereport preparation and logging etc. The caller 628 gcpu_ereport_add_logout(nvlist_t *ereport, const gcpu_logout_t *gcl, argument 648 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_NAME_COMPOUND_ERR, 696 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_NAME_DISP, 702 * this ereport was the result of a machine check or poll. 705 fm_payload_set(ereport, FM_EREPORT_PAYLOAD_NAME_MCG_STATU 827 nvlist_t *ereport, *detector; local [all...] |
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcie_fault.c | 1008 * If device is only ereport capable and not callback capable 2623 pf_ereport_setup(dev_info_t *dip, uint64_t ena, nvlist_t **ereport, argument 2636 *ereport = errorq_elem_nvl(fmhdl->fh_errorq, *eqep); 2639 ASSERT(*ereport); 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 2677 nvlist_t *ereport; local 2698 &ereport, &detector, &eqep) != DDI_SUCCESS) 2702 fm_payload_set(ereport, 2714 fm_payload_set(ereport, 2954 pf_ereport_post(PCIE_BUS2DIP(bus_p), &ereport, &detector, local [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus.c | 1026 * now with FMA it is used to prepare 'flt' to be converted into an ereport. 1028 * caller whether the ereport should be posted (1) or suppressed (0). 1369 * the FM ereport payload. 1509 nvlist_t *ereport, *detector, *resource; local 1517 ereport = errorq_elem_nvl(ereport_errorq, eqep); 1520 ereport = fm_nvlist_create(nva); 1546 * Encode all the common data into the ereport. 1551 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf, 1556 * the async_flt structure into the ereport. 1558 cpu_payload_add_aflt(aflt, ereport, resourc [all...] |
H A D | us3_common.c | 2280 * to indicate which portions of the captured data should be in the ereport. 2325 * to indicate which portions of the captured data should be in the ereport. 2374 * now with FMA it is used to prepare 'flt' to be converted into an ereport. 2376 * caller whether the ereport should be posted (1) or suppressed (0). 2391 * an ereport. 2599 * converted into an ereport. In addition, it transmits the error to any 3179 * cpu has been DR'd out then ereport detector info will not be able to 4319 * Add L1 Data cache data to the ereport payload. 4366 * Add L1 Instruction cache data to the ereport payload. 4502 * Returns ereport resourc 6668 nvlist_t *ereport, *detector, *resource; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | mc-opl.c | 935 nvlist_t *ereport, *detector, *resource; local 950 ereport = errorq_elem_nvl(ereport_errorq, eqep); 953 ereport = fm_nvlist_create(nva); 972 * Encode all the common data into the ereport. 978 MC_LOG("mc_ereport_post: ereport %s\n", buf); 981 fm_ereport_set(ereport, FM_EREPORT_VERSION, buf, 987 fm_payload_set(ereport, MC_OPL_BOARD, DATA_TYPE_UINT32, 990 fm_payload_set(ereport, MC_OPL_PA, DATA_TYPE_UINT64, 995 fm_payload_set(ereport, MC_OPL_FLT_TYPE, DATA_TYPE_UINT8, 1002 fm_payload_set(ereport, MC_OPL_BAN [all...] |