Lines Matching refs:erpt
43 fab_prep_basic_erpt(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *erpt,
65 /* Copy the tod and ena to erpt */
66 (void) nvlist_add_uint64(erpt, FM_EREPORT_ENA, ena);
67 (void) nvlist_add_uint64_array(erpt, "__tod", now, nelem);
82 /* Copy the FMRI to erpt */
83 (void) nvlist_add_nvlist(erpt, FM_EREPORT_DETECTOR, new_detector);
94 nvlist_t *erpt;
130 /* Allocate space for new erpt */
131 if (nvlist_alloc(&erpt, NV_UNIQUE_NAME, 0) != 0)
137 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf);
143 /* Copy the tod and ena to erpt */
144 (void) nvlist_add_uint64(erpt, FM_EREPORT_ENA, ena);
145 (void) nvlist_add_uint64_array(erpt, "__tod", now, nelem);
149 nvlist_free(erpt);
157 (void) nvlist_add_nvlist(erpt, FM_EREPORT_DETECTOR, detector);
161 (void) nvlist_add_uint64(erpt, PCI_PA, tgt_addr);
165 fmd_xprt_post(hdl, fab_fmd_xprt, erpt, 0);
186 nvlist_t *erpt;
201 if (nvlist_alloc(&erpt, NV_UNIQUE_NAME, 0) != 0)
203 if (tbl->fab_prep(hdl, data, erpt, entry) != 0) {
206 nvlist_free(erpt);
211 fab_send_erpt_all_rps(hdl, erpt);
212 nvlist_free(erpt);
217 fmd_xprt_post(hdl, fab_fmd_xprt, erpt, 0);
887 fab_send_erpt_all_rps(fmd_hdl_t *hdl, nvlist_t *erpt)
898 if (!fab_get_hcpath(hdl, erpt, &hbpath, &len)) {
931 if (nvlist_dup(erpt, &nvl, NV_UNIQUE_NAME) != 0 ||