Lines Matching refs:squeue

234 	struct padata_serial_queue *squeue;  in padata_reorder()  local
273 squeue = per_cpu_ptr(pd->squeue, padata->cb_cpu); in padata_reorder()
275 spin_lock(&squeue->serial.lock); in padata_reorder()
276 list_add_tail(&padata->list, &squeue->serial.list); in padata_reorder()
277 spin_unlock(&squeue->serial.lock); in padata_reorder()
279 queue_work_on(padata->cb_cpu, pinst->wq, &squeue->work); in padata_reorder()
307 struct padata_serial_queue *squeue; in padata_serial_worker() local
312 squeue = container_of(serial_work, struct padata_serial_queue, work); in padata_serial_worker()
313 pd = squeue->pd; in padata_serial_worker()
315 spin_lock(&squeue->serial.lock); in padata_serial_worker()
316 list_replace_init(&squeue->serial.list, &local_list); in padata_serial_worker()
317 spin_unlock(&squeue->serial.lock); in padata_serial_worker()
390 struct padata_serial_queue *squeue; in padata_init_squeues() local
393 squeue = per_cpu_ptr(pd->squeue, cpu); in padata_init_squeues()
394 squeue->pd = pd; in padata_init_squeues()
395 __padata_list_init(&squeue->serial); in padata_init_squeues()
396 INIT_WORK(&squeue->work, padata_serial_worker); in padata_init_squeues()
438 pd->squeue = alloc_percpu(struct padata_serial_queue); in padata_alloc_pd()
439 if (!pd->squeue) in padata_alloc_pd()
456 free_percpu(pd->squeue); in padata_alloc_pd()
470 free_percpu(pd->squeue); in padata_free_pd()
479 struct padata_serial_queue *squeue; in padata_flush_queues() local
492 squeue = per_cpu_ptr(pd->squeue, cpu); in padata_flush_queues()
493 flush_work(&squeue->work); in padata_flush_queues()