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

/netbsd-current/external/cddl/osnet/lib/libzfs/
H A Dthread_pool.c61 if (--tpool->tp_current == 0 &&
133 if (tpool->tp_current <= tpool->tp_minimum ||
192 if (elapsed && tpool->tp_current > tpool->tp_minimum) {
285 else if (tpool->tp_current < tpool->tp_maximum &&
287 tpool->tp_current++;
323 while (tpool->tp_current != 0)
339 if (tpool->tp_current == 0) {
403 while (excess-- > 0 && tpool->tp_current < tpool->tp_maximum) {
406 tpool->tp_current++;
H A Dthread_pool_impl.h85 int tp_current; /* current number of worker threads */ member in struct:tpool

Completed in 212 milliseconds