Home
last modified time | relevance | path

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

/kernel/
Dpadata.c36 static void padata_free_pd(struct parallel_data *pd);
38 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() argument
42 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
44 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
49 static int padata_cpu_hash(struct parallel_data *pd) in padata_cpu_hash() argument
59 seq_nr = atomic_inc_return(&pd->seq_nr); in padata_cpu_hash()
60 cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash()
62 return padata_index_to_cpu(pd, cpu_index); in padata_cpu_hash()
109 struct parallel_data *pd; in padata_do_parallel() local
113 pd = rcu_dereference_bh(pinst->pd); in padata_do_parallel()
[all …]