Lines Matching defs:next_keypair
157 /* We zero the next_keypair before zeroing the others, so that
161 old = rcu_dereference_protected(keypairs->next_keypair,
163 RCU_INIT_POINTER(keypairs->next_keypair, NULL);
187 keypair = rcu_dereference_protected(peer->keypairs.next_keypair,
201 struct noise_keypair *previous_keypair, *next_keypair, *current_keypair;
206 next_keypair = rcu_dereference_protected(keypairs->next_keypair,
215 if (next_keypair) {
225 RCU_INIT_POINTER(keypairs->next_keypair, NULL);
227 next_keypair);
245 rcu_assign_pointer(keypairs->next_keypair, new_keypair);
246 wg_noise_keypair_put(next_keypair, true);
261 rcu_access_pointer(keypairs->next_keypair);
270 rcu_dereference_protected(keypairs->next_keypair,
287 RCU_INIT_POINTER(keypairs->next_keypair, NULL);