Lines Matching refs:padata
141 struct padata_priv *padata = pw->pw_data; in padata_parallel_worker() local
144 padata->parallel(padata); in padata_parallel_worker()
168 struct padata_priv *padata, int *cb_cpu) in padata_do_parallel() argument
202 padata->pd = pd; in padata_do_parallel()
203 padata->cb_cpu = *cb_cpu; in padata_do_parallel()
206 padata->seq_nr = ++pd->seq_nr; in padata_do_parallel()
212 padata->parallel(padata); in padata_do_parallel()
218 padata_work_init(pw, padata_parallel_worker, padata, 0); in padata_do_parallel()
243 struct padata_priv *padata; in padata_find_next() local
255 padata = list_entry(reorder->list.next, struct padata_priv, list); in padata_find_next()
261 if (padata->seq_nr != pd->processed) { in padata_find_next()
267 list_del_init(&padata->list); in padata_find_next()
273 return padata; in padata_find_next()
280 struct padata_priv *padata; in padata_reorder() local
298 padata = padata_find_next(pd, true); in padata_reorder()
305 if (!padata) in padata_reorder()
308 cb_cpu = padata->cb_cpu; in padata_reorder()
312 list_add_tail(&padata->list, &squeue->serial.list); in padata_reorder()
363 struct padata_priv *padata; in padata_serial_worker() local
365 padata = list_entry(local_list.next, in padata_serial_worker()
368 list_del_init(&padata->list); in padata_serial_worker()
370 padata->serial(padata); in padata_serial_worker()
387 void padata_do_serial(struct padata_priv *padata) in padata_do_serial() argument
389 struct parallel_data *pd = padata->pd; in padata_do_serial()
390 int hashed_cpu = padata_cpu_hash(pd, padata->seq_nr); in padata_do_serial()
399 if (cur->seq_nr < padata->seq_nr) in padata_do_serial()
402 list_add(&padata->list, pos); in padata_do_serial()