Lines Matching refs:worker_groups

193 		group = conf->worker_groups + cpu_to_group(cpu);  in raid5_wakeup_stripe_thread()
207 group = conf->worker_groups + cpu_to_group(sh->cpu); in raid5_wakeup_stripe_thread()
5541 handle_list = try_loprio ? &conf->worker_groups[group].loprio_list : in __get_priority_stripe()
5542 &conf->worker_groups[group].handle_list; in __get_priority_stripe()
5543 wg = &conf->worker_groups[group]; in __get_priority_stripe()
5547 handle_list = try_loprio ? &conf->worker_groups[i].loprio_list : in __get_priority_stripe()
5548 &conf->worker_groups[i].handle_list; in __get_priority_stripe()
5549 wg = &conf->worker_groups[i]; in __get_priority_stripe()
6719 int group_id = group - conf->worker_groups; in raid5_do_work()
7180 struct r5worker_group **worker_groups);
7209 old_groups = conf->worker_groups; in raid5_store_group_thread_cnt()
7218 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()
7256 struct r5worker_group **worker_groups) in alloc_thread_groups() argument
7264 *worker_groups = NULL; in alloc_thread_groups()
7270 *worker_groups = kzalloc_objs(struct r5worker_group, *group_cnt, in alloc_thread_groups()
7272 if (!*worker_groups || !workers) { in alloc_thread_groups()
7274 kfree(*worker_groups); in alloc_thread_groups()
7281 group = &(*worker_groups)[i]; in alloc_thread_groups()
7302 if (conf->worker_groups) in free_thread_groups()
7303 kfree(conf->worker_groups[0].workers); in free_thread_groups()
7304 kfree(conf->worker_groups); in free_thread_groups()
7305 conf->worker_groups = NULL; in free_thread_groups()
7520 conf->worker_groups = new_group; in setup_conf()