Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c918 unsigned int group_cnt, cnt; in sprd_pinctrl_get_groups() local
920 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups()
925 group_cnt += cnt; in sprd_pinctrl_get_groups()
928 return group_cnt; in sprd_pinctrl_get_groups()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/mm/
H A Dpercpu.c2671 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info()
2683 memset(group_cnt, 0, sizeof(group_cnt)); in pcpu_build_alloc_info()
2721 group_cnt[group]++; in pcpu_build_alloc_info()
2725 * Wasted space is caused by a ratio imbalance of upa to group_cnt. in pcpu_build_alloc_info()
2737 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa); in pcpu_build_alloc_info()
2739 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info()
2760 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
2769 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
/kernel/linux/linux-6.6/mm/
H A Dpercpu.c2843 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info()
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()
2902 * Wasted space is caused by a ratio imbalance of upa to group_cnt. 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[grou in pcpu_build_alloc_info()
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Draid5.h680 int group_cnt; member
H A Draid5.c1070 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io()
5534 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe()
6881 int *group_cnt,
6890 int group_cnt; in raid5_store_group_thread_cnt() local
6913 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt()
6916 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt()
6954 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, in alloc_thread_groups() argument
6962 *group_cnt = 0; in alloc_thread_groups()
6966 *group_cnt in alloc_thread_groups()
7160 int group_cnt; setup_conf() local
[all...]
H A Draid5-cache.c388 * most (conf->group_cnt + 1) stripe that passed 1. So total journal space
391 * (stripe_in_journal_count - group_cnt - 1) * (max_degraded + 1) +
392 * (group_cnt + 1) * (raid_disks + 1)
395 * (group_cnt + 1) * (raid_disks - max_degraded)
406 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()
/kernel/linux/linux-6.6/drivers/md/
H A Draid5.h685 int group_cnt; member
H A Draid5.c1153 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io()
5639 for (i = 0; i < conf->group_cnt; i++) {
7216 int *group_cnt,
7225 int group_cnt; in raid5_store_group_thread_cnt() local
7248 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt()
7251 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt()
7289 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, in alloc_thread_groups() argument
7297 *group_cnt = 0; in alloc_thread_groups()
7301 *group_cnt in alloc_thread_groups()
7498 int group_cnt; setup_conf() local
[all...]
H A Draid5-cache.c388 * most (conf->group_cnt + 1) stripe that passed 1. So total journal space
391 * (stripe_in_journal_count - group_cnt - 1) * (max_degraded + 1) +
392 * (group_cnt + 1) * (raid_disks + 1)
395 * (group_cnt + 1) * (raid_disks - max_degraded)
406 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()

Completed in 41 milliseconds