Home
last modified time | relevance | path

Searched refs:unreg_sem (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/vfio/mdev/
A Dmdev_core.c33 lockdep_assert_held(&parent->unreg_sem); in mdev_device_remove_common()
68 init_rwsem(&parent->unreg_sem); in mdev_register_parent()
106 down_write(&parent->unreg_sem); in mdev_unregister_parent()
110 up_write(&parent->unreg_sem); in mdev_unregister_parent()
187 if (!down_read_trylock(&parent->unreg_sem)) { in mdev_device_create()
206 up_read(&parent->unreg_sem); in mdev_device_create()
213 up_read(&parent->unreg_sem); in mdev_device_create()
244 if (!down_read_trylock(&parent->unreg_sem)) in mdev_device_remove()
248 up_read(&parent->unreg_sem); in mdev_device_remove()
/linux-6.3-rc2/include/linux/
A Dmdev.h45 struct rw_semaphore unreg_sem; member

Completed in 5 milliseconds