Searched refs:pd (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | padata.c | 60 static void padata_free_pd(struct parallel_data *pd); 63 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() argument 67 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu() 69 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu() 74 static int padata_cpu_hash(struct parallel_data *pd, unsigned int seq_nr) in padata_cpu_hash() argument 80 int cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash() 82 return padata_index_to_cpu(pd, cpu_index); in padata_cpu_hash() 185 struct parallel_data *pd; in padata_do_parallel() local 190 pd = rcu_dereference_bh(ps->pd); in padata_do_parallel() 196 if (!cpumask_test_cpu(*cb_cpu, pd->cpumask.cbcpu)) { in padata_do_parallel() [all …]
|
D | gen_kheaders.sh | 71 done | cpio --quiet -pd $cpio_dir
|
/kernel/power/ |
D | energy_model.c | 33 static void em_debug_create_ps(struct em_perf_state *ps, struct dentry *pd) in em_debug_create_ps() argument 41 d = debugfs_create_dir(name, pd); in em_debug_create_ps() 57 struct em_perf_domain *pd = s->private; in em_debug_units_show() local 58 char *units = pd->milliwatts ? "milliWatts" : "bogoWatts"; in em_debug_units_show() 104 static int em_create_perf_table(struct device *dev, struct em_perf_domain *pd, in em_create_perf_table() argument 169 pd->table = table; in em_create_perf_table() 170 pd->nr_perf_states = nr_states; in em_create_perf_table() 182 struct em_perf_domain *pd; in em_create_pd() local 187 pd = kzalloc(sizeof(*pd) + cpumask_size(), GFP_KERNEL); in em_create_pd() 188 if (!pd) in em_create_pd() [all …]
|
/kernel/sched/ |
D | topology.c | 244 static void free_pd(struct perf_domain *pd) in free_pd() argument 248 while (pd) { in free_pd() 249 tmp = pd->next; in free_pd() 250 kfree(pd); in free_pd() 251 pd = tmp; in free_pd() 255 static struct perf_domain *find_pd(struct perf_domain *pd, int cpu) in find_pd() argument 257 while (pd) { in find_pd() 258 if (cpumask_test_cpu(cpu, perf_domain_span(pd))) in find_pd() 259 return pd; in find_pd() 260 pd = pd->next; in find_pd() [all …]
|
D | sched.h | 844 struct perf_domain __rcu *pd; member 2715 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus))) argument 2726 #define perf_domain_span(pd) NULL argument
|
D | fair.c | 6755 compute_energy(struct task_struct *p, int dst_cpu, struct perf_domain *pd) in compute_energy() argument 6757 struct cpumask *pd_mask = perf_domain_span(pd); in compute_energy() 6797 trace_android_vh_em_cpu_energy(pd->em_pd, max_util, sum_util, &energy); in compute_energy() 6799 energy = em_cpu_energy(pd->em_pd, max_util, sum_util); in compute_energy() 6857 struct perf_domain *pd; in find_energy_efficient_cpu() local 6866 pd = rcu_dereference(rd->pd); in find_energy_efficient_cpu() 6867 if (!pd || READ_ONCE(rd->overutilized)) in find_energy_efficient_cpu() 6895 for (; pd; pd = pd->next) { in find_energy_efficient_cpu() 6903 base_energy_pd = compute_energy(p, -1, pd); in find_energy_efficient_cpu() 6906 for_each_cpu_and(cpu, perf_domain_span(pd), sched_domain_span(sd)) { in find_energy_efficient_cpu() [all …]
|