Searched refs:max_nthreads (Results 1 – 1 of 1) sorted by relevance
2571 int max_nthreads; in taskq_create_common() local2609 nthreads = max_nthreads = 1; in taskq_create_common()2629 max_nthreads = TASKQ_THREADS_PCT(max_ncpus, pct); in taskq_create_common()2633 max_nthreads = nthreads; in taskq_create_common()2636 if (max_nthreads < taskq_minimum_nthreads_max) in taskq_create_common()2637 max_nthreads = taskq_minimum_nthreads_max; in taskq_create_common()2650 tq->tq_nthreads_max = max_nthreads; in taskq_create_common()2659 if (max_nthreads > 1) in taskq_create_common()2661 sizeof (kthread_t *) * max_nthreads, KM_SLEEP); in taskq_create_common()