Searched refs:iowq (Results 1 – 1 of 1) sorted by relevance
2978 static inline bool io_should_wake(struct io_wait_queue *iowq) in io_should_wake() argument2980 struct io_ring_ctx *ctx = iowq->ctx; in io_should_wake()2987 return io_cqring_events(ctx->rings) >= iowq->to_wait || in io_should_wake()2988 atomic_read(&ctx->cq_timeouts) != iowq->nr_timeouts; in io_should_wake()2994 struct io_wait_queue *iowq = container_of(curr, struct io_wait_queue, in io_wake_function() local2997 if (!io_should_wake(iowq)) in io_wake_function()3010 struct io_wait_queue iowq = { in io_cqring_wait() local3014 .entry = LIST_HEAD_INIT(iowq.wq.entry), in io_cqring_wait()3039 iowq.nr_timeouts = atomic_read(&ctx->cq_timeouts); in io_cqring_wait()3041 prepare_to_wait_exclusive(&ctx->wait, &iowq.wq, in io_cqring_wait()[all …]