Searched refs:pref_nvl (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/fm/notify/snmp-notify/common/ |
H A D | snmp-notify.c | 114 get_snmp_prefs(nd_hdl_t *nhdl, nvlist_t **pref_nvl, uint_t npref) in get_snmp_prefs() argument 128 r = nvlist_lookup_boolean_array(pref_nvl[0], "active", &a1, &n); in get_snmp_prefs() 129 r += nvlist_lookup_boolean_array(pref_nvl[1], "active", &a2, in get_snmp_prefs() 134 nd_dump_nvlist(nhdl, pref_nvl[0]); in get_snmp_prefs() 135 nd_dump_nvlist(nhdl, pref_nvl[1]); in get_snmp_prefs() 142 if (nvlist_lookup_boolean_array(pref_nvl[0], "active", in get_snmp_prefs() 146 nd_dump_nvlist(nhdl, pref_nvl[0]); in get_snmp_prefs() 384 nvlist_t **pref_nvl = NULL; in ireport_cb() local 392 ret = nd_get_notify_prefs(nhdl, "snmp", ev, &pref_nvl, &npref); in ireport_cb() 405 if (get_snmp_prefs(nhdl, pref_nvl, npref) != 0) in ireport_cb() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 192 get_notify_prefs(fmd_hdl_t *hdl, nvlist_t *ev_nvl, nvlist_t ***pref_nvl, in get_notify_prefs() argument 230 *pref_nvl = fmd_hdl_zalloc(hdl, sz, FMD_SLEEP); in get_notify_prefs() 232 bcopy(tmparr, *pref_nvl, sz); in get_notify_prefs() 235 *pref_nvl = NULL; in get_notify_prefs()
|
/titanic_41/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 279 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()
|