Home
last modified time | relevance | path

Searched refs:pref_nvl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c118 get_snmp_prefs(nd_hdl_t *nhdl, nvlist_t **pref_nvl, uint_t npref) in get_snmp_prefs() argument
132 r = nvlist_lookup_boolean_array(pref_nvl[0], "active", &a1, &n); in get_snmp_prefs()
133 r += nvlist_lookup_boolean_array(pref_nvl[1], "active", &a2, in get_snmp_prefs()
138 nd_dump_nvlist(nhdl, pref_nvl[0]); in get_snmp_prefs()
139 nd_dump_nvlist(nhdl, pref_nvl[1]); in get_snmp_prefs()
146 if (nvlist_lookup_boolean_array(pref_nvl[0], "active", in get_snmp_prefs()
150 nd_dump_nvlist(nhdl, pref_nvl[0]); in get_snmp_prefs()
388 nvlist_t **pref_nvl = NULL; in ireport_cb() local
396 ret = nd_get_notify_prefs(nhdl, "snmp", ev, &pref_nvl, &npref); in ireport_cb()
409 if (get_snmp_prefs(nhdl, pref_nvl, npref) != 0) in ireport_cb()
[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
229 *pref_nvl = fmd_hdl_zalloc(hdl, sz, FMD_SLEEP); in get_notify_prefs()
231 bcopy(tmparr, *pref_nvl, sz); in get_notify_prefs()
234 *pref_nvl = NULL; in get_notify_prefs()
/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c279 nvlist_t ***pref_nvl, uint_t *nprefs) in nd_get_notify_prefs() argument
311 *pref_nvl = malloc(nelem * sizeof (nvlist_t *)); in nd_get_notify_prefs()
316 (void) nvlist_dup(mech_nvl, *pref_nvl + *nprefs, 0); in nd_get_notify_prefs()
324 free(*pref_nvl); in nd_get_notify_prefs()