Searched refs:max_nthreads (Results 1 – 1 of 1) sorted by relevance
1867 int max_nthreads; in taskq_create_common() local1897 nthreads = max_nthreads = 1; in taskq_create_common()1917 max_nthreads = TASKQ_THREADS_PCT(max_ncpus, pct); in taskq_create_common()1921 max_nthreads = nthreads; in taskq_create_common()1924 if (max_nthreads < taskq_minimum_nthreads_max) in taskq_create_common()1925 max_nthreads = taskq_minimum_nthreads_max; in taskq_create_common()1938 tq->tq_nthreads_max = max_nthreads; in taskq_create_common()1947 if (max_nthreads > 1) in taskq_create_common()1949 sizeof (kthread_t *) * max_nthreads, KM_SLEEP); in taskq_create_common()