Lines Matching refs:wqh
38 wait_queue_head_t wqh; member
67 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_triggered()
70 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_triggered()
71 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_triggered()
107 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
111 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_clock_was_set()
113 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
255 poll_wait(file, &ctx->wqh, wait); in timerfd_poll()
257 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll()
260 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll()
274 spin_lock_irq(&ctx->wqh.lock); in timerfd_read()
278 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); in timerfd_read()
314 spin_unlock_irq(&ctx->wqh.lock); in timerfd_read()
326 spin_lock_irq(&ctx->wqh.lock); in timerfd_show()
329 spin_unlock_irq(&ctx->wqh.lock); in timerfd_show()
364 spin_lock_irq(&ctx->wqh.lock); in timerfd_ioctl()
367 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_ioctl()
370 spin_unlock_irq(&ctx->wqh.lock); in timerfd_ioctl()
432 init_waitqueue_head(&ctx->wqh); in SYSCALL_DEFINE2()
483 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_settime()
492 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
521 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
535 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_gettime()
553 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_gettime()