Lines Matching defs:ctx

32 static inline struct io_buffer_list *__io_buffer_get_list(struct io_ring_ctx *ctx,  in __io_buffer_get_list()
45 static inline struct io_buffer_list *io_buffer_get_list(struct io_ring_ctx *ctx, in io_buffer_get_list()
53 static int io_buffer_add_list(struct io_ring_ctx *ctx, in io_buffer_add_list()
68 struct io_ring_ctx *ctx = req->ctx; in io_kbuf_recycle_legacy() local
113 struct io_ring_ctx *ctx = req->ctx; in __io_put_kbuf() local
192 struct io_ring_ctx *ctx = req->ctx; in io_buffer_select() local
212 static void io_kbuf_mark_free(struct io_ring_ctx *ctx, struct io_buffer_list *bl) in io_kbuf_mark_free()
227 static int __io_remove_buffers(struct io_ring_ctx *ctx, in __io_remove_buffers()
277 void io_put_bl(struct io_ring_ctx *ctx, struct io_buffer_list *bl) in io_put_bl()
285 void io_destroy_buffers(struct io_ring_ctx *ctx) in io_destroy_buffers()
326 struct io_ring_ctx *ctx = req->ctx; in io_remove_buffers() local
383 static int io_refill_buffer_cache(struct io_ring_ctx *ctx) in io_refill_buffer_cache()
426 static int io_add_buffers(struct io_ring_ctx *ctx, struct io_provide_buf *pbuf, in io_add_buffers()
455 struct io_ring_ctx *ctx = req->ctx; in io_provide_buffers() local
551 static struct io_buf_free *io_lookup_buf_free_entry(struct io_ring_ctx *ctx, in io_lookup_buf_free_entry()
574 static int io_alloc_pbuf_ring(struct io_ring_ctx *ctx, in io_alloc_pbuf_ring()
608 int io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) in io_register_pbuf_ring()
668 int io_unregister_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) in io_unregister_pbuf_ring()
693 struct io_buffer_list *io_pbuf_get_bl(struct io_ring_ctx *ctx, in io_pbuf_get_bl()
728 void io_kbuf_mmap_list_free(struct io_ring_ctx *ctx) in io_kbuf_mmap_list_free()