Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireguard/
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()
187 keypair = rcu_dereference_protected(peer->keypairs.next_keypair, in wg_noise_expire_current_peer_keypairs()
201 struct noise_keypair *previous_keypair, *next_keypair, *current_keypair; in add_new_keypair() local
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()
[all …]
Dnoise.h46 struct noise_keypair __rcu *next_keypair; member