Lines Matching defs:group_cnt
1153 should_defer = conf->batch_bio_dispatch && conf->group_cnt;
5639 for (i = 0; i < conf->group_cnt; i++) {
7216 int *group_cnt,
7225 int group_cnt;
7248 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups);
7251 conf->group_cnt = group_cnt;
7289 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt,
7297 *group_cnt = 0;
7301 *group_cnt = num_possible_nodes();
7303 workers = kcalloc(size, *group_cnt, GFP_NOIO);
7304 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group),
7312 for (i = 0; i < *group_cnt; i++) {
7498 int group_cnt;
7550 if (!alloc_thread_groups(conf, 0, &group_cnt, &new_group)) {
7551 conf->group_cnt = group_cnt;