Searched refs:iowq (Results 1 – 1 of 1) sorted by relevance
7782 static inline bool io_should_wake(struct io_wait_queue *iowq) in io_should_wake() argument7784 struct io_ring_ctx *ctx = iowq->ctx; in io_should_wake()7785 int dist = ctx->cached_cq_tail - (int) iowq->cq_tail; in io_should_wake()7792 return dist >= 0 || atomic_read(&ctx->cq_timeouts) != iowq->nr_timeouts; in io_should_wake()7798 struct io_wait_queue *iowq = container_of(curr, struct io_wait_queue, in io_wake_function() local7805 if (io_should_wake(iowq) || test_bit(0, &iowq->ctx->check_cq_overflow)) in io_wake_function()7832 struct io_wait_queue *iowq, in io_cqring_wait_schedule() argument7839 if (ret || io_should_wake(iowq)) in io_cqring_wait_schedule()7868 struct io_wait_queue iowq; in io_cqring_wait() local7902 init_waitqueue_func_entry(&iowq.wq, io_wake_function); in io_cqring_wait()[all …]