Lines Matching refs:worker_groups
188 group = conf->worker_groups + cpu_to_group(cpu); in raid5_wakeup_stripe_thread()
202 group = conf->worker_groups + cpu_to_group(sh->cpu); in raid5_wakeup_stripe_thread()
5640 handle_list = try_loprio ? &conf->worker_groups[group].loprio_list : in __get_priority_stripe()
5641 &conf->worker_groups[group].handle_list; in __get_priority_stripe()
5642 wg = &conf->worker_groups[group]; in __get_priority_stripe()
5646 handle_list = try_loprio ? &conf->worker_groups[i].loprio_list : in __get_priority_stripe()
5647 &conf->worker_groups[i].handle_list; in __get_priority_stripe()
5648 wg = &conf->worker_groups[i]; in __get_priority_stripe()
6686 int group_id = group - conf->worker_groups; in raid5_do_work()
7157 struct r5worker_group **worker_groups);
7184 old_groups = conf->worker_groups; in raid5_store_group_thread_cnt()
7193 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()
7230 struct r5worker_group **worker_groups) in alloc_thread_groups() argument
7238 *worker_groups = NULL; in alloc_thread_groups()
7244 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group), in alloc_thread_groups()
7246 if (!*worker_groups || !workers) { in alloc_thread_groups()
7248 kfree(*worker_groups); in alloc_thread_groups()
7255 group = &(*worker_groups)[i]; in alloc_thread_groups()
7276 if (conf->worker_groups) in free_thread_groups()
7277 kfree(conf->worker_groups[0].workers); in free_thread_groups()
7278 kfree(conf->worker_groups); in free_thread_groups()
7279 conf->worker_groups = NULL; in free_thread_groups()
7491 conf->worker_groups = new_group; in setup_conf()