Lines Matching refs:worker_cnt_per_group
266 if (conf->worker_cnt_per_group == 0) { in raid5_wakeup_stripe_thread()
279 for (i = 1; i < conf->worker_cnt_per_group && thread_cnt > 0; i++) { in raid5_wakeup_stripe_thread()
304 if (conf->worker_cnt_per_group == 0) { in do_release_stripe()
4907 if (conf->worker_cnt_per_group == 0) { in __get_priority_stripe()
4949 if (conf->worker_cnt_per_group == 0 || in __get_priority_stripe()
6154 ret = sprintf(page, "%d\n", conf->worker_cnt_per_group); in raid5_show_group_thread_cnt()
6161 int *worker_cnt_per_group,
6170 int group_cnt, worker_cnt_per_group; in raid5_store_group_thread_cnt() local
6183 else if (new != conf->worker_cnt_per_group) { in raid5_store_group_thread_cnt()
6191 &group_cnt, &worker_cnt_per_group, in raid5_store_group_thread_cnt()
6196 conf->worker_cnt_per_group = worker_cnt_per_group; in raid5_store_group_thread_cnt()
6232 int *worker_cnt_per_group, in alloc_thread_groups() argument
6239 *worker_cnt_per_group = cnt; in alloc_thread_groups()
6469 int group_cnt, worker_cnt_per_group; in setup_conf() local
6505 if (!alloc_thread_groups(conf, 0, &group_cnt, &worker_cnt_per_group, in setup_conf()
6508 conf->worker_cnt_per_group = worker_cnt_per_group; in setup_conf()