Searched refs:nr_user_bufs (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/io_uring/ |
D | rsrc.c | 410 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update() 438 i = array_index_nospec(up->offset + done, ctx->nr_user_bufs); in __io_sqe_buffers_update() 763 for (i = 0; i < ctx->nr_user_bufs; i++) in __io_sqe_buffers_unregister() 769 ctx->nr_user_bufs = 0; in __io_sqe_buffers_unregister() 774 unsigned nr = ctx->nr_user_bufs; in io_sqe_buffers_unregister() 784 ctx->nr_user_bufs = 0; in io_sqe_buffers_unregister() 786 ctx->nr_user_bufs = nr; in io_sqe_buffers_unregister() 815 for (i = 0; i < ctx->nr_user_bufs; i++) { in headpage_already_acct() 1052 for (i = 0; i < nr_args; i++, ctx->nr_user_bufs++) { in io_sqe_buffers_register() 1164 nbufs = src_ctx->nr_user_bufs; in io_clone_buffers() [all …]
|
D | fdinfo.c | 177 seq_printf(m, "UserBufs:\t%u\n", ctx->nr_user_bufs); in io_uring_show_fdinfo() 178 for (i = 0; has_lock && i < ctx->nr_user_bufs; i++) { in io_uring_show_fdinfo()
|
D | uring_cmd.c | 215 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_uring_cmd_prep() 217 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs); in io_uring_cmd_prep()
|
D | rw.c | 341 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_prep_rw_fixed() 343 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs); in io_prep_rw_fixed()
|
D | register.c | 613 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, ret); in SYSCALL_DEFINE4()
|
D | net.c | 1260 if (unlikely(idx >= ctx->nr_user_bufs)) in io_send_zc_prep() 1262 idx = array_index_nospec(idx, ctx->nr_user_bufs); in io_send_zc_prep()
|
/linux-6.12.1/include/linux/ |
D | io_uring_types.h | 288 unsigned nr_user_bufs; member
|