Lines Matching refs:lock
96 * &dma_resv lock. Note that this also pulls in the entire established
201 * same rules for lock nesting order, calling contexts for various functions
228 * waiting on a &dma_fence while holding a lock::
230 * lock(A);
234 * while the other thread is stuck trying to acquire the same lock, which
238 * lock(A);
247 * lock(A);
362 * &dma_fence.lock held.
373 lockdep_assert_held(fence->lock);
418 spin_lock_irqsave(fence->lock, flags);
420 spin_unlock_irqrestore(fence->lock, flags);
436 * Unlike dma_fence_signal(), this function must be called with &dma_fence.lock
472 spin_lock_irqsave(fence->lock, flags);
474 spin_unlock_irqrestore(fence->lock, flags);
553 spin_lock_irqsave(fence->lock, flags);
556 spin_unlock_irqrestore(fence->lock, flags);
583 lockdep_assert_held(fence->lock);
615 spin_lock_irqsave(fence->lock, flags);
617 spin_unlock_irqrestore(fence->lock, flags);
657 spin_lock_irqsave(fence->lock, flags);
667 spin_unlock_irqrestore(fence->lock, flags);
690 spin_lock_irqsave(fence->lock, flags);
692 spin_unlock_irqrestore(fence->lock, flags);
722 spin_lock_irqsave(fence->lock, flags);
728 spin_unlock_irqrestore(fence->lock, flags);
767 spin_lock_irqsave(fence->lock, flags);
791 spin_unlock_irqrestore(fence->lock, flags);
795 spin_lock_irqsave(fence->lock, flags);
805 spin_unlock_irqrestore(fence->lock, flags);
996 * @lock: the irqsafe spinlock to use for locking this fence
1009 spinlock_t *lock, u64 context, u64 seqno)
1011 BUG_ON(!lock);
1017 fence->lock = lock;