• Home
  • Raw
  • Download

Lines Matching refs:nr_user_files

372 		unsigned		nr_user_files;  member
6973 if (unlikely((unsigned int)fd >= ctx->nr_user_files)) in io_file_get_fixed()
6975 fd = array_index_nospec(fd, ctx->nr_user_files); in io_file_get_fixed()
8013 for (i = 0; i < ctx->nr_user_files; i++) { in __io_sqe_files_unregister()
8024 ctx->nr_user_files = 0; in __io_sqe_files_unregister()
8029 unsigned nr = ctx->nr_user_files; in io_sqe_files_unregister()
8039 ctx->nr_user_files = 0; in io_sqe_files_unregister()
8041 ctx->nr_user_files = nr; in io_sqe_files_unregister()
8244 left = ctx->nr_user_files; in io_sqe_files_scm()
8258 while (total < ctx->nr_user_files) { in io_sqe_files_scm()
8414 for (i = 0; i < nr_args; i++, ctx->nr_user_files++) { in io_sqe_files_register()
8455 for (i = 0; i < ctx->nr_user_files; i++) { in io_sqe_files_register()
8461 ctx->nr_user_files = 0; in io_sqe_files_register()
8501 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file()
8504 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file()
8548 if (offset >= ctx->nr_user_files) in io_close_fixed()
8554 offset = array_index_nospec(offset, ctx->nr_user_files); in io_close_fixed()
8588 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update()
8606 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update()
10225 seq_printf(m, "UserFiles:\t%u\n", ctx->nr_user_files); in __io_uring_show_fdinfo()
10226 for (i = 0; has_lock && i < ctx->nr_user_files; i++) { in __io_uring_show_fdinfo()
11103 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, in SYSCALL_DEFINE4()