Lines Matching refs:workers
196 group->workers[0].working = true; in raid5_wakeup_stripe_thread()
198 queue_work_on(sh->cpu, raid5_wq, &group->workers[0].work); in raid5_wakeup_stripe_thread()
203 if (group->workers[i].working == false) { in raid5_wakeup_stripe_thread()
204 group->workers[i].working = true; in raid5_wakeup_stripe_thread()
206 &group->workers[i].work); in raid5_wakeup_stripe_thread()
6928 kfree(old_groups[0].workers); in raid5_store_group_thread_cnt()
6965 struct r5worker *workers; in alloc_thread_groups() local
6974 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups()
6977 if (!*worker_groups || !workers) { in alloc_thread_groups()
6978 kfree(workers); in alloc_thread_groups()
6990 group->workers = workers + i * cnt; in alloc_thread_groups()
6993 struct r5worker *worker = group->workers + j; in alloc_thread_groups()
7008 kfree(conf->worker_groups[0].workers); in free_thread_groups()