Lines Matching refs:worker_cnt_per_group
189 if (conf->worker_cnt_per_group == 0) { in raid5_wakeup_stripe_thread()
202 for (i = 1; i < conf->worker_cnt_per_group && thread_cnt > 0; i++) { in raid5_wakeup_stripe_thread()
250 if (conf->worker_cnt_per_group == 0) { in do_release_stripe()
5338 if (conf->worker_cnt_per_group == 0) { in __get_priority_stripe()
5383 if (conf->worker_cnt_per_group == 0 || in __get_priority_stripe()
6594 ret = sprintf(page, "%d\n", conf->worker_cnt_per_group); in raid5_show_group_thread_cnt()
6601 int *worker_cnt_per_group,
6610 int group_cnt, worker_cnt_per_group; in raid5_store_group_thread_cnt() local
6626 else if (new != conf->worker_cnt_per_group) { in raid5_store_group_thread_cnt()
6634 &group_cnt, &worker_cnt_per_group, in raid5_store_group_thread_cnt()
6639 conf->worker_cnt_per_group = worker_cnt_per_group; in raid5_store_group_thread_cnt()
6677 int *worker_cnt_per_group, in alloc_thread_groups() argument
6684 *worker_cnt_per_group = cnt; in alloc_thread_groups()
6885 int group_cnt, worker_cnt_per_group; in setup_conf() local
6931 if (!alloc_thread_groups(conf, 0, &group_cnt, &worker_cnt_per_group, in setup_conf()
6934 conf->worker_cnt_per_group = worker_cnt_per_group; in setup_conf()