Lines Matching refs:padata

74 		struct padata_priv *padata;  in padata_parallel_worker()  local
76 padata = list_entry(local_list.next, in padata_parallel_worker()
79 list_del_init(&padata->list); in padata_parallel_worker()
81 padata->parallel(padata); in padata_parallel_worker()
102 struct padata_priv *padata, int *cb_cpu) in padata_do_parallel() argument
139 padata->pd = pd; in padata_do_parallel()
140 padata->cb_cpu = *cb_cpu; in padata_do_parallel()
142 padata->seq_nr = atomic_inc_return(&pd->seq_nr); in padata_do_parallel()
143 target_cpu = padata_cpu_hash(pd, padata->seq_nr); in padata_do_parallel()
144 padata->cpu = target_cpu; in padata_do_parallel()
148 list_add_tail(&padata->list, &queue->parallel.list); in padata_do_parallel()
176 struct padata_priv *padata; in padata_find_next() local
189 padata = list_entry(reorder->list.next, struct padata_priv, list); in padata_find_next()
195 if (padata->seq_nr != pd->processed) { in padata_find_next()
201 list_del_init(&padata->list); in padata_find_next()
208 return padata; in padata_find_next()
214 struct padata_priv *padata; in padata_reorder() local
233 padata = padata_find_next(pd, true); in padata_reorder()
240 if (!padata) in padata_reorder()
243 cb_cpu = padata->cb_cpu; in padata_reorder()
247 list_add_tail(&padata->list, &squeue->serial.list); in padata_reorder()
296 struct padata_priv *padata; in padata_serial_worker() local
298 padata = list_entry(local_list.next, in padata_serial_worker()
301 list_del_init(&padata->list); in padata_serial_worker()
303 padata->serial(padata); in padata_serial_worker()
317 void padata_do_serial(struct padata_priv *padata) in padata_do_serial() argument
319 struct parallel_data *pd = padata->pd; in padata_do_serial()
321 padata->cpu); in padata_do_serial()
327 if (cur->seq_nr < padata->seq_nr) in padata_do_serial()
329 list_add(&padata->list, &cur->list); in padata_do_serial()