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);
953 /* Flush pending events that may still wait on event_wqh */
954 wake_up_all(&ctx->event_wqh);
989 return find_userfault_in(&ctx->event_wqh);
1022 else if (waitqueue_active(&ctx->event_wqh))
1054 * we drop the event_wqh lock, then do these ops, then
1113 spin_lock(&ctx->event_wqh.lock);
1129 spin_unlock(&ctx->event_wqh.lock);
1135 spin_unlock(&ctx->event_wqh.lock);
1139 spin_unlock(&ctx->event_wqh.lock);
1159 spin_lock_irq(&ctx->event_wqh.lock);
1181 __add_wait_queue(&ctx->event_wqh, &uwq->wq);
1205 spin_unlock_irq(&ctx->event_wqh.lock);
2175 init_waitqueue_head(&ctx->event_wqh);