Lines Matching refs:event_wqh
62 * event_wqh.lock
76 wait_queue_head_t event_wqh;
221 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock));
222 VM_BUG_ON(waitqueue_active(&ctx->event_wqh));
611 spin_lock_irq(&ctx->event_wqh.lock);
616 __add_wait_queue(&ctx->event_wqh, &ewq->wq);
629 __remove_wait_queue(&ctx->event_wqh, &ewq->wq);
641 spin_unlock_irq(&ctx->event_wqh.lock);
646 spin_lock_irq(&ctx->event_wqh.lock);
649 spin_unlock_irq(&ctx->event_wqh.lock);
685 wake_up_locked(&ctx->event_wqh);
686 __remove_wait_queue(&ctx->event_wqh, &ewq->wq);
957 /* Flush pending events that may still wait on event_wqh */
958 wake_up_all(&ctx->event_wqh);
993 return find_userfault_in(&ctx->event_wqh);
1026 else if (waitqueue_active(&ctx->event_wqh))
1058 * we drop the event_wqh lock, then do these ops, then
1117 spin_lock(&ctx->event_wqh.lock);
1133 spin_unlock(&ctx->event_wqh.lock);
1139 spin_unlock(&ctx->event_wqh.lock);
1143 spin_unlock(&ctx->event_wqh.lock);
1163 spin_lock_irq(&ctx->event_wqh.lock);
1185 __add_wait_queue(&ctx->event_wqh, &uwq->wq);
1209 spin_unlock_irq(&ctx->event_wqh.lock);
2184 init_waitqueue_head(&ctx->event_wqh);