Lines Matching refs:ops_lock
168 struct mutex ops_lock; member
246 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_check_framebuffer()
438 mutex_lock(&mdev_state->ops_lock); in mdev_access()
491 mutex_unlock(&mdev_state->ops_lock); in mdev_access()
543 mutex_init(&mdev_state->ops_lock); in mbochs_probe()
706 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in __mbochs_get_page()
727 mutex_lock(&mdev_state->ops_lock); in mbochs_get_page()
729 mutex_unlock(&mdev_state->ops_lock); in mbochs_get_page()
739 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_put_pages()
892 mutex_lock(&mdev_state->ops_lock); in mbochs_release_dmabuf()
896 mutex_unlock(&mdev_state->ops_lock); in mbochs_release_dmabuf()
912 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_alloc()
955 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_find_by_mode()
969 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_find_by_id()
985 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_dmabuf_export()
1097 mutex_lock(&mdev_state->ops_lock); in mbochs_query_gfx_plane()
1116 mutex_unlock(&mdev_state->ops_lock); in mbochs_query_gfx_plane()
1134 mutex_unlock(&mdev_state->ops_lock); in mbochs_query_gfx_plane()
1142 mutex_lock(&mdev_state->ops_lock); in mbochs_get_gfx_dmabuf()
1146 mutex_unlock(&mdev_state->ops_lock); in mbochs_get_gfx_dmabuf()
1153 mutex_unlock(&mdev_state->ops_lock); in mbochs_get_gfx_dmabuf()
1287 mutex_lock(&mdev_state->ops_lock); in mbochs_close_device()
1300 mutex_unlock(&mdev_state->ops_lock); in mbochs_close_device()