Lines Matching refs:squeue
289 struct padata_serial_queue *squeue; in padata_reorder() local
317 squeue = per_cpu_ptr(pd->squeue, cb_cpu); in padata_reorder()
319 spin_lock(&squeue->serial.lock); in padata_reorder()
320 list_add_tail(&padata->list, &squeue->serial.list); in padata_reorder()
321 spin_unlock(&squeue->serial.lock); in padata_reorder()
323 queue_work_on(cb_cpu, pinst->serial_wq, &squeue->work); in padata_reorder()
355 struct padata_serial_queue *squeue; in padata_serial_worker() local
361 squeue = container_of(serial_work, struct padata_serial_queue, work); in padata_serial_worker()
362 pd = squeue->pd; in padata_serial_worker()
364 spin_lock(&squeue->serial.lock); in padata_serial_worker()
365 list_replace_init(&squeue->serial.list, &local_list); in padata_serial_worker()
366 spin_unlock(&squeue->serial.lock); in padata_serial_worker()
557 struct padata_serial_queue *squeue; in padata_init_squeues() local
560 squeue = per_cpu_ptr(pd->squeue, cpu); in padata_init_squeues()
561 squeue->pd = pd; in padata_init_squeues()
562 __padata_list_init(&squeue->serial); in padata_init_squeues()
563 INIT_WORK(&squeue->work, padata_serial_worker); in padata_init_squeues()
593 pd->squeue = alloc_percpu(struct padata_serial_queue); in padata_alloc_pd()
594 if (!pd->squeue) in padata_alloc_pd()
620 free_percpu(pd->squeue); in padata_alloc_pd()
634 free_percpu(pd->squeue); in padata_free_pd()