Lines Matching refs:fd_wqh
50 wait_queue_head_t fd_wqh; member
164 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put()
165 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put()
488 wake_up_poll(&ctx->fd_wqh, EPOLLIN); in handle_userfault()
619 wake_up_poll(&ctx->fd_wqh, EPOLLIN); in userfaultfd_event_wait_completion()
917 wake_up_poll(&ctx->fd_wqh, EPOLLHUP); in userfaultfd_release()
958 poll_wait(file, &ctx->fd_wqh, wait); in userfaultfd_poll()
1029 spin_lock(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1030 __add_wait_queue(&ctx->fd_wqh, &wait); in userfaultfd_ctx_read()
1115 spin_unlock(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1117 spin_lock(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1119 __remove_wait_queue(&ctx->fd_wqh, &wait); in userfaultfd_ctx_read()
1121 spin_unlock(&ctx->fd_wqh.lock); in userfaultfd_ctx_read()
1892 init_waitqueue_head(&ctx->fd_wqh); in init_once_userfaultfd_ctx()