Lines Matching refs:worker_groups

189 		group = conf->worker_groups + cpu_to_group(cpu);  in raid5_wakeup_stripe_thread()
203 group = conf->worker_groups + cpu_to_group(sh->cpu); in raid5_wakeup_stripe_thread()
5329 handle_list = try_loprio ? &conf->worker_groups[group].loprio_list : in __get_priority_stripe()
5330 &conf->worker_groups[group].handle_list; in __get_priority_stripe()
5331 wg = &conf->worker_groups[group]; in __get_priority_stripe()
5335 handle_list = try_loprio ? &conf->worker_groups[i].loprio_list : in __get_priority_stripe()
5336 &conf->worker_groups[i].handle_list; in __get_priority_stripe()
5337 wg = &conf->worker_groups[i]; in __get_priority_stripe()
6219 int group_id = group - conf->worker_groups; in raid5_do_work()
6582 struct r5worker_group **worker_groups);
6609 old_groups = conf->worker_groups; in raid5_store_group_thread_cnt()
6620 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()
6657 struct r5worker_group **worker_groups) in alloc_thread_groups() argument
6666 *worker_groups = NULL; in alloc_thread_groups()
6672 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group), in alloc_thread_groups()
6674 if (!*worker_groups || !workers) { in alloc_thread_groups()
6676 kfree(*worker_groups); in alloc_thread_groups()
6683 group = &(*worker_groups)[i]; in alloc_thread_groups()
6704 if (conf->worker_groups) in free_thread_groups()
6705 kfree(conf->worker_groups[0].workers); in free_thread_groups()
6706 kfree(conf->worker_groups); in free_thread_groups()
6707 conf->worker_groups = NULL; in free_thread_groups()
6913 conf->worker_groups = new_group; in setup_conf()