Lines Matching refs:io_ring_ctx

30 static struct io_rsrc_node *io_sqe_buffer_register(struct io_ring_ctx *ctx,
111 static struct io_mapped_ubuf *io_alloc_imu(struct io_ring_ctx *ctx, in io_alloc_imu()
119 static void io_free_imu(struct io_ring_ctx *ctx, struct io_mapped_ubuf *imu) in io_free_imu()
127 static void io_buffer_unmap(struct io_ring_ctx *ctx, struct io_mapped_ubuf *imu) in io_buffer_unmap()
140 struct io_rsrc_node *io_rsrc_node_alloc(struct io_ring_ctx *ctx, int type) in io_rsrc_node_alloc()
154 bool io_rsrc_cache_init(struct io_ring_ctx *ctx) in io_rsrc_cache_init()
168 void io_rsrc_cache_free(struct io_ring_ctx *ctx) in io_rsrc_cache_free()
186 __cold void io_rsrc_data_free(struct io_ring_ctx *ctx, in io_rsrc_data_free()
211 static int __io_sqe_files_update(struct io_ring_ctx *ctx, in __io_sqe_files_update()
279 static int __io_sqe_buffers_update(struct io_ring_ctx *ctx, in __io_sqe_buffers_update()
333 static int __io_register_rsrc_update(struct io_ring_ctx *ctx, unsigned type, in __io_register_rsrc_update()
353 int io_register_files_update(struct io_ring_ctx *ctx, void __user *arg, in io_register_files_update()
368 int io_register_rsrc_update(struct io_ring_ctx *ctx, void __user *arg, in io_register_rsrc_update()
382 __cold int io_register_rsrc(struct io_ring_ctx *ctx, void __user *arg, in io_register_rsrc()
473 struct io_ring_ctx *ctx = req->ctx; in io_files_update()
499 void io_free_rsrc_node(struct io_ring_ctx *ctx, struct io_rsrc_node *node) in io_free_rsrc_node()
519 int io_sqe_files_unregister(struct io_ring_ctx *ctx) in io_sqe_files_unregister()
529 int io_sqe_files_register(struct io_ring_ctx *ctx, void __user *arg, in io_sqe_files_register()
599 int io_sqe_buffers_unregister(struct io_ring_ctx *ctx) in io_sqe_buffers_unregister()
616 static bool headpage_already_acct(struct io_ring_ctx *ctx, struct page **pages, in headpage_already_acct()
648 static int io_buffer_account_pin(struct io_ring_ctx *ctx, struct page **pages, in io_buffer_account_pin()
765 static struct io_rsrc_node *io_sqe_buffer_register(struct io_ring_ctx *ctx, in io_sqe_buffer_register()
861 int io_sqe_buffers_register(struct io_ring_ctx *ctx, void __user *arg, in io_sqe_buffers_register()
934 struct io_ring_ctx *ctx = cmd_to_io_kiocb(cmd)->ctx; in io_buffer_register_bvec()
997 struct io_ring_ctx *ctx = cmd_to_io_kiocb(cmd)->ctx; in io_buffer_unregister_bvec()
1107 struct io_ring_ctx *ctx = req->ctx; in io_find_buf_node()
1140 static void lock_two_rings(struct io_ring_ctx *ctx1, struct io_ring_ctx *ctx2) in lock_two_rings()
1149 static int io_clone_buffers(struct io_ring_ctx *ctx, struct io_ring_ctx *src_ctx, in io_clone_buffers()
1261 int io_register_clone_buffers(struct io_ring_ctx *ctx, void __user *arg) in io_register_clone_buffers()
1264 struct io_ring_ctx *src_ctx; in io_register_clone_buffers()