Searched refs:iowq (Results 1 – 1 of 1) sorted by relevance
6833 static inline bool io_should_wake(struct io_wait_queue *iowq, bool noflush) in io_should_wake() argument6835 struct io_ring_ctx *ctx = iowq->ctx; in io_should_wake()6842 return io_cqring_events(ctx, noflush) >= iowq->to_wait || in io_should_wake()6843 atomic_read(&ctx->cq_timeouts) != iowq->nr_timeouts; in io_should_wake()6849 struct io_wait_queue *iowq = container_of(curr, struct io_wait_queue, in io_wake_function() local6853 if (!io_should_wake(iowq, true)) in io_wake_function()6882 struct io_wait_queue iowq = { in io_cqring_wait() local6886 .entry = LIST_HEAD_INIT(iowq.wq.entry), in io_cqring_wait()6914 iowq.nr_timeouts = atomic_read(&ctx->cq_timeouts); in io_cqring_wait()6917 prepare_to_wait_exclusive(&ctx->wait, &iowq.wq, in io_cqring_wait()[all …]