Searched refs:wqh (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | eventfd.c | 34 wait_queue_head_t wqh; member 63 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal_mask() 68 if (waitqueue_active(&ctx->wqh)) in eventfd_signal_mask() 69 wake_up_locked_poll(&ctx->wqh, EPOLLIN | mask); in eventfd_signal_mask() 71 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal_mask() 127 wake_up_poll(&ctx->wqh, EPOLLHUP); in eventfd_release() 138 poll_wait(file, &ctx->wqh, wait); in eventfd_poll() 192 lockdep_assert_held(&ctx->wqh.lock); in eventfd_ctx_do_read() 217 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue() 219 __remove_wait_queue(&ctx->wqh, wait); in eventfd_ctx_remove_wait_queue() [all …]
|
D | timerfd.c | 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() [all …]
|
D | fs-writeback.c | 1345 wait_queue_head_t *wqh; in __inode_wait_for_writeback() local 1347 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in __inode_wait_for_writeback() 1350 __wait_on_bit(wqh, &wq, bit_wait, in __inode_wait_for_writeback() 1375 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback() local 1378 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback() 1383 finish_wait(wqh, &wait); in inode_sleep_on_writeback()
|
D | userfaultfd.c | 955 wait_queue_head_t *wqh) in find_userfault_in() argument 960 lockdep_assert_held(&wqh->lock); in find_userfault_in() 963 if (!waitqueue_active(wqh)) in find_userfault_in() 966 wq = list_last_entry(&wqh->head, typeof(*wq), entry); in find_userfault_in()
|