Home
last modified time | relevance | path

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

/linux/drivers/net/wireguard/
A Dnoise.c161 old = rcu_dereference_protected(keypairs->next_keypair, in wg_noise_keypairs_clear()
163 RCU_INIT_POINTER(keypairs->next_keypair, NULL); in wg_noise_keypairs_clear()
206 next_keypair = rcu_dereference_protected(keypairs->next_keypair, in add_new_keypair()
215 if (next_keypair) { in add_new_keypair()
225 RCU_INIT_POINTER(keypairs->next_keypair, NULL); in add_new_keypair()
227 next_keypair); in add_new_keypair()
245 rcu_assign_pointer(keypairs->next_keypair, new_keypair); in add_new_keypair()
246 wg_noise_keypair_put(next_keypair, true); in add_new_keypair()
261 rcu_access_pointer(keypairs->next_keypair); in wg_noise_received_with_keypair()
270 rcu_dereference_protected(keypairs->next_keypair, in wg_noise_received_with_keypair()
[all …]
A Dnoise.h46 struct noise_keypair __rcu *next_keypair; member

Completed in 5 milliseconds