/linux/arch/x86/include/asm/ |
H A D | topology.h | 298 unsigned long arch_scale_cpu_capacity(int cpu); 299 #define arch_scale_cpu_capacity arch_scale_cpu_capacity macro
|
/linux/include/linux/sched/ |
H A D | topology.h | 255 #ifndef arch_scale_cpu_capacity 267 unsigned long arch_scale_cpu_capacity(int cpu) in arch_scale_cpu_capacity() function
|
/linux/arch/riscv/include/asm/ |
H A D | topology.h | 19 #define arch_scale_cpu_capacity topology_get_cpu_scale macro
|
/linux/arch/arm/include/asm/ |
H A D | topology.h | 20 #define arch_scale_cpu_capacity topology_get_cpu_scale macro
|
/linux/arch/arm64/include/asm/ |
H A D | topology.h | 30 #define arch_scale_cpu_capacity topology_get_cpu_scale macro
|
/linux/arch/s390/include/asm/ |
H A D | smp.h | 15 #define arch_scale_cpu_capacity smp_cpu_get_capacity macro
|
/linux/arch/x86/kernel/cpu/ |
H A D | aperfmperf.c | 423 unsigned long arch_scale_cpu_capacity(int cpu) in arch_scale_cpu_capacity() function 430 EXPORT_SYMBOL_GPL(arch_scale_cpu_capacity);
|
/linux/kernel/sched/ |
H A D | cpufreq_schedutil.c | 400 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_freq() 449 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_perf() 470 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_next_freq_shared()
|
H A D | pelt.h | 119 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt()
|
H A D | pelt.c | 440 running = cap_scale(running, arch_scale_cpu_capacity(cpu_of(rq))); in update_irq_load_avg()
|
H A D | cpudeadline.c | 134 cap = arch_scale_cpu_capacity(cpu); in cpudl_find()
|
H A D | deadline.c | 147 cap += arch_scale_cpu_capacity(i); in __dl_bw_capacity() 159 arch_scale_cpu_capacity(i) == SCHED_CAPACITY_SCALE) { in dl_bw_capacity() 1460 unsigned long scale_cpu = arch_scale_cpu_capacity(cpu); in dl_scaled_delta_exec()
|
H A D | fair.c | 1089 long cpu_scale = arch_scale_cpu_capacity(cpu_of(rq_of(cfs_rq))); in post_init_entity_util_avg() 5029 if (dequeued > arch_scale_cpu_capacity(cpu_of(rq_of(cfs_rq)))) in util_est_update() 5068 unsigned long capacity = arch_scale_cpu_capacity(cpu); in get_actual_cpu_capacity() 5112 capacity_orig = arch_scale_cpu_capacity(cpu); in util_fits_cpu() 5218 (arch_scale_cpu_capacity(cpu) == p->max_allowed_capacity) || in update_misfit_status() 8114 return min(util, arch_scale_cpu_capacity(cpu)); in cpu_util() 8176 scale = arch_scale_cpu_capacity(cpu); in effective_cpu_util() 8273 unsigned long busy_time, max_cap = arch_scale_cpu_capacity(prev_cpu); in eenv_task_busy_time() 10082 (arch_scale_cpu_capacity(cpu_of(rq)) * 100)); in check_cpu_capacity()
|
H A D | topology.c | 1393 unsigned long capacity = arch_scale_cpu_capacity(cpu); in asym_cpu_capacity_update_data()
|
H A D | rt.c | 472 cpu_cap = arch_scale_cpu_capacity(cpu); in rt_task_fits_capacity()
|
H A D | sched.h | 3335 unsigned long cap = arch_scale_cpu_capacity(cpu); in dl_task_fits_capacity()
|
H A D | core.c | 3891 return arch_scale_cpu_capacity(this_cpu) == arch_scale_cpu_capacity(that_cpu); in cpus_equal_capacity()
|
/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | sched-energy.rst | 73 结构实现的arch_scale_cpu_capacity()回调函数提供。
|
H A D | sched-capacity.rst | 232 定义arch_scale_cpu_capacity()函数。
|
/linux/drivers/powercap/ |
H A D | dtpm_cpu.c | 80 max = arch_scale_cpu_capacity(cpumask_first(pd_mask)); in scale_pd_power_uw()
|
/linux/drivers/thermal/ |
H A D | cpufreq_cooling.c | 167 return (util * 100) / arch_scale_cpu_capacity(cpu); in get_load()
|
/linux/Documentation/scheduler/ |
H A D | sched-capacity.rst | 44 the function arch_scale_cpu_capacity(). A CPU's ``capacity`` is its ``original 259 needs to be handed to it. Architectures must define arch_scale_cpu_capacity()
|
H A D | sched-energy.rst | 80 through the arch_scale_cpu_capacity() callback.
|
/linux/drivers/base/ |
H A D | arch_topology.c | 188 max_capacity = arch_scale_cpu_capacity(cpu); in topology_update_hw_pressure()
|
/linux/drivers/cpufreq/ |
H A D | cpufreq.c | 2593 max_capacity = arch_scale_cpu_capacity(cpu); in cpufreq_update_pressure()
|