Searched refs:group_cnt (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 881 unsigned int group_cnt, cnt; in sprd_pinctrl_get_groups() local 883 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups() 888 group_cnt += cnt; in sprd_pinctrl_get_groups() 891 return group_cnt; in sprd_pinctrl_get_groups()
|
/Linux-v5.4/mm/ |
D | percpu.c | 2535 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info() local 2547 memset(group_cnt, 0, sizeof(group_cnt)); in pcpu_build_alloc_info() 2585 group_cnt[group]++; in pcpu_build_alloc_info() 2601 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa); in pcpu_build_alloc_info() 2603 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info() 2624 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info() 2633 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
|
/Linux-v5.4/drivers/md/ |
D | raid5.h | 679 int group_cnt; member
|
D | raid5.c | 992 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io() 5347 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe() 6600 int *group_cnt, 6610 int group_cnt, worker_cnt_per_group; in raid5_store_group_thread_cnt() local 6634 &group_cnt, &worker_cnt_per_group, in raid5_store_group_thread_cnt() 6638 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt() 6676 int *group_cnt, in alloc_thread_groups() argument 6686 *group_cnt = 0; in alloc_thread_groups() 6690 *group_cnt = num_possible_nodes(); in alloc_thread_groups() 6692 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups() [all …]
|
D | raid5-cache.c | 408 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()
|