Searched refs:handshake_queue (Results 1 – 3 of 3) sorted by relevance
/drivers/net/wireguard/ |
D | receive.c | 209 struct wg_device *wg = container_of(queue, struct wg_device, handshake_queue); in wg_packet_handshake_receive_worker() 555 if (spin_trylock_bh(&wg->handshake_queue.ring.producer_lock)) { in wg_packet_receive() 556 ret = __ptr_ring_produce(&wg->handshake_queue.ring, skb); in wg_packet_receive() 557 spin_unlock_bh(&wg->handshake_queue.ring.producer_lock); in wg_packet_receive() 560 ret = ptr_ring_produce_bh(&wg->handshake_queue.ring, skb); in wg_packet_receive() 568 cpu = wg_cpumask_next_online(&wg->handshake_queue.last_cpu); in wg_packet_receive() 571 &per_cpu_ptr(wg->handshake_queue.worker, cpu)->work); in wg_packet_receive()
|
D | device.c | 130 while ((skb = ptr_ring_consume(&wg->handshake_queue.ring)) != NULL) in wg_stop() 259 wg_packet_queue_free(&wg->handshake_queue, true); in wg_destruct() 363 ret = wg_packet_queue_init(&wg->handshake_queue, wg_packet_handshake_receive_worker, in wg_newlink() 389 wg_packet_queue_free(&wg->handshake_queue, false); in wg_newlink()
|
D | device.h | 42 struct crypt_queue encrypt_queue, decrypt_queue, handshake_queue; member
|