Lines Matching defs:group_cnt
1154 should_defer = conf->batch_bio_dispatch && conf->group_cnt;
5579 for (i = 0; i < conf->group_cnt; i++) {
7137 int *group_cnt,
7146 int group_cnt;
7167 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups);
7170 conf->group_cnt = group_cnt;
7207 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt,
7215 *group_cnt = 0;
7219 *group_cnt = num_possible_nodes();
7221 workers = kcalloc(size, *group_cnt, GFP_NOIO);
7222 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group),
7230 for (i = 0; i < *group_cnt; i++) {
7416 int group_cnt;
7468 if (!alloc_thread_groups(conf, 0, &group_cnt, &new_group)) {
7469 conf->group_cnt = group_cnt;