• Home
  • Raw
  • Download

Lines Matching refs:nr_user_files

372 		unsigned		nr_user_files;  member
7136 if (unlikely((unsigned int)fd >= ctx->nr_user_files)) in io_file_get_fixed()
7138 fd = array_index_nospec(fd, ctx->nr_user_files); in io_file_get_fixed()
8178 for (i = 0; i < ctx->nr_user_files; i++) { in __io_sqe_files_unregister()
8189 ctx->nr_user_files = 0; in __io_sqe_files_unregister()
8194 unsigned nr = ctx->nr_user_files; in io_sqe_files_unregister()
8204 ctx->nr_user_files = 0; in io_sqe_files_unregister()
8206 ctx->nr_user_files = nr; in io_sqe_files_unregister()
8409 left = ctx->nr_user_files; in io_sqe_files_scm()
8423 while (total < ctx->nr_user_files) { in io_sqe_files_scm()
8579 for (i = 0; i < nr_args; i++, ctx->nr_user_files++) { in io_sqe_files_register()
8620 for (i = 0; i < ctx->nr_user_files; i++) { in io_sqe_files_register()
8626 ctx->nr_user_files = 0; in io_sqe_files_register()
8666 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file()
8669 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file()
8713 if (offset >= ctx->nr_user_files) in io_close_fixed()
8719 offset = array_index_nospec(offset, ctx->nr_user_files); in io_close_fixed()
8753 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update()
8771 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update()
10385 seq_printf(m, "UserFiles:\t%u\n", ctx->nr_user_files); in __io_uring_show_fdinfo()
10386 for (i = 0; has_lock && i < ctx->nr_user_files; i++) { in __io_uring_show_fdinfo()
11259 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, in SYSCALL_DEFINE4()