Lines Matching refs:master_mutex
66 lockdep_is_held(&fpriv->minor->dev->master_mutex)); in drm_is_current_master_locked()
98 mutex_lock(&dev->master_mutex); in drm_getmagic()
106 mutex_unlock(&dev->master_mutex); in drm_getmagic()
121 mutex_lock(&dev->master_mutex); in drm_authmagic()
127 mutex_unlock(&dev->master_mutex); in drm_authmagic()
168 lockdep_assert_held_once(&dev->master_mutex); in drm_new_set_master()
251 mutex_lock(&dev->master_mutex); in drm_setmaster_ioctl()
285 mutex_unlock(&dev->master_mutex); in drm_setmaster_ioctl()
302 mutex_lock(&dev->master_mutex); in drm_dropmaster_ioctl()
328 mutex_unlock(&dev->master_mutex); in drm_dropmaster_ioctl()
340 mutex_lock(&dev->master_mutex); in drm_master_open()
348 mutex_unlock(&dev->master_mutex); in drm_master_open()
358 mutex_lock(&dev->master_mutex); in drm_master_release()
379 mutex_unlock(&dev->master_mutex); in drm_master_release()
452 mutex_lock(&dev->master_mutex); in drm_master_internal_acquire()
454 mutex_unlock(&dev->master_mutex); in drm_master_internal_acquire()
465 mutex_unlock(&dev->master_mutex); in drm_master_internal_release()