Lines Matching refs:event_wqh
44 * event_wqh.lock
58 wait_queue_head_t event_wqh;
173 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock));
174 VM_BUG_ON(waitqueue_active(&ctx->event_wqh));
560 spin_lock_irq(&ctx->event_wqh.lock);
565 __add_wait_queue(&ctx->event_wqh, &ewq->wq);
578 __remove_wait_queue(&ctx->event_wqh, &ewq->wq);
590 spin_unlock_irq(&ctx->event_wqh.lock);
595 spin_lock_irq(&ctx->event_wqh.lock);
598 spin_unlock_irq(&ctx->event_wqh.lock);
629 wake_up_locked(&ctx->event_wqh);
630 __remove_wait_queue(&ctx->event_wqh, &ewq->wq);
894 /* Flush pending events that may still wait on event_wqh */
895 wake_up_all(&ctx->event_wqh);
930 return find_userfault_in(&ctx->event_wqh);
963 else if (waitqueue_active(&ctx->event_wqh))
995 * we drop the event_wqh lock, then do these ops, then
1054 spin_lock(&ctx->event_wqh.lock);
1070 spin_unlock(&ctx->event_wqh.lock);
1076 spin_unlock(&ctx->event_wqh.lock);
1080 spin_unlock(&ctx->event_wqh.lock);
1100 spin_lock_irq(&ctx->event_wqh.lock);
1122 __add_wait_queue(&ctx->event_wqh, &uwq->wq);
1146 spin_unlock_irq(&ctx->event_wqh.lock);
1956 init_waitqueue_head(&ctx->event_wqh);