Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireguard/
Ddevice.c49 mutex_lock(&wg->device_update_lock); in wg_open()
59 mutex_unlock(&wg->device_update_lock); in wg_open()
81 mutex_lock(&wg->device_update_lock); in wg_pm_notification()
87 mutex_unlock(&wg->device_update_lock); in wg_pm_notification()
103 mutex_lock(&wg->device_update_lock); in wg_vm_notification()
106 mutex_unlock(&wg->device_update_lock); in wg_vm_notification()
120 mutex_lock(&wg->device_update_lock); in wg_stop()
128 mutex_unlock(&wg->device_update_lock); in wg_stop()
249 mutex_lock(&wg->device_update_lock); in wg_destruct()
267 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()
596 mutex_unlock(&wg->device_update_lock); in wg_set_device()
Ddevice.h51 struct mutex device_update_lock, socket_update_lock; member