Lines Matching refs:wqh
40 wait_queue_head_t wqh; member
69 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_triggered()
72 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_triggered()
73 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_triggered()
109 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
113 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_clock_was_set()
115 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
241 poll_wait(file, &ctx->wqh, wait); in timerfd_poll()
243 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll()
246 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll()
260 spin_lock_irq(&ctx->wqh.lock); in timerfd_read()
264 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); in timerfd_read()
300 spin_unlock_irq(&ctx->wqh.lock); in timerfd_read()
312 spin_lock_irq(&ctx->wqh.lock); in timerfd_show()
315 spin_unlock_irq(&ctx->wqh.lock); in timerfd_show()
350 spin_lock_irq(&ctx->wqh.lock); in timerfd_ioctl()
353 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_ioctl()
356 spin_unlock_irq(&ctx->wqh.lock); in timerfd_ioctl()
419 init_waitqueue_head(&ctx->wqh); in SYSCALL_DEFINE2()
472 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_settime()
481 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
510 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
524 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_gettime()
542 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_gettime()