Lines Matching refs:user_bufs
374 struct io_mapped_ubuf **user_bufs; member
3028 req->imu = ctx->user_bufs[index]; in io_prep_rw()
9101 io_buffer_unmap(ctx, &ctx->user_bufs[i]); in __io_sqe_buffers_unregister()
9102 kfree(ctx->user_bufs); in __io_sqe_buffers_unregister()
9104 ctx->user_bufs = NULL; in __io_sqe_buffers_unregister()
9178 struct io_mapped_ubuf *imu = ctx->user_bufs[i]; in headpage_already_acct()
9328 ctx->user_bufs = kcalloc(nr_args, sizeof(*ctx->user_bufs), GFP_KERNEL); in io_buffers_map_alloc()
9329 return ctx->user_bufs ? 0 : -ENOMEM; in io_buffers_map_alloc()
9364 if (ctx->user_bufs) in io_sqe_buffers_register()
9392 ret = io_sqe_buffer_register(ctx, &iov, &ctx->user_bufs[i], in io_sqe_buffers_register()
9448 if (ctx->user_bufs[i] != ctx->dummy_ubuf) { in __io_sqe_buffers_update()
9450 ctx->rsrc_node, ctx->user_bufs[i]); in __io_sqe_buffers_update()
9455 ctx->user_bufs[i] = NULL; in __io_sqe_buffers_update()
9459 ctx->user_bufs[i] = imu; in __io_sqe_buffers_update()
10396 struct io_mapped_ubuf *buf = ctx->user_bufs[i]; in __io_uring_show_fdinfo()