Lines Matching refs:tree_lock
94 lockdep_assert_held(&ref->tree_lock); in debug_active_activate()
101 lockdep_assert_held(&ref->tree_lock); in debug_active_deactivate()
136 if (!atomic_dec_and_lock_irqsave(&ref->count, &ref->tree_lock, flags)) in __active_retire()
161 spin_unlock_irqrestore(&ref->tree_lock, flags); in __active_retire()
299 spin_lock_irq(&ref->tree_lock); in active_instance()
334 spin_unlock_irq(&ref->tree_lock); in active_instance()
352 spin_lock_init(&ref->tree_lock); in __i915_active_init()
496 spin_lock_irq(&ref->tree_lock); /* __active_retire() */ in __i915_active_activate()
499 spin_unlock_irq(&ref->tree_lock); in __i915_active_activate()
847 spin_lock_irq(&ref->tree_lock); in reuse_idle_barrier()
851 spin_unlock_irq(&ref->tree_lock); in reuse_idle_barrier()
956 spin_lock_irqsave_nested(&ref->tree_lock, flags, in i915_active_acquire_barrier()
973 spin_unlock_irqrestore(&ref->tree_lock, flags); in i915_active_acquire_barrier()