Lines Matching refs:wqh
37 wait_queue_head_t wqh; member
66 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_triggered()
69 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_triggered()
70 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_triggered()
106 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
110 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_clock_was_set()
112 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
236 poll_wait(file, &ctx->wqh, wait); in timerfd_poll()
238 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll()
241 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll()
255 spin_lock_irq(&ctx->wqh.lock); in timerfd_read()
259 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); in timerfd_read()
295 spin_unlock_irq(&ctx->wqh.lock); in timerfd_read()
307 spin_lock_irq(&ctx->wqh.lock); in timerfd_show()
310 spin_unlock_irq(&ctx->wqh.lock); in timerfd_show()
345 spin_lock_irq(&ctx->wqh.lock); in timerfd_ioctl()
348 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_ioctl()
351 spin_unlock_irq(&ctx->wqh.lock); in timerfd_ioctl()
413 init_waitqueue_head(&ctx->wqh); in SYSCALL_DEFINE2()
464 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_settime()
473 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
502 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
516 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_gettime()
534 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_gettime()