Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireguard/
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()
250 mutex_lock(&wg->device_update_lock); in wg_destruct()
268 mutex_unlock(&wg->device_update_lock); in wg_destruct()
[all …]
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()
Dnetlink.c221 mutex_lock(&wg->device_update_lock); in wg_get_device_dump()
268 lockdep_assert_held(&wg->device_update_lock); in wg_get_device_dump()
283 mutex_unlock(&wg->device_update_lock); in wg_get_device_dump()
346 &peer->device->device_update_lock); in set_allowedip()
352 &peer->device->device_update_lock); in set_allowedip()
452 &wg->device_update_lock); in set_peer()
505 mutex_lock(&wg->device_update_lock); in wg_set_device()
600 mutex_unlock(&wg->device_update_lock); in wg_set_device()
Ddevice.h51 struct mutex device_update_lock, socket_update_lock; member