Home
last modified time | relevance | path

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

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