Searched refs:tq_maxthreads (Results 1 – 2 of 2) sorted by relevance
933 if ((tq->tq_nthreads + tq->tq_nspawn < tq->tq_maxthreads) && in taskq_thread_spawn()1008 if (tq->tq_nthreads >= tq->tq_maxthreads) in taskq_thread()1236 tqks->tqks_threads_max.value.ui64 = tq->tq_maxthreads; in taskq_kstats_update()1365 tq->tq_maxthreads = nthreads; in taskq_create()1730 tq->tq_maxthreads = nthreads; in spl_taskq_expand()1733 tq->tq_maxthreads > tq->tq_nthreads) { in spl_taskq_expand()1764 tq->tq_maxthreads = nthreads; in spl_taskq_prepare_down()1767 tq->tq_maxthreads < tq->tq_nthreads) { in spl_taskq_prepare_down()1768 ASSERT3U(tq->tq_maxthreads, ==, tq->tq_nthreads - 1); in spl_taskq_prepare_down()
118 int tq_maxthreads; /* # of threads maximum */ member