Lines Matching refs:nr_user_files

372 		unsigned		nr_user_files;  member
6771 if (unlikely((unsigned int)fd >= ctx->nr_user_files)) in io_file_get_fixed()
6773 fd = array_index_nospec(fd, ctx->nr_user_files); in io_file_get_fixed()
7788 for (i = 0; i < ctx->nr_user_files; i++) { in __io_sqe_files_unregister()
7799 ctx->nr_user_files = 0; in __io_sqe_files_unregister()
7804 unsigned nr = ctx->nr_user_files; in io_sqe_files_unregister()
7814 ctx->nr_user_files = 0; in io_sqe_files_unregister()
7816 ctx->nr_user_files = nr; in io_sqe_files_unregister()
8019 left = ctx->nr_user_files; in io_sqe_files_scm()
8033 while (total < ctx->nr_user_files) { in io_sqe_files_scm()
8189 for (i = 0; i < nr_args; i++, ctx->nr_user_files++) { in io_sqe_files_register()
8230 for (i = 0; i < ctx->nr_user_files; i++) { in io_sqe_files_register()
8236 ctx->nr_user_files = 0; in io_sqe_files_register()
8319 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file()
8322 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file()
8372 if (offset >= ctx->nr_user_files) in io_close_fixed()
8378 offset = array_index_nospec(offset, ctx->nr_user_files); in io_close_fixed()
8412 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update()
8430 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update()
10025 seq_printf(m, "UserFiles:\t%u\n", ctx->nr_user_files); in __io_uring_show_fdinfo()
10026 for (i = 0; has_lock && i < ctx->nr_user_files; i++) { in __io_uring_show_fdinfo()
10902 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, in SYSCALL_DEFINE4()