Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c42 ASSERT(tpool->tp_current == 0 && tpool->tp_active == NULL); in delete_pool()
77 if (--tpool->tp_current == 0 && in worker_cleanup()
148 if (tpool->tp_current <= tpool->tp_minimum || in tpool_worker()
212 if (elapsed && tpool->tp_current > tpool->tp_minimum) { in tpool_worker()
429 else if (tpool->tp_current >= tpool->tp_maximum) { in tpool_dispatch()
434 tpool->tp_current++; in tpool_dispatch()
435 } else if (tpool->tp_current > 0) { in tpool_dispatch()
497 while (tpool->tp_current != 0) in tpool_destroy()
514 if (tpool->tp_current == 0) { in tpool_abandon()
586 while (excess-- > 0 && tpool->tp_current < tpool->tp_maximum) { in tpool_resume()
[all …]
H A Dthread_pool_impl.h79 int tp_current; /* current number of worker threads */ member
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi1813 <var-decl name='tp_current' type-id='95e97e5e' visibility='default'/>
5473 <var-decl name='tp_current' type-id='95e97e5e' visibility='default'/>