Home
last modified time | relevance | path

Searched refs:cpu_queue (Results 1 – 1 of 1) sorted by relevance

/crypto/
Dcryptd.c42 struct cryptd_cpu_queue __percpu *cpu_queue; member
99 struct cryptd_cpu_queue *cpu_queue; in cryptd_init_queue() local
101 queue->cpu_queue = alloc_percpu(struct cryptd_cpu_queue); in cryptd_init_queue()
102 if (!queue->cpu_queue) in cryptd_init_queue()
105 cpu_queue = per_cpu_ptr(queue->cpu_queue, cpu); in cryptd_init_queue()
106 crypto_init_queue(&cpu_queue->queue, max_cpu_qlen); in cryptd_init_queue()
107 INIT_WORK(&cpu_queue->work, cryptd_queue_worker); in cryptd_init_queue()
116 struct cryptd_cpu_queue *cpu_queue; in cryptd_fini_queue() local
119 cpu_queue = per_cpu_ptr(queue->cpu_queue, cpu); in cryptd_fini_queue()
120 BUG_ON(cpu_queue->queue.qlen); in cryptd_fini_queue()
[all …]