Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Denergy_model.h224 unsigned long max_util, unsigned long sum_util, in em_cpu_energy() argument
246 max_util = map_util_perf(max_util); in em_cpu_energy()
247 max_util = min(max_util, allowed_cpu_cap); in em_cpu_energy()
248 freq = map_util_freq(max_util, ps->frequency, scale_cpu); in em_cpu_energy()
338 unsigned long max_util, unsigned long sum_util, in em_cpu_energy() argument
/linux-6.3-rc2/kernel/sched/
A Dsched.h3041 unsigned long max_util = 0; in uclamp_rq_util_with() local
3048 max_util = uclamp_eff_value(p, UCLAMP_MAX); in uclamp_rq_util_with()
3059 max_util = max_t(unsigned long, max_util, uclamp_rq_get(rq, UCLAMP_MAX)); in uclamp_rq_util_with()
3066 if (unlikely(min_util >= max_util)) in uclamp_rq_util_with()
3069 return clamp(util, min_util, max_util); in uclamp_rq_util_with()
3076 unsigned long max_util; in uclamp_rq_is_capped() local
3082 max_util = READ_ONCE(rq->uclamp[UCLAMP_MAX].value); in uclamp_rq_is_capped()
3084 return max_util != SCHED_CAPACITY_SCALE && rq_util >= max_util; in uclamp_rq_is_capped()
A Dfair.c7276 unsigned long max_util = 0; in eenv_pd_max_util() local
7292 max_util = max(max_util, cpu_util); in eenv_pd_max_util()
7295 return min(max_util, eenv->cpu_cap); in eenv_pd_max_util()
7307 unsigned long max_util = eenv_pd_max_util(eenv, pd_cpus, p, dst_cpu); in compute_energy() local
7313 return em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); in compute_energy()

Completed in 38 milliseconds