Searched refs:eonce (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/pf/libevent/
H A Devent.c456 struct event_once *eonce = arg; local
458 (*eonce->cb)(fd, events, eonce->arg);
459 free(eonce);
468 struct event_once *eonce; local
476 if ((eonce = calloc(1, sizeof(struct event_once))) == NULL)
479 eonce->cb = callback;
480 eonce->arg = arg;
488 evtimer_set(&eonce->ev, event_once_cb, eonce);
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devent.c833 struct event_once *eonce = LIST_FIRST(&base->once_events); local
834 LIST_REMOVE(eonce, next_once);
835 mm_free(eonce);
1938 struct event_once *eonce = arg; local
1940 (*eonce->cb)(fd, events, eonce->arg);
1941 EVBASE_ACQUIRE_LOCK(eonce->ev.ev_base, th_base_lock);
1942 LIST_REMOVE(eonce, next_once);
1943 EVBASE_RELEASE_LOCK(eonce->ev.ev_base, th_base_lock);
1944 event_debug_unassign(&eonce
1963 struct event_once *eonce; local
[all...]

Completed in 87 milliseconds