Lines Matching refs:previous_keypair
166 old = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_keypairs_clear()
168 RCU_INIT_POINTER(keypairs->previous_keypair, NULL); in wg_noise_keypairs_clear()
201 struct noise_keypair *previous_keypair, *next_keypair, *current_keypair; in add_new_keypair() local
204 previous_keypair = rcu_dereference_protected(keypairs->previous_keypair, in add_new_keypair()
226 rcu_assign_pointer(keypairs->previous_keypair, in add_new_keypair()
232 rcu_assign_pointer(keypairs->previous_keypair, in add_new_keypair()
237 wg_noise_keypair_put(previous_keypair, true); in add_new_keypair()
247 RCU_INIT_POINTER(keypairs->previous_keypair, NULL); in add_new_keypair()
248 wg_noise_keypair_put(previous_keypair, true); in add_new_keypair()
280 old_keypair = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_received_with_keypair()
282 rcu_assign_pointer(keypairs->previous_keypair, in wg_noise_received_with_keypair()