Home
last modified time | relevance | path

Searched refs:keypair_update_lock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireguard/
H A Dnoise.c155 spin_lock_bh(&keypairs->keypair_update_lock); in wg_noise_keypairs_clear()
162 lockdep_is_held(&keypairs->keypair_update_lock)); in wg_noise_keypairs_clear()
167 lockdep_is_held(&keypairs->keypair_update_lock)); in wg_noise_keypairs_clear()
172 lockdep_is_held(&keypairs->keypair_update_lock)); in wg_noise_keypairs_clear()
176 spin_unlock_bh(&keypairs->keypair_update_lock); in wg_noise_keypairs_clear()
186 spin_lock_bh(&peer->keypairs.keypair_update_lock); in wg_noise_expire_current_peer_keypairs()
203 spin_lock_bh(&keypairs->keypair_update_lock); in add_new_keypair()
250 spin_unlock_bh(&keypairs->keypair_update_lock); in add_new_keypair()
265 spin_lock_bh(&keypairs->keypair_update_lock); in wg_noise_received_with_keypair()
272 spin_unlock_bh(&keypairs->keypair_update_lock); in wg_noise_received_with_keypair()
[all …]
H A Dnoise.h47 spinlock_t keypair_update_lock; member
H A Dpeer.c47 spin_lock_init(&peer->keypairs.keypair_update_lock); in wg_peer_create()