Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/ntp/libntp/
HDwork_thread.c246 if (slots_used >= c->responses_alloc) { in ensure_workresp_empty_slot()
247 new_alloc = c->responses_alloc + RESPONSES_ALLOC_INC; in ensure_workresp_empty_slot()
249 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx) in ensure_workresp_empty_slot()
252 c->head_response = c->responses_alloc; in ensure_workresp_empty_slot()
253 c->responses_alloc = new_alloc; in ensure_workresp_empty_slot()
255 INSIST(NULL == c->responses[c->head_response % c->responses_alloc]); in ensure_workresp_empty_slot()
379 c->responses[qhead % c->responses_alloc] = resp; in send_blocking_resp_internal()
465 slot = qtail % c->responses_alloc; in receive_blocking_resp_internal()
/freebsd-11-stable/contrib/ntp/include/
HDntp_worker.h107 volatile size_t responses_alloc; member