Lines Matching defs:ctx
103 static inline void io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) in io_lockdep_assert_cq_locked()
125 static inline void io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) in io_lockdep_assert_cq_locked()
138 static inline bool io_get_cqe_overflow(struct io_ring_ctx *ctx, in io_get_cqe_overflow()
156 static inline bool io_get_cqe(struct io_ring_ctx *ctx, struct io_uring_cqe **ret) in io_get_cqe()
161 static __always_inline bool io_fill_cqe_req(struct io_ring_ctx *ctx, in io_fill_cqe_req()
213 static inline void io_ring_submit_unlock(struct io_ring_ctx *ctx, in io_ring_submit_unlock()
221 static inline void io_ring_submit_lock(struct io_ring_ctx *ctx, in io_ring_submit_lock()
235 static inline void io_commit_cqring(struct io_ring_ctx *ctx) in io_commit_cqring()
241 static inline void io_poll_wq_wake(struct io_ring_ctx *ctx) in io_poll_wq_wake()
248 static inline void io_cqring_wake(struct io_ring_ctx *ctx) in io_cqring_wake()
265 static inline bool io_sqring_full(struct io_ring_ctx *ctx) in io_sqring_full()
279 static inline unsigned int io_sqring_entries(struct io_ring_ctx *ctx) in io_sqring_entries()
316 static inline bool io_task_work_pending(struct io_ring_ctx *ctx) in io_task_work_pending()
321 static inline void io_tw_lock(struct io_ring_ctx *ctx, struct io_tw_state *ts) in io_tw_lock()
344 static inline void io_commit_cqring_flush(struct io_ring_ctx *ctx) in io_commit_cqring_flush()
360 static inline bool io_req_cache_empty(struct io_ring_ctx *ctx) in io_req_cache_empty()
367 static inline struct io_kiocb *io_extract_req(struct io_ring_ctx *ctx) in io_extract_req()
376 static inline bool io_alloc_req(struct io_ring_ctx *ctx, struct io_kiocb **req) in io_alloc_req()
386 static inline bool io_allowed_defer_tw_run(struct io_ring_ctx *ctx) in io_allowed_defer_tw_run()
391 static inline bool io_allowed_run_tw(struct io_ring_ctx *ctx) in io_allowed_run_tw()
408 static inline size_t uring_sqe_size(struct io_ring_ctx *ctx) in uring_sqe_size()