Searched refs:workitems_alloc (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/contrib/ntp/libntp/
H A Dwork_thread.c199 if (slots_used >= c->workitems_alloc) {
200 new_alloc = c->workitems_alloc + WORKITEMS_ALLOC_INC;
202 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx)
205 c->head_workitem = c->workitems_alloc;
206 c->workitems_alloc = new_alloc;
208 INSIST(NULL == c->workitems[c->head_workitem % c->workitems_alloc]);
265 c->workitems[qhead % c->workitems_alloc] = hdr;
333 qtail %= c->workitems_alloc;
/freebsd-11.0-release/contrib/ntp/include/
H A Dntp_worker.h99 volatile size_t workitems_alloc; member in struct:blocking_child_tag

Completed in 104 milliseconds