Home
last modified time | relevance | path

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

/NextBSD/contrib/ntp/libntp/
HDntp_intres.c193 dnsworker_ctx ** dnsworker_contexts; /* child */ variable
957 const size_t worker_context_sz = sizeof(*dnsworker_contexts[0]); in alloc_dnsworker_context()
959 REQUIRE(NULL == dnsworker_contexts[idx]); in alloc_dnsworker_context()
960 dnsworker_contexts[idx] = emalloc_zero(worker_context_sz); in alloc_dnsworker_context()
970 static size_t ps = sizeof(dnsworker_contexts[0]); in get_worker_context()
982 dnsworker_contexts = erealloc_zero(dnsworker_contexts, in get_worker_context()
987 if (NULL == dnsworker_contexts[idx]) in get_worker_context()
989 ZERO(*dnsworker_contexts[idx]); in get_worker_context()
990 dnsworker_contexts[idx]->c = c; in get_worker_context()
992 return dnsworker_contexts[idx]; in get_worker_context()