Home
last modified time | relevance | path

Searched refs:crypt_queue (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireguard/
H A Dqueueing.h19 struct crypt_queue;
24 int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function,
26 void wg_packet_queue_free(struct crypt_queue *queue, bool purge);
160 struct crypt_queue *device_queue, struct prev_queue *peer_queue, in wg_queue_enqueue_per_device_and_peer()
H A Ddevice.h28 struct crypt_queue { struct
42 struct crypt_queue encrypt_queue, decrypt_queue, handshake_queue;
H A Dqueueing.c25 int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function, in wg_packet_queue_init()
43 void wg_packet_queue_free(struct crypt_queue *queue, bool purge) in wg_packet_queue_free()
H A Dreceive.c215 struct crypt_queue *queue = container_of(work, struct multicore_worker, work)->ptr; in wg_packet_handshake_receive_worker()
502 struct crypt_queue *queue = container_of(work, struct multicore_worker, in wg_packet_decrypt_worker()
H A Dsend.c289 struct crypt_queue *queue = container_of(work, struct multicore_worker, in wg_packet_encrypt_worker()
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dqueueing.h19 struct crypt_queue;
24 int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function,
26 void wg_packet_queue_free(struct crypt_queue *queue, bool purge);
158 struct crypt_queue *device_queue, struct prev_queue *peer_queue, in wg_queue_enqueue_per_device_and_peer()
H A Ddevice.h28 struct crypt_queue { struct
42 struct crypt_queue encrypt_queue, decrypt_queue, handshake_queue;
H A Dqueueing.c25 int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function, in wg_packet_queue_init()
43 void wg_packet_queue_free(struct crypt_queue *queue, bool purge) in wg_packet_queue_free()
H A Dreceive.c208 struct crypt_queue *queue = container_of(work, struct multicore_worker, work)->ptr; in wg_packet_handshake_receive_worker()
495 struct crypt_queue *queue = container_of(work, struct multicore_worker, in wg_packet_decrypt_worker()
H A Dsend.c289 struct crypt_queue *queue = container_of(work, struct multicore_worker, in wg_packet_encrypt_worker()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-crypt.c153 struct workqueue_struct *crypt_queue; member
2079 queue_work(cc->crypt_queue, &io->work); in kcryptd_crypt_write_convert()
2143 queue_work(cc->crypt_queue, &io->work); in kcryptd_crypt_read_convert()
2244 queue_work(cc->crypt_queue, &io->work); in kcryptd_queue_crypt()
2688 if (cc->crypt_queue) in crypt_dtr()
2689 destroy_workqueue(cc->crypt_queue); in crypt_dtr()
3312 cc->crypt_queue = alloc_workqueue("kcryptd/%s", WQ_CPU_INTENSIVE | WQ_MEM_RECLAIM, in crypt_ctr()
3315 cc->crypt_queue = alloc_workqueue("kcryptd/%s", in crypt_ctr()
3318 if (!cc->crypt_queue) { in crypt_ctr()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-crypt.c160 struct workqueue_struct *crypt_queue; member
2138 queue_work(cc->crypt_queue, &io->work); in kcryptd_crypt_write_convert()
2216 queue_work(cc->crypt_queue, &io->work); in kcryptd_crypt_read_convert()
2312 queue_work(cc->crypt_queue, &io->work); in kcryptd_queue_crypt()
2773 if (cc->crypt_queue) in crypt_dtr()
2774 destroy_workqueue(cc->crypt_queue); in crypt_dtr()
3412 cc->crypt_queue = alloc_workqueue("kcryptd/%s", WQ_CPU_INTENSIVE | WQ_MEM_RECLAIM, in crypt_ctr()
3415 cc->crypt_queue = alloc_workqueue("kcryptd/%s", in crypt_ctr()
3418 if (!cc->crypt_queue) { in crypt_ctr()

Completed in 14 milliseconds