Lines Matching refs:squeue
281 struct padata_serial_queue *squeue; in padata_reorder() local
309 squeue = per_cpu_ptr(pd->squeue, cb_cpu); in padata_reorder()
311 spin_lock(&squeue->serial.lock); in padata_reorder()
312 list_add_tail(&padata->list, &squeue->serial.list); in padata_reorder()
313 spin_unlock(&squeue->serial.lock); in padata_reorder()
315 queue_work_on(cb_cpu, pinst->serial_wq, &squeue->work); in padata_reorder()
347 struct padata_serial_queue *squeue; in padata_serial_worker() local
353 squeue = container_of(serial_work, struct padata_serial_queue, work); in padata_serial_worker()
354 pd = squeue->pd; in padata_serial_worker()
356 spin_lock(&squeue->serial.lock); in padata_serial_worker()
357 list_replace_init(&squeue->serial.list, &local_list); in padata_serial_worker()
358 spin_unlock(&squeue->serial.lock); in padata_serial_worker()
535 struct padata_serial_queue *squeue; in padata_init_squeues() local
538 squeue = per_cpu_ptr(pd->squeue, cpu); in padata_init_squeues()
539 squeue->pd = pd; in padata_init_squeues()
540 __padata_list_init(&squeue->serial); in padata_init_squeues()
541 INIT_WORK(&squeue->work, padata_serial_worker); in padata_init_squeues()
571 pd->squeue = alloc_percpu(struct padata_serial_queue); in padata_alloc_pd()
572 if (!pd->squeue) in padata_alloc_pd()
598 free_percpu(pd->squeue); in padata_alloc_pd()
612 free_percpu(pd->squeue); in padata_free_pd()