Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dpercpu.c1780 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info() local
1792 memset(group_cnt, 0, sizeof(group_cnt)); in pcpu_build_alloc_info()
1829 group_cnt[group]++; in pcpu_build_alloc_info()
1845 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa); in pcpu_build_alloc_info()
1847 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info()
1868 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
1877 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
1887 for (group = 0, unit = 0; group_cnt[group]; group++) { in pcpu_build_alloc_info()
/linux-4.4.14/drivers/md/
Draid5.h552 int group_cnt; member
Draid5.c4914 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe()
6160 int *group_cnt,
6170 int group_cnt, worker_cnt_per_group; in raid5_store_group_thread_cnt() local
6191 &group_cnt, &worker_cnt_per_group, in raid5_store_group_thread_cnt()
6195 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt()
6231 int *group_cnt, in alloc_thread_groups() argument
6241 *group_cnt = 0; in alloc_thread_groups()
6245 *group_cnt = num_possible_nodes(); in alloc_thread_groups()
6247 workers = kzalloc(size * *group_cnt, GFP_NOIO); in alloc_thread_groups()
6249 *group_cnt, GFP_NOIO); in alloc_thread_groups()
[all …]