Searched refs:group_cnt (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 920 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()
|
/openbmc/linux/mm/ |
H A D | percpu.c | 2843 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info() local 2856 memset(group_cnt, 0, sizeof(group_cnt)); in pcpu_build_alloc_info() 2886 group_cnt[group]++; in pcpu_build_alloc_info() 2894 group_cnt[group]++; in pcpu_build_alloc_info() 2915 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa); in pcpu_build_alloc_info() 2917 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info() 2939 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info() 2948 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
|
/openbmc/linux/drivers/md/ |
H A D | raid5.h | 681 int group_cnt; member
|
H A D | raid5.c | 1151 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io() 5596 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe() 7230 int *group_cnt, 7239 int group_cnt; in raid5_store_group_thread_cnt() local 7262 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt() 7265 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt() 7303 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, in alloc_thread_groups() argument 7311 *group_cnt = 0; in alloc_thread_groups() 7315 *group_cnt = num_possible_nodes(); in alloc_thread_groups() 7317 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups() [all …]
|
H A D | raid5-cache.c | 405 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()
|