Home
last modified time | relevance | path

Searched refs:wqh (Results 1 – 5 of 5) sorted by relevance

/fs/
Deventfd.c31 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()
[all …]
Dtimerfd.c37 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()
[all …]
Dsignalfd.c38 wait_queue_head_t *wqh = &sighand->signalfd_wqh; in signalfd_cleanup() local
44 if (likely(!waitqueue_active(wqh))) in signalfd_cleanup()
48 wake_up_poll(wqh, EPOLLHUP | POLLFREE); in signalfd_cleanup()
Dfs-writeback.c1328 wait_queue_head_t *wqh; in __inode_wait_for_writeback() local
1330 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in __inode_wait_for_writeback()
1333 __wait_on_bit(wqh, &wq, bit_wait, in __inode_wait_for_writeback()
1358 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback() local
1361 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback()
1366 finish_wait(wqh, &wait); in inode_sleep_on_writeback()
Duserfaultfd.c948 wait_queue_head_t *wqh) in find_userfault_in() argument
953 lockdep_assert_held(&wqh->lock); in find_userfault_in()
956 if (!waitqueue_active(wqh)) in find_userfault_in()
959 wq = list_last_entry(&wqh->head, typeof(*wq), entry); in find_userfault_in()