Lines Matching refs:lock
71 spin_lock_irqsave(&ctx->wqh.lock, flags);
78 spin_unlock_irqrestore(&ctx->wqh.lock, flags);
127 * All writes to ctx->count occur within ctx->wqh.lock. This read
128 * can be done outside ctx->wqh.lock because we know that poll_wait
129 * takes that lock (through add_wait_queue) if our caller will sleep.
138 * lock ctx->wqh.lock (in poll_wait)
141 * unlock ctx->wqh.lock
142 * lock ctx->qwh.lock
146 * unlock ctx->qwh.lock
154 * lock ctx->qwh.lock
158 * unlock ctx->qwh.lock
159 * lock ctx->wqh.lock (in poll_wait)
161 * unlock ctx->wqh.lock
178 lockdep_assert_held(&ctx->wqh.lock);
203 spin_lock_irqsave(&ctx->wqh.lock, flags);
208 spin_unlock_irqrestore(&ctx->wqh.lock, flags);
222 spin_lock_irq(&ctx->wqh.lock);
226 spin_unlock_irq(&ctx->wqh.lock);
231 spin_unlock_irq(&ctx->wqh.lock);
240 spin_unlock_irq(&ctx->wqh.lock);
260 spin_lock_irq(&ctx->wqh.lock);
277 spin_unlock_irq(&ctx->wqh.lock);
288 spin_lock_irq(&ctx->wqh.lock);
290 spin_unlock_irq(&ctx->wqh.lock);