Lines Matching refs:worker_groups
264 group = conf->worker_groups + cpu_to_group(cpu); in raid5_wakeup_stripe_thread()
275 group = conf->worker_groups + cpu_to_group(sh->cpu); in raid5_wakeup_stripe_thread()
4915 handle_list = &conf->worker_groups[group].handle_list; in __get_priority_stripe()
4916 wg = &conf->worker_groups[group]; in __get_priority_stripe()
4920 handle_list = &conf->worker_groups[i].handle_list; in __get_priority_stripe()
4921 wg = &conf->worker_groups[i]; in __get_priority_stripe()
5773 int group_id = group - conf->worker_groups; in raid5_do_work()
6126 struct r5worker_group **worker_groups);
6150 old_groups = conf->worker_groups; in raid5_store_group_thread_cnt()
6161 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()
6197 struct r5worker_group **worker_groups) in alloc_thread_groups() argument
6206 *worker_groups = NULL; in alloc_thread_groups()
6212 *worker_groups = kzalloc(sizeof(struct r5worker_group) * in alloc_thread_groups()
6214 if (!*worker_groups || !workers) { in alloc_thread_groups()
6216 kfree(*worker_groups); in alloc_thread_groups()
6223 group = &(*worker_groups)[i]; in alloc_thread_groups()
6243 if (conf->worker_groups) in free_thread_groups()
6244 kfree(conf->worker_groups[0].workers); in free_thread_groups()
6245 kfree(conf->worker_groups); in free_thread_groups()
6246 conf->worker_groups = NULL; in free_thread_groups()
6470 conf->worker_groups = new_group; in setup_conf()