Lines Matching refs:write_lock
155 struct mutex write_lock; /* Guards order of events/notifications. */ member
191 mutex_destroy(&ddev->write_lock); in __sdtx_device_release()
602 lockdep_assert_held(&ddev->write_lock); in sdtx_push_event()
656 mutex_lock(&ddev->write_lock); in sdtx_notifier()
714 mutex_unlock(&ddev->write_lock); in sdtx_notifier()
763 mutex_lock(&ddev->write_lock); in sdtx_device_mode_workfn()
768 mutex_unlock(&ddev->write_lock); in sdtx_device_mode_workfn()
785 mutex_unlock(&ddev->write_lock); in sdtx_device_mode_workfn()
799 lockdep_assert_held(&ddev->write_lock); in __sdtx_device_state_update_base()
828 lockdep_assert_held(&ddev->write_lock); in __sdtx_device_state_update_mode()
860 lockdep_assert_held(&ddev->write_lock); in __sdtx_device_state_update_latch()
913 mutex_lock(&ddev->write_lock); in sdtx_device_state_workfn()
932 mutex_unlock(&ddev->write_lock); in sdtx_device_state_workfn()
968 mutex_init(&ddev->write_lock); in sdtx_device_init()