Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/sched/
Dtopology.h63 struct sched_group;
75 struct sched_group *groups; /* the balancing groups of the domain */
174 struct sched_group *__percpu *sg;
/Linux-v5.4/kernel/sched/
Dtopology.c31 struct sched_group *group = sd->groups; in sched_domain_debug_one()
558 static void free_sched_groups(struct sched_group *sg, int free_sgc) in free_sched_groups()
560 struct sched_group *tmp, *first; in free_sched_groups()
728 int group_balance_cpu(struct sched_group *sg) in group_balance_cpu()
840 build_balance_mask(struct sched_domain *sd, struct sched_group *sg, struct cpumask *mask) in build_balance_mask()
876 static struct sched_group *
879 struct sched_group *sg; in build_group_from_child_sched_domain()
882 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain()
899 struct sched_group *sg) in init_overlap_sched_group()
929 struct sched_group *first = NULL, *last = NULL, *sg; in build_overlap_sched_groups()
[all …]
Dsched.h1404 struct sched_group { struct
1405 struct sched_group *next; /* Must be a circular list */ argument
1422 static inline struct cpumask *sched_group_span(struct sched_group *sg) in sched_group_span() argument
1430 static inline struct cpumask *group_balance_mask(struct sched_group *sg) in group_balance_mask()
1439 static inline unsigned int group_first_cpu(struct sched_group *group) in group_first_cpu()
1444 extern int group_balance_cpu(struct sched_group *sg);
Dfair.c5554 static struct sched_group *
5558 struct sched_group *idlest = NULL, *group = sd->groups; in find_idlest_group()
5559 struct sched_group *most_spare_sg = NULL; in find_idlest_group()
5689 find_idlest_group_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) in find_idlest_group_cpu()
5763 struct sched_group *group; in find_idlest_cpu()
7700 struct sched_group *busiest; /* Busiest group in this sd */
7701 struct sched_group *local; /* Local group in this sd */
7759 struct sched_group *sdg = sd->groups; in update_cpu_capacity()
7775 struct sched_group *group, *sdg = sd->groups; in update_group_capacity()
7898 static inline int sg_imbalanced(struct sched_group *group) in sg_imbalanced()
[all …]
/Linux-v5.4/Documentation/scheduler/
Dsched-domains.rst19 Each scheduling domain must have one or more CPU groups (struct sched_group)