Lines Matching defs:eonce
1649 struct event_once *eonce = arg;
1651 (*eonce->cb)(fd, events, eonce->arg);
1652 event_debug_unassign(&eonce->ev);
1653 mm_free(eonce);
1671 struct event_once *eonce;
1680 if ((eonce = mm_calloc(1, sizeof(struct event_once))) == NULL)
1683 eonce->cb = callback;
1684 eonce->arg = arg;
1692 evtimer_assign(&eonce->ev, base, event_once_cb, eonce);
1696 event_assign(&eonce->ev, base, fd, events, event_once_cb, eonce);
1699 mm_free(eonce);
1704 res = event_add(&eonce->ev, tv);
1706 mm_free(eonce);