Lines Matching defs:group_cnt
1070 should_defer = conf->batch_bio_dispatch && conf->group_cnt;
5534 for (i = 0; i < conf->group_cnt; i++) {
6881 int *group_cnt,
6890 int group_cnt;
6913 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups);
6916 conf->group_cnt = group_cnt;
6954 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt,
6962 *group_cnt = 0;
6966 *group_cnt = num_possible_nodes();
6968 workers = kcalloc(size, *group_cnt, GFP_NOIO);
6969 *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group),
6977 for (i = 0; i < *group_cnt; i++) {
7160 int group_cnt;
7212 if (!alloc_thread_groups(conf, 0, &group_cnt, &new_group)) {
7213 conf->group_cnt = group_cnt;