Lines Matching refs:completion_lock
160 spinlock_t completion_lock;
417 * happen under the ctx->completion_lock. That does not work with the
463 /* Take completion_lock to prevent other writes to the ring buffer
467 spin_lock_irqsave(&ctx->completion_lock, flags);
471 spin_unlock_irqrestore(&ctx->completion_lock, flags);
776 spin_lock_init(&ctx->completion_lock);
986 * called holding ctx->completion_lock.
1019 spin_lock_irq(&ctx->completion_lock);
1029 * ctx->completion_lock. Even if head is invalid, the check
1039 spin_unlock_irq(&ctx->completion_lock);
1129 * ctx->completion_lock to prevent other code from messing with the tail
1132 spin_lock_irqsave(&ctx->completion_lock, flags);
1166 spin_unlock_irqrestore(&ctx->completion_lock, flags);