Searched refs:sg (Results 1 – 1 of 1) sorted by relevance
135 static inline u32 sg_div_cpu_power(const struct sched_group *sg, u32 load) in sg_div_cpu_power() argument137 return reciprocal_divide(load, sg->reciprocal_cpu_power); in sg_div_cpu_power()144 static inline void sg_inc_cpu_power(struct sched_group *sg, u32 val) in sg_inc_cpu_power() argument146 sg->__cpu_power += val; in sg_inc_cpu_power()147 sg->reciprocal_cpu_power = reciprocal_value(sg->__cpu_power); in sg_inc_cpu_power()7158 struct sched_group **sg, in init_sched_build_groups() argument7168 struct sched_group *sg; in init_sched_build_groups() local7169 int group = group_fn(i, cpu_map, &sg, tmpmask); in init_sched_build_groups()7175 cpumask_clear(sched_group_cpus(sg)); in init_sched_build_groups()7176 sg->__cpu_power = 0; in init_sched_build_groups()[all …]