Home
last modified time | relevance | path

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

/linux-6.15/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c920 unsigned int group_cnt, cnt; in sprd_pinctrl_get_groups() local
922 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups()
927 group_cnt += cnt; in sprd_pinctrl_get_groups()
930 return group_cnt; in sprd_pinctrl_get_groups()
/linux-6.15/mm/
H A Dpercpu.c2794 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info() local
2807 memset(group_cnt, 0, sizeof(group_cnt)); in pcpu_build_alloc_info()
2837 group_cnt[group]++; in pcpu_build_alloc_info()
2845 group_cnt[group]++; in pcpu_build_alloc_info()
2866 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa); in pcpu_build_alloc_info()
2868 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info()
2890 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
2899 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
/linux-6.15/drivers/md/
H A Draid5.h681 int group_cnt; member
H A Draid5.c1152 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io()
5531 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe()
7156 int *group_cnt,
7165 int group_cnt; in raid5_store_group_thread_cnt() local
7191 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt()
7238 *group_cnt = 0; in alloc_thread_groups()
7242 *group_cnt = num_possible_nodes(); in alloc_thread_groups()
7244 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups()
7253 for (i = 0; i < *group_cnt; i++) { in alloc_thread_groups()
7439 int group_cnt; in setup_conf() local
[all …]
H A Draid5-cache.c405 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()