Lines Matching refs:event
36 destroy(isc_event_t *event) { in destroy() argument
37 isc_mem_put(event->ev_destroy_arg, event, event->ev_size); in destroy()
44 isc_event_t *event; in isc_event_allocate() local
50 event = isc_mem_get(mctx, size); in isc_event_allocate()
51 if (event == NULL) in isc_event_allocate()
68 ISC_EVENT_INIT(event, size, 0, NULL, type, action, deconst_arg, in isc_event_allocate()
71 return (event); in isc_event_allocate()
76 isc_event_t *event; in isc_event_free() local
79 event = *eventp; in isc_event_free()
80 REQUIRE(event != NULL); in isc_event_free()
82 if (event->ev_destroy != NULL) in isc_event_free()
83 (event->ev_destroy)(event); in isc_event_free()