Lines Matching refs:lock
50 return container_of(fence->base.lock, struct nouveau_fence_chan, lock);
89 spin_lock_irqsave(&fctx->lock, flags);
100 spin_unlock_irqrestore(&fctx->lock, flags);
157 spin_lock_irqsave(&fctx->lock, flags);
163 chan = rcu_dereference_protected(fence->channel, lockdep_is_held(&fctx->lock));
170 spin_unlock_irqrestore(&fctx->lock, flags);
195 spin_lock_init(&fctx->lock);
231 &fctx->lock, fctx->context, ++fctx->sequence);
234 &fctx->lock, fctx->context, ++fctx->sequence);
240 spin_lock_irq(&fctx->lock);
243 spin_unlock_irq(&fctx->lock);
252 spin_unlock_irq(&fctx->lock);
270 spin_lock_irqsave(&fctx->lock, flags);
271 chan = rcu_dereference_protected(fence->channel, lockdep_is_held(&fctx->lock));
274 spin_unlock_irqrestore(&fctx->lock, flags);