Home
last modified time | relevance | path

Searched refs:endpoint_lock (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/wireguard/
Dsocket.c173 read_lock_bh(&peer->endpoint_lock); in wg_socket_send_skb_to_peer()
184 read_unlock_bh(&peer->endpoint_lock); in wg_socket_send_skb_to_peer()
283 write_lock_bh(&peer->endpoint_lock); in wg_socket_set_peer_endpoint()
296 write_unlock_bh(&peer->endpoint_lock); in wg_socket_set_peer_endpoint()
310 write_lock_bh(&peer->endpoint_lock); in wg_socket_clear_peer_endpoint_src()
313 write_unlock_bh(&peer->endpoint_lock); in wg_socket_clear_peer_endpoint_src()
Dpeer.h46 rwlock_t endpoint_lock; member
Dpeer.c52 rwlock_init(&peer->endpoint_lock); in wg_peer_create()
Dnetlink.c148 read_lock_bh(&peer->endpoint_lock); in get_peer()
157 read_unlock_bh(&peer->endpoint_lock); in get_peer()