Lines Matching refs:io_ring_ctx

26 static void io_rsrc_buf_put(struct io_ring_ctx *ctx, struct io_rsrc_put *prsrc);
27 static int io_sqe_buffer_register(struct io_ring_ctx *ctx, struct iovec *iov,
61 static void io_unaccount_mem(struct io_ring_ctx *ctx, unsigned long nr_pages)
70 static int io_account_mem(struct io_ring_ctx *ctx, unsigned long nr_pages)
86 static int io_copy_iov(struct io_ring_ctx *ctx, struct iovec *dst,
135 static void io_buffer_unmap(struct io_ring_ctx *ctx, struct io_mapped_ubuf **slot)
170 void io_rsrc_node_destroy(struct io_ring_ctx *ctx, struct io_rsrc_node *node)
179 struct io_ring_ctx *ctx = node->ctx;
197 struct io_rsrc_node *io_rsrc_node_alloc(struct io_ring_ctx *ctx)
218 struct io_ring_ctx *ctx)
317 __cold static int io_rsrc_data_alloc(struct io_ring_ctx *ctx, int type,
354 static int __io_sqe_files_update(struct io_ring_ctx *ctx,
419 static int __io_sqe_buffers_update(struct io_ring_ctx *ctx,
473 static int __io_register_rsrc_update(struct io_ring_ctx *ctx, unsigned type,
493 int io_register_files_update(struct io_ring_ctx *ctx, void __user *arg,
508 int io_register_rsrc_update(struct io_ring_ctx *ctx, void __user *arg,
522 __cold int io_register_rsrc(struct io_ring_ctx *ctx, void __user *arg,
613 struct io_ring_ctx *ctx = req->ctx;
641 struct io_ring_ctx *ctx = data->ctx;
660 void __io_sqe_files_unregister(struct io_ring_ctx *ctx)
680 int io_sqe_files_unregister(struct io_ring_ctx *ctx)
700 int io_sqe_files_register(struct io_ring_ctx *ctx, void __user *arg,
767 static void io_rsrc_buf_put(struct io_ring_ctx *ctx, struct io_rsrc_put *prsrc)
773 void __io_sqe_buffers_unregister(struct io_ring_ctx *ctx)
786 int io_sqe_buffers_unregister(struct io_ring_ctx *ctx)
815 static bool headpage_already_acct(struct io_ring_ctx *ctx, struct page **pages,
843 static int io_buffer_account_pin(struct io_ring_ctx *ctx, struct page **pages,
914 static int io_sqe_buffer_register(struct io_ring_ctx *ctx, struct iovec *iov,
1002 static int io_buffers_map_alloc(struct io_ring_ctx *ctx, unsigned int nr_args)
1008 int io_sqe_buffers_register(struct io_ring_ctx *ctx, void __user *arg,