Home
last modified time | relevance | path

Searched refs:ondest (Results 1 – 3 of 3) sorted by relevance

/NextBSD/contrib/ntp/lib/isc/
HDondestroy.c36 isc_ondestroy_init(isc_ondestroy_t *ondest) { in isc_ondestroy_init() argument
37 ondest->magic = ONDESTROY_MAGIC; in isc_ondestroy_init()
38 ISC_LIST_INIT(ondest->events); in isc_ondestroy_init()
42 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, in isc_ondestroy_register() argument
48 REQUIRE(VALID_ONDESTROY(ondest)); in isc_ondestroy_register()
60 ISC_LIST_APPEND(ondest->events, theevent, ev_link); in isc_ondestroy_register()
66 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender) { in isc_ondestroy_notify() argument
70 REQUIRE(VALID_ONDESTROY(ondest)); in isc_ondestroy_notify()
72 eventp = ISC_LIST_HEAD(ondest->events); in isc_ondestroy_notify()
74 ISC_LIST_UNLINK(ondest->events, eventp, ev_link); in isc_ondestroy_notify()
[all …]
HDmem.c1056 isc_ondestroy_t ondest; in destroy() local
1113 ondest = ctx->ondestroy; in destroy()
1119 isc_ondestroy_notify(&ondest, ctx); in destroy()
/NextBSD/contrib/ntp/lib/isc/include/isc/
HDondestroy.h87 isc_ondestroy_init(isc_ondestroy_t *ondest);
94 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task,
104 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender);