Searched refs:group_cnt (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/mm/
H A Dpercpu.c1781 static int group_cnt[NR_CPUS] __initdata; pcpu_build_alloc_info()
1793 memset(group_cnt, 0, sizeof(group_cnt)); pcpu_build_alloc_info()
1830 group_cnt[group]++;
1846 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa);
1848 wasted += this_allocs * upa - group_cnt[group];
1869 nr_units += roundup(group_cnt[group], upa);
1878 cpu_map += roundup(group_cnt[group], upa);
1888 for (group = 0, unit = 0; group_cnt[group]; group++) {
/linux-4.1.27/drivers/md/
H A Draid5.c4919 for (i = 0; i < conf->group_cnt; i++) { __get_priority_stripe()
6124 int *group_cnt,
6134 int group_cnt, worker_cnt_per_group; raid5_store_group_thread_cnt() local
6155 &group_cnt, &worker_cnt_per_group, raid5_store_group_thread_cnt()
6159 conf->group_cnt = group_cnt; raid5_store_group_thread_cnt()
6195 int *group_cnt, alloc_thread_groups()
6205 *group_cnt = 0; alloc_thread_groups()
6209 *group_cnt = num_possible_nodes(); alloc_thread_groups()
6211 workers = kzalloc(size * *group_cnt, GFP_NOIO); alloc_thread_groups()
6213 *group_cnt, GFP_NOIO); alloc_thread_groups()
6220 for (i = 0; i < *group_cnt; i++) { alloc_thread_groups()
6430 int group_cnt, worker_cnt_per_group; setup_conf() local
6466 if (!alloc_thread_groups(conf, 0, &group_cnt, &worker_cnt_per_group, setup_conf()
6468 conf->group_cnt = group_cnt; setup_conf()
6194 alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, int *worker_cnt_per_group, struct r5worker_group **worker_groups) alloc_thread_groups() argument
H A Draid5.h542 int group_cnt; member in struct:r5conf

Completed in 141 milliseconds