Home
last modified time | relevance | path

Searched refs:ev_nvl (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_event.c46 (void) nvlist_remove_all(ep->ev_nvl, FMD_EVN_TTL); in fmd_event_nvwrap()
47 (void) nvlist_remove_all(ep->ev_nvl, FMD_EVN_TOD); in fmd_event_nvwrap()
49 (void) nvlist_add_uint8(ep->ev_nvl, in fmd_event_nvwrap()
51 (void) nvlist_add_uint64_array(ep->ev_nvl, in fmd_event_nvwrap()
61 if (nvlist_lookup_uint8(ep->ev_nvl, FMD_EVN_TTL, &ep->ev_ttl) != 0) { in fmd_event_nvunwrap()
68 else if (nvlist_lookup_uint64_array(ep->ev_nvl, in fmd_event_nvunwrap()
90 ep->ev_nvl = nvl; in fmd_event_recreate()
141 ep->ev_nvl = nvl; in fmd_event_create()
223 nvlist_free(ep->ev_nvl); in fmd_event_destroy()
H A Dfmd_event.h49 nvlist_t *ev_nvl; /* event name/value pair payload */ member
81 #define FMD_EVENT_NVL(e) (((fmd_event_impl_t *)e)->ev_nvl)
H A Dfmd_log.c526 (void) nvlist_size(ep->ev_nvl, &nvsize, NV_ENCODE_XDR); in fmd_log_append()
528 (void) nvlist_pack(ep->ev_nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0); in fmd_log_append()
H A Dfmd_module.c563 ops->fmdo_recv(hdl, e, ep->ev_nvl, ep->ev_data); in fmd_module_dispatch()
615 return (mp->mod_info->fmdi_ops->fmdo_send(hdl, xp, e, ep->ev_nvl)); in fmd_module_transport()
H A Dfmd_mdb.c665 addr, type, name, ev.ev_refs, ev.ev_nvl); in fmd_event()
H A Dfmd_case.c1649 if (nvlist_lookup_boolean_value(((fmd_event_impl_t *)ep)->ev_nvl, in fmd_case_insert_event()
/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c261 nvlist_t *ev_nvl, *attr_nvl; in nd_get_event_fmri() local
264 if ((ev_nvl = fmev_attr_list(ev)) == NULL) { in nd_get_event_fmri()
268 if (nvlist_lookup_nvlist(ev_nvl, "attr", &attr_nvl) || in nd_get_event_fmri()
270 nd_error(nhdl, "Malformed event 0x%p", (void *)ev_nvl); in nd_get_event_fmri()
281 nvlist_t *ev_nvl, *top_nvl, **np_nvlarr, *mech_nvl; in nd_get_notify_prefs() local
285 if ((ev_nvl = fmev_attr_list(ev)) == NULL) { in nd_get_notify_prefs()
290 if ((ret = smf_notify_get_params(&top_nvl, ev_nvl)) != SCF_SUCCESS) { in nd_get_notify_prefs()
516 nvlist_t *ev_nvl, *attr_nvl; in nd_get_event_info() local
531 ev_nvl = fmev_attr_list(ev); in nd_get_event_info()
561 evi->ei_payload = ev_nvl; in nd_get_event_info()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c191 get_notify_prefs(fmd_hdl_t *hdl, nvlist_t *ev_nvl, nvlist_t ***pref_nvl, in get_notify_prefs() argument
199 if ((ret = smf_notify_get_params(&top_nvl, ev_nvl)) != SCF_SUCCESS) { in get_notify_prefs()