Searched refs:nr_user_bufs (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | rsrc.c | 432 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update() 457 i = array_index_nospec(up->offset + done, ctx->nr_user_bufs); in __io_sqe_buffers_update() 778 for (i = 0; i < ctx->nr_user_bufs; i++) in __io_sqe_buffers_unregister() 784 ctx->nr_user_bufs = 0; in __io_sqe_buffers_unregister() 789 unsigned nr = ctx->nr_user_bufs; in io_sqe_buffers_unregister() 799 ctx->nr_user_bufs = 0; in io_sqe_buffers_unregister() 801 ctx->nr_user_bufs = nr; in io_sqe_buffers_unregister() 830 for (i = 0; i < ctx->nr_user_bufs; i++) { in headpage_already_acct() 1032 for (i = 0; i < nr_args; i++, ctx->nr_user_bufs++) { in io_sqe_buffers_register()
|
H A D | uring_cmd.c | 102 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_uring_cmd_prep() 104 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs); in io_uring_cmd_prep()
|
H A D | fdinfo.c | 163 seq_printf(m, "UserBufs:\t%u\n", ctx->nr_user_bufs); in io_uring_show_fdinfo() 164 for (i = 0; has_lock && i < ctx->nr_user_bufs; i++) { in io_uring_show_fdinfo()
|
H A D | rw.c | 91 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_prep_rw() 93 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs); in io_prep_rw()
|
H A D | net.c | 1072 if (unlikely(idx >= ctx->nr_user_bufs)) in io_send_zc_prep() 1074 idx = array_index_nospec(idx, ctx->nr_user_bufs); in io_send_zc_prep()
|
H A D | io_uring.c | 4620 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, ret); in SYSCALL_DEFINE4()
|
/openbmc/linux/include/linux/ |
H A D | io_uring_types.h | 248 unsigned nr_user_bufs; member
|