Searched refs:max_util (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/linux/ |
D | energy_model.h | 224 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.6.21/kernel/sched/ |
D | sched.h | 3081 unsigned long max_util = 0; in uclamp_rq_util_with() local 3088 max_util = uclamp_eff_value(p, UCLAMP_MAX); in uclamp_rq_util_with() 3099 max_util = max_t(unsigned long, max_util, uclamp_rq_get(rq, UCLAMP_MAX)); in uclamp_rq_util_with() 3106 if (unlikely(min_util >= max_util)) in uclamp_rq_util_with() 3109 return clamp(util, min_util, max_util); in uclamp_rq_util_with() 3116 unsigned long max_util; in uclamp_rq_is_capped() local 3122 max_util = READ_ONCE(rq->uclamp[UCLAMP_MAX].value); in uclamp_rq_is_capped() 3124 return max_util != SCHED_CAPACITY_SCALE && rq_util >= max_util; in uclamp_rq_is_capped()
|
D | fair.c | 7736 unsigned long max_util = 0; in eenv_pd_max_util() local 7752 max_util = max(max_util, eff_util); in eenv_pd_max_util() 7755 return min(max_util, eenv->cpu_cap); in eenv_pd_max_util() 7767 unsigned long max_util = eenv_pd_max_util(eenv, pd_cpus, p, dst_cpu); in compute_energy() local 7773 return em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); in compute_energy()
|