Searched refs:next_keypair (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | noise.c | 157 /* We zero the next_keypair before zeroing the others, so that in wg_noise_keypairs_clear() 161 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() [all...] |
H A D | noise.h | 46 struct noise_keypair __rcu *next_keypair; member
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | noise.c | 157 /* We zero the next_keypair before zeroing the others, so that in wg_noise_keypairs_clear() 161 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() [all...] |
H A D | noise.h | 46 struct noise_keypair __rcu *next_keypair; member
|
Completed in 3 milliseconds