Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/lib/libzfs/
H A Dthread_pool.c45 for (job = tpool->tp_head; job != NULL; job = tpool->tp_head) { in delete_pool()
46 tpool->tp_head = job->tpj_next; in delete_pool()
77 if (tpool->tp_head == NULL && tpool->tp_active == NULL) { in notify_waiters()
130 while ((tpool->tp_head == NULL || in tpool_worker()
158 if (tpool->tp_head == NULL) in tpool_worker()
161 if ((job = tpool->tp_head) != NULL && in tpool_worker()
166 tpool->tp_head = job->tpj_next; in tpool_worker()
275 if (tpool->tp_head == NULL) in tpool_dispatch()
276 tpool->tp_head = job; in tpool_dispatch()
362 while (tpool->tp_head != NULL || tpool->tp_active != NULL) { in tpool_wait()
H A Dthread_pool_impl.h77 tpool_job_t *tp_head; /* FIFO job queue */ member