Lines Matching refs:fd_wqh
74 wait_queue_head_t fd_wqh; member
223 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put()
224 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put()
560 wake_up_poll(&ctx->fd_wqh, EPOLLIN); in handle_userfault()
643 wake_up_poll(&ctx->fd_wqh, EPOLLIN); in userfaultfd_event_wait_completion()
960 wake_up_poll(&ctx->fd_wqh, EPOLLHUP); in userfaultfd_release()
1001 poll_wait(file, &ctx->fd_wqh, wait); in userfaultfd_poll()
1067 spin_lock_irq(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1068 __add_wait_queue(&ctx->fd_wqh, &wait); in userfaultfd_ctx_read()
1153 spin_unlock_irq(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1155 spin_lock_irq(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1157 __remove_wait_queue(&ctx->fd_wqh, &wait); in userfaultfd_ctx_read()
1159 spin_unlock_irq(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
2185 init_waitqueue_head(&ctx->fd_wqh); in init_once_userfaultfd_ctx()