Home
last modified time | relevance | path

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

/linux/drivers/net/wireguard/
H A Ddevice.c50 mutex_lock(&wg->device_update_lock); in wg_open()
60 mutex_unlock(&wg->device_update_lock); in wg_open()
82 mutex_lock(&wg->device_update_lock); in wg_pm_notification()
88 mutex_unlock(&wg->device_update_lock); in wg_pm_notification()
104 mutex_lock(&wg->device_update_lock); in wg_vm_notification()
107 mutex_unlock(&wg->device_update_lock); in wg_vm_notification()
121 mutex_lock(&wg->device_update_lock); in wg_stop()
129 mutex_unlock(&wg->device_update_lock); in wg_stop()
249 mutex_lock(&wg->device_update_lock); in wg_destruct()
266 mutex_unlock(&wg->device_update_lock); in wg_destruct()
[all …]
H A Dpeer.c28 lockdep_assert_held(&wg->device_update_lock); in wg_peer_create()
85 &peer->device->device_update_lock); in peer_make_dead()
160 lockdep_assert_held(&peer->device->device_update_lock); in wg_peer_remove()
172 lockdep_assert_held(&wg->device_update_lock); in wg_peer_remove_all()
175 wg_allowedips_free(&wg->peer_allowedips, &wg->device_update_lock); in wg_peer_remove_all()
H A Ddevice.h51 struct mutex device_update_lock, socket_update_lock; member