Home
last modified time | relevance | path

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

/fs/
Deventfd.c33 wait_queue_head_t wqh; member
76 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal()
81 if (waitqueue_active(&ctx->wqh)) in eventfd_signal()
82 wake_up_locked_poll(&ctx->wqh, EPOLLIN); in eventfd_signal()
84 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal()
121 wake_up_poll(&ctx->wqh, EPOLLHUP); in eventfd_release()
132 poll_wait(file, &ctx->wqh, wait); in eventfd_poll()
186 lockdep_assert_held(&ctx->wqh.lock); in eventfd_ctx_do_read()
211 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue()
213 __remove_wait_queue(&ctx->wqh, wait); 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 …]
Dfs-writeback.c1342 wait_queue_head_t *wqh; in __inode_wait_for_writeback() local
1344 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in __inode_wait_for_writeback()
1347 __wait_on_bit(wqh, &wq, bit_wait, in __inode_wait_for_writeback()
1372 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback() local
1375 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback()
1380 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()