Lines Matching refs:pd
6266 compute_energy(struct task_struct *p, int dst_cpu, struct perf_domain *pd) in compute_energy() argument
6268 struct cpumask *pd_mask = perf_domain_span(pd); in compute_energy()
6307 return em_pd_energy(pd->em_pd, max_util, sum_util); in compute_energy()
6361 struct perf_domain *pd; in find_energy_efficient_cpu() local
6364 pd = rcu_dereference(rd->pd); in find_energy_efficient_cpu()
6365 if (!pd || READ_ONCE(rd->overutilized)) in find_energy_efficient_cpu()
6393 for (; pd; pd = pd->next) { in find_energy_efficient_cpu()
6399 base_energy_pd = compute_energy(p, -1, pd); in find_energy_efficient_cpu()
6402 for_each_cpu_and(cpu, perf_domain_span(pd), sched_domain_span(sd)) { in find_energy_efficient_cpu()
6423 prev_delta = compute_energy(p, prev_cpu, pd); in find_energy_efficient_cpu()
6464 cur_delta = compute_energy(p, max_spare_cap_cpu, pd); in find_energy_efficient_cpu()
8650 if (rcu_dereference(rd->pd) && !READ_ONCE(rd->overutilized)) in find_busiest_group()