Home
last modified time | relevance | path

Searched refs:npref (Results 1 – 4 of 4) 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
131 if (npref == 2) { in get_snmp_prefs()
391 uint_t npref; 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()
436 nd_free_nvlarray(pref_nvl, npref); in ireport_cb()
447 uint_t npref; in list_cb() local
453 ret = nd_get_notify_prefs(nhdl, "snmp", ev, &pref_nvl, &npref); in list_cb()
466 if (get_snmp_prefs(nhdl, pref_nvl, npref) != 0) in list_cb()
496 nd_free_nvlarray(pref_nvl, npref); in list_cb()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c1016 struct node *npstart, *npcont, *npend, *npref, *newnp, *nprest; in eval_dup() local
1074 for (npref = npstart; npref != NULL; in eval_dup()
1075 npref = npref->u.name.next) { in eval_dup()
1077 newnp->u.name.t = npref->u.name.t; in eval_dup()
1078 newnp->u.name.s = npref->u.name.s; in eval_dup()
1080 newnp->u.name.it = npref->u.name.it; in eval_dup()
1081 newnp->u.name.cp = npref->u.name.cp; in eval_dup()
1084 if (eval_expr(npref->u.name.child, ex, events, in eval_dup()
1099 for (npref = npcont; npref != NULL && npref != npend; in eval_dup()
1100 npref = npref->u.name.next) { in eval_dup()
[all …]
H A Ditree.c278 struct node *npref, *npend, *np1, *np2; in tname_dup_to_epname() local
291 for (npref = epname; npref; npref = npref->u.name.next) { in tname_dup_to_epname()
292 if (npref->u.name.s == oldepname->u.name.s) { in tname_dup_to_epname()
293 for (np1 = npref, np2 = oldepname; in tname_dup_to_epname()
322 for (npref = epname; in tname_dup_to_epname()
323 ! (npref == NULL || npref == npend); in tname_dup_to_epname()
324 npref = npref->u.name.next) { in tname_dup_to_epname()
328 newnp->u.name.t = npref->u.name.t; in tname_dup_to_epname()
329 newnp->u.name.s = npref->u.name.s; in tname_dup_to_epname()
331 newnp->u.name.it = npref->u.name.it; in tname_dup_to_epname()
[all …]
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c398 uint_t npref, tn1 = 0, tn2 = 0; in get_email_prefs() local
402 r = nd_get_notify_prefs(nhdl, "smtp", ev, &p_nvl, &npref); in get_email_prefs()
443 if (npref == 2) { in get_email_prefs()
563 nd_free_nvlarray(p_nvl, npref); in get_email_prefs()