Searched refs:wqh (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | eventfd.c | 27 wait_queue_head_t wqh; member 58 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal() 62 if (waitqueue_active(&ctx->wqh)) in eventfd_signal() 63 wake_up_locked_poll(&ctx->wqh, POLLIN); in eventfd_signal() 64 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal() 112 wake_up_poll(&ctx->wqh, POLLHUP); in eventfd_release() 123 poll_wait(file, &ctx->wqh, wait); in eventfd_poll() 161 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue() 163 __remove_wait_queue(&ctx->wqh, wait); in eventfd_ctx_remove_wait_queue() 164 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue() [all …]
|
D | timerfd.c | 36 wait_queue_head_t wqh; member 65 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_triggered() 68 wake_up_locked(&ctx->wqh); in timerfd_triggered() 69 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_triggered() 105 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_clock_was_set() 109 wake_up_locked(&ctx->wqh); in timerfd_clock_was_set() 111 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_clock_was_set() 235 poll_wait(file, &ctx->wqh, wait); in timerfd_poll() 237 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll() 240 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll() [all …]
|
D | fs-writeback.c | 1218 wait_queue_head_t *wqh; in __inode_wait_for_writeback() local 1220 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in __inode_wait_for_writeback() 1223 __wait_on_bit(wqh, &wq, bit_wait, in __inode_wait_for_writeback() 1248 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback() local 1251 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback() 1256 finish_wait(wqh, &wait); in inode_sleep_on_writeback()
|