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

/linux-master/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c920 unsigned int group_cnt, cnt; local
922 group_cnt = of_get_child_count(np);
927 group_cnt += cnt;
930 return group_cnt;
/linux-master/mm/
H A Dpercpu.c2870 static int group_cnt[NR_CPUS] __initdata;
2883 memset(group_cnt, 0, sizeof(group_cnt));
2913 group_cnt[group]++;
2921 group_cnt[group]++;
2929 * Wasted space is caused by a ratio imbalance of upa to group_cnt.
2942 int this_allocs = DIV_ROUND_UP(group_cnt[group], upa);
2944 wasted += this_allocs * upa - group_cnt[group];
2966 nr_units += roundup(group_cnt[group], upa);
2975 cpu_map += roundup(group_cnt[grou
[all...]
/linux-master/drivers/md/
H A Draid5.h685 int group_cnt; member in struct:r5conf
H A Draid5.c1154 should_defer = conf->batch_bio_dispatch && conf->group_cnt;
5579 for (i = 0; i < conf->group_cnt; i++) {
7137 int *group_cnt,
7146 int group_cnt; local
7167 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups);
7170 conf->group_cnt = group_cnt;
7207 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, argument
7215 *group_cnt = 0;
7219 *group_cnt
7416 int group_cnt; local
[all...]
H A Draid5-cache.c391 * most (conf->group_cnt + 1) stripe that passed 1. So total journal space
394 * (stripe_in_journal_count - group_cnt - 1) * (max_degraded + 1) +
395 * (group_cnt + 1) * (raid_disks + 1)
398 * (group_cnt + 1) * (raid_disks - max_degraded)
409 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1));

Completed in 152 milliseconds