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()
239 poll_wait(file, &ctx->wqh, wait); in timerfd_poll()
241 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll()
244 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll()
258 spin_lock_irq(&ctx->wqh.lock); in timerfd_read()
262 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); in timerfd_read()
298 spin_unlock_irq(&ctx->wqh.lock); in timerfd_read()
310 spin_lock_irq(&ctx->wqh.lock); in timerfd_show()
313 spin_unlock_irq(&ctx->wqh.lock); in timerfd_show()
348 spin_lock_irq(&ctx->wqh.lock); in timerfd_ioctl()
351 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in timerfd_ioctl()
354 spin_unlock_irq(&ctx->wqh.lock); in timerfd_ioctl()
416 init_waitqueue_head(&ctx->wqh); in SYSCALL_DEFINE2()
467 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_settime()
476 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
505 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_settime()
519 spin_lock_irq(&ctx->wqh.lock); in do_timerfd_gettime()
537 spin_unlock_irq(&ctx->wqh.lock); in do_timerfd_gettime()