Home
last modified time | relevance | path

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

/linux-6.1.9/crypto/
Dcryptd.c46 struct cryptd_cpu_queue __percpu *cpu_queue; member
104 struct cryptd_cpu_queue *cpu_queue; in cryptd_init_queue() local
106 queue->cpu_queue = alloc_percpu(struct cryptd_cpu_queue); in cryptd_init_queue()
107 if (!queue->cpu_queue) in cryptd_init_queue()
110 cpu_queue = per_cpu_ptr(queue->cpu_queue, cpu); in cryptd_init_queue()
111 crypto_init_queue(&cpu_queue->queue, max_cpu_qlen); in cryptd_init_queue()
112 INIT_WORK(&cpu_queue->work, cryptd_queue_worker); in cryptd_init_queue()
121 struct cryptd_cpu_queue *cpu_queue; in cryptd_fini_queue() local
124 cpu_queue = per_cpu_ptr(queue->cpu_queue, cpu); in cryptd_fini_queue()
125 BUG_ON(cpu_queue->queue.qlen); in cryptd_fini_queue()
[all …]
/linux-6.1.9/drivers/xen/events/
Devents_fifo.c65 static DEFINE_PER_CPU(struct evtchn_fifo_queue, cpu_queue);
105 struct evtchn_fifo_queue *q = &per_cpu(cpu_queue, cpu); in init_control_block()
279 struct evtchn_fifo_queue *q = &per_cpu(cpu_queue, cpu); in consume_one_event()