Lines Matching refs:group_cnt
1153 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io()
5576 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe()
7158 int *group_cnt,
7167 int group_cnt; in raid5_store_group_thread_cnt() local
7188 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt()
7191 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt()
7228 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, in alloc_thread_groups() argument
7236 *group_cnt = 0; in alloc_thread_groups()
7240 *group_cnt = num_possible_nodes(); in alloc_thread_groups()
7242 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups()
7243 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group), in alloc_thread_groups()
7251 for (i = 0; i < *group_cnt; i++) { in alloc_thread_groups()
7437 int group_cnt; in setup_conf() local
7489 if (!alloc_thread_groups(conf, 0, &group_cnt, &new_group)) { in setup_conf()
7490 conf->group_cnt = group_cnt; in setup_conf()