Home
last modified time | relevance | path

Searched refs:max_util (Results 1 – 2 of 2) sorted by relevance

/kernel/sched/
Dsched.h3071 unsigned long max_util = 0; in uclamp_rq_util_with() local
3078 max_util = uclamp_eff_value(p, UCLAMP_MAX); in uclamp_rq_util_with()
3089 max_util = max_t(unsigned long, max_util, uclamp_rq_get(rq, UCLAMP_MAX)); in uclamp_rq_util_with()
3096 if (unlikely(min_util >= max_util)) in uclamp_rq_util_with()
3099 return clamp(util, min_util, max_util); in uclamp_rq_util_with()
3106 unsigned long max_util; in uclamp_rq_is_capped() local
3112 max_util = READ_ONCE(rq->uclamp[UCLAMP_MAX].value); in uclamp_rq_is_capped()
3114 return max_util != SCHED_CAPACITY_SCALE && rq_util >= max_util; in uclamp_rq_is_capped()
Dfair.c7217 unsigned long max_util = 0; in eenv_pd_max_util() local
7233 max_util = max(max_util, cpu_util); in eenv_pd_max_util()
7236 return min(max_util, eenv->cpu_cap); in eenv_pd_max_util()
7248 unsigned long max_util = eenv_pd_max_util(eenv, pd_cpus, p, dst_cpu); in compute_energy() local
7254 return em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); in compute_energy()