Lines Matching refs:master_mutex
67 lockdep_is_held(&fpriv->minor->dev->master_mutex)); in drm_is_current_master_locked()
99 mutex_lock(&dev->master_mutex); in drm_getmagic()
107 mutex_unlock(&dev->master_mutex); in drm_getmagic()
122 mutex_lock(&dev->master_mutex); in drm_authmagic()
128 mutex_unlock(&dev->master_mutex); in drm_authmagic()
170 lockdep_assert_held_once(&dev->master_mutex); in drm_new_set_master()
253 mutex_lock(&dev->master_mutex); in drm_setmaster_ioctl()
287 mutex_unlock(&dev->master_mutex); in drm_setmaster_ioctl()
304 mutex_lock(&dev->master_mutex); in drm_dropmaster_ioctl()
330 mutex_unlock(&dev->master_mutex); in drm_dropmaster_ioctl()
342 mutex_lock(&dev->master_mutex); in drm_master_open()
350 mutex_unlock(&dev->master_mutex); in drm_master_open()
360 mutex_lock(&dev->master_mutex); in drm_master_release()
383 mutex_unlock(&dev->master_mutex); in drm_master_release()
458 mutex_lock(&dev->master_mutex); in drm_master_internal_acquire()
460 mutex_unlock(&dev->master_mutex); in drm_master_internal_acquire()
471 mutex_unlock(&dev->master_mutex); in drm_master_internal_release()