Lines Matching refs:min_threads
860 * @min_threads: min number of threads to run in @pool
864 * between @min_threads and @max_threads.
866 * If @min_threads is 0 or larger than @max_threads, then it is ignored and
877 unsigned int min_threads, unsigned int max_threads)
885 if (min_threads > max_threads)
886 min_threads = max_threads;
888 pool->sp_nrthrmin = min_threads;
892 * When min_threads is set, then only change the number of
895 if (min_threads) {
898 else if (pool->sp_nrthreads < min_threads)
899 delta = min_threads;
918 * @min_threads: min number of threads to run per pool
933 svc_set_num_threads(struct svc_serv *serv, unsigned int min_threads,
949 err = svc_set_pool_threads(serv, pool, min_threads, threads);