Lines Matching refs:reorder
244 struct padata_list *reorder; in padata_find_next() local
247 reorder = per_cpu_ptr(pd->reorder_list, cpu); in padata_find_next()
249 spin_lock(&reorder->lock); in padata_find_next()
250 if (list_empty(&reorder->list)) { in padata_find_next()
251 spin_unlock(&reorder->lock); in padata_find_next()
255 padata = list_entry(reorder->list.next, struct padata_priv, list); in padata_find_next()
262 spin_unlock(&reorder->lock); in padata_find_next()
272 spin_unlock(&reorder->lock); in padata_find_next()
282 struct padata_list *reorder; in padata_reorder() local
330 reorder = per_cpu_ptr(pd->reorder_list, pd->cpu); in padata_reorder()
331 if (!list_empty(&reorder->list) && padata_find_next(pd, false)) in padata_reorder()
391 struct padata_list *reorder = per_cpu_ptr(pd->reorder_list, hashed_cpu); in padata_do_serial() local
395 spin_lock(&reorder->lock); in padata_do_serial()
397 list_for_each_prev(pos, &reorder->list) { in padata_do_serial()
403 spin_unlock(&reorder->lock); in padata_do_serial()