Lines Matching refs:group_cnt
997 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io()
5334 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe()
6580 int *group_cnt,
6590 int group_cnt, worker_cnt_per_group; in raid5_store_group_thread_cnt() local
6614 &group_cnt, &worker_cnt_per_group, in raid5_store_group_thread_cnt()
6618 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt()
6655 int *group_cnt, in alloc_thread_groups() argument
6665 *group_cnt = 0; in alloc_thread_groups()
6669 *group_cnt = num_possible_nodes(); in alloc_thread_groups()
6671 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups()
6672 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group), in alloc_thread_groups()
6680 for (i = 0; i < *group_cnt; i++) { in alloc_thread_groups()
6863 int group_cnt, worker_cnt_per_group; in setup_conf() local
6909 if (!alloc_thread_groups(conf, 0, &group_cnt, &worker_cnt_per_group, in setup_conf()
6911 conf->group_cnt = group_cnt; in setup_conf()