Lines Matching refs:completion_lock
160 spinlock_t completion_lock;
507 /* Take completion_lock to prevent other writes to the ring buffer
511 spin_lock_irqsave(&ctx->completion_lock, flags);
516 spin_unlock_irqrestore(&ctx->completion_lock, flags);
836 spin_lock_init(&ctx->completion_lock);
1046 * called holding ctx->completion_lock.
1079 spin_lock_irq(&ctx->completion_lock);
1089 * ctx->completion_lock. Even if head is invalid, the check
1099 spin_unlock_irq(&ctx->completion_lock);
1194 * ctx->completion_lock to prevent other code from messing with the tail
1197 spin_lock_irqsave(&ctx->completion_lock, flags);
1235 spin_unlock_irqrestore(&ctx->completion_lock, flags);