Home
last modified time | relevance | path

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

/kernel/sched/
Dcpufreq_schedutil.c208 unsigned long max_cap, rt; in sugov_get_util() local
211 max_cap = arch_scale_cpu_capacity(NULL, cpu); in sugov_get_util()
218 rt = (rt * max_cap) >> SCHED_CAPACITY_SHIFT; in sugov_get_util()
224 *util = min(*util, max_cap); in sugov_get_util()
225 *max = max_cap; in sugov_get_util()
Dfair.c6726 long min_cap, max_cap; in wake_cap() local
6729 max_cap = cpu_rq(cpu)->rd->max_cpu_capacity.val; in wake_cap()
6732 if (max_cap - min_cap < max_cap >> 3) in wake_cap()