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

/freebsd-13-stable/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool_impl.h79 int tp_current; /* current number of worker threads */ member in struct:tpool
H A Dthread_pool.c41 ASSERT(tpool->tp_current == 0 && tpool->tp_active == NULL);
76 if (--tpool->tp_current == 0 &&
148 if (tpool->tp_current <= tpool->tp_minimum ||
212 if (elapsed && tpool->tp_current > tpool->tp_minimum) {
436 else if (tpool->tp_current < tpool->tp_maximum &&
438 tpool->tp_current++;
485 while (tpool->tp_current != 0)
502 if (tpool->tp_current == 0) {
574 while (excess-- > 0 && tpool->tp_current < tpool->tp_maximum) {
577 tpool->tp_current
[all...]

Completed in 33 milliseconds