• Home
  • Raw
  • Download

Lines Matching refs:wqh

31 	wait_queue_head_t wqh;  member
63 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal()
67 if (waitqueue_active(&ctx->wqh)) in eventfd_signal()
68 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in eventfd_signal()
69 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal()
106 wake_up_poll(&ctx->wqh, EPOLLHUP); in eventfd_release()
117 poll_wait(file, &ctx->wqh, wait); in eventfd_poll()
193 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue()
195 __remove_wait_queue(&ctx->wqh, wait); in eventfd_ctx_remove_wait_queue()
196 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue()
197 wake_up_locked_poll(&ctx->wqh, EPOLLOUT); in eventfd_ctx_remove_wait_queue()
198 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue()
215 spin_lock_irq(&ctx->wqh.lock); in eventfd_read()
220 __add_wait_queue(&ctx->wqh, &wait); in eventfd_read()
231 spin_unlock_irq(&ctx->wqh.lock); in eventfd_read()
233 spin_lock_irq(&ctx->wqh.lock); in eventfd_read()
235 __remove_wait_queue(&ctx->wqh, &wait); in eventfd_read()
240 if (waitqueue_active(&ctx->wqh)) in eventfd_read()
241 wake_up_locked_poll(&ctx->wqh, EPOLLOUT); in eventfd_read()
243 spin_unlock_irq(&ctx->wqh.lock); in eventfd_read()
265 spin_lock_irq(&ctx->wqh.lock); in eventfd_write()
270 __add_wait_queue(&ctx->wqh, &wait); in eventfd_write()
281 spin_unlock_irq(&ctx->wqh.lock); in eventfd_write()
283 spin_lock_irq(&ctx->wqh.lock); in eventfd_write()
285 __remove_wait_queue(&ctx->wqh, &wait); in eventfd_write()
290 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
291 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in eventfd_write()
293 spin_unlock_irq(&ctx->wqh.lock); in eventfd_write()
303 spin_lock_irq(&ctx->wqh.lock); in eventfd_show_fdinfo()
306 spin_unlock_irq(&ctx->wqh.lock); in eventfd_show_fdinfo()
408 init_waitqueue_head(&ctx->wqh); in do_eventfd()