Searched refs:_DRM_LOCKING_CONTEXT (Results 1 – 6 of 6) sorted by relevance
79 if (_DRM_LOCKING_CONTEXT(old) == context) { in drm_lock_take()89 if ((_DRM_LOCKING_CONTEXT(new)) == context && (new & _DRM_LOCK_HELD)) { in drm_lock_take()140 new = _DRM_LOCKING_CONTEXT(old); in drm_legacy_lock_free()144 if (_DRM_LOCK_IS_HELD(old) && _DRM_LOCKING_CONTEXT(old) != context) { in drm_legacy_lock_free()146 context, _DRM_LOCKING_CONTEXT(old)); in drm_legacy_lock_free()349 filp, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); in drm_legacy_lock_release()351 _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); in drm_legacy_lock_release()
59 if ((_DRM_LOCKING_CONTEXT(*lock) == context)) { in via_release_futex()
41 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD|_DRM_LOCK_CONT)) macro
51 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD | _DRM_LOCK_CONT)) macro
82 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD|_DRM_LOCK_CONT)) macro