Searched refs:fd_wqh (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/
H A Duserfaultfd.c47 wait_queue_head_t fd_wqh; member in struct:userfaultfd_ctx
138 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); userfaultfd_ctx_put()
139 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); userfaultfd_ctx_put()
362 wake_up_poll(&ctx->fd_wqh, POLLIN); handle_userfault()
480 wake_up_poll(&ctx->fd_wqh, POLLHUP); userfaultfd_release()
510 poll_wait(file, &ctx->fd_wqh, wait); userfaultfd_poll()
549 /* always take the fd_wqh lock before the fault_pending_wqh lock */ userfaultfd_ctx_read()
550 spin_lock(&ctx->fd_wqh.lock); userfaultfd_ctx_read()
551 __add_wait_queue(&ctx->fd_wqh, &wait); userfaultfd_ctx_read()
607 spin_unlock(&ctx->fd_wqh.lock); userfaultfd_ctx_read()
609 spin_lock(&ctx->fd_wqh.lock); userfaultfd_ctx_read()
611 __remove_wait_queue(&ctx->fd_wqh, &wait); userfaultfd_ctx_read()
613 spin_unlock(&ctx->fd_wqh.lock); userfaultfd_ctx_read()
1248 init_waitqueue_head(&ctx->fd_wqh); init_once_userfaultfd_ctx()

Completed in 130 milliseconds