Home
last modified time | relevance | path

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

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