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

/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dwork_thread.c212 if (slots_used >= c->workitems_alloc) {
213 new_alloc = c->workitems_alloc + WORKITEMS_ALLOC_INC;
215 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx)
218 c->head_workitem = c->workitems_alloc;
219 c->workitems_alloc = new_alloc;
221 INSIST(NULL == c->workitems[c->head_workitem % c->workitems_alloc]);
278 c->workitems[qhead % c->workitems_alloc] = hdr;
346 qtail %= c->workitems_alloc;
/netbsd-current/external/bsd/ntp/dist/include/
H A Dntp_worker.h101 volatile size_t workitems_alloc; member in struct:blocking_child_tag

Completed in 178 milliseconds