Lines Matching refs:nr_user_files
372 unsigned nr_user_files; member
6850 if (unlikely((unsigned int)fd >= ctx->nr_user_files)) in io_file_get_fixed()
6852 fd = array_index_nospec(fd, ctx->nr_user_files); in io_file_get_fixed()
7852 for (i = 0; i < ctx->nr_user_files; i++) { in __io_sqe_files_unregister()
7863 ctx->nr_user_files = 0; in __io_sqe_files_unregister()
8069 left = ctx->nr_user_files; in io_sqe_files_scm()
8083 while (total < ctx->nr_user_files) { in io_sqe_files_scm()
8240 for (i = 0; i < nr_args; i++, ctx->nr_user_files++) { in io_sqe_files_register()
8281 for (i = 0; i < ctx->nr_user_files; i++) { in io_sqe_files_register()
8287 ctx->nr_user_files = 0; in io_sqe_files_register()
8368 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file()
8371 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file()
8421 if (offset >= ctx->nr_user_files) in io_close_fixed()
8427 i = array_index_nospec(offset, ctx->nr_user_files); in io_close_fixed()
8461 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update()
8479 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update()
10084 seq_printf(m, "UserFiles:\t%u\n", ctx->nr_user_files); in __io_uring_show_fdinfo()
10085 for (i = 0; has_lock && i < ctx->nr_user_files; i++) { in __io_uring_show_fdinfo()
10947 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, in SYSCALL_DEFINE4()