Searched refs:nr_user_files (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/io_uring/ |
D | filetable.c | 74 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file() 77 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file() 145 if (offset >= ctx->nr_user_files) in io_fixed_fd_remove() 148 offset = array_index_nospec(offset, ctx->nr_user_files); in io_fixed_fd_remove() 173 if (range.resv || end > ctx->nr_user_files) in io_register_file_alloc_range()
|
D | rsrc.c | 368 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update() 386 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update() 675 for (i = 0; i < ctx->nr_user_files; i++) { in __io_sqe_files_unregister() 698 ctx->nr_user_files = 0; in __io_sqe_files_unregister() 703 unsigned nr = ctx->nr_user_files; in io_sqe_files_unregister() 713 ctx->nr_user_files = 0; in io_sqe_files_unregister() 715 ctx->nr_user_files = nr; in io_sqe_files_unregister() 879 for (i = 0; i < nr_args; i++, ctx->nr_user_files++) { in io_sqe_files_register() 921 io_file_table_set_alloc_range(ctx, 0, ctx->nr_user_files); in io_sqe_files_register()
|
D | fdinfo.c | 159 seq_printf(m, "UserFiles:\t%u\n", ctx->nr_user_files); in io_uring_show_fdinfo() 160 for (i = 0; has_lock && i < ctx->nr_user_files; i++) { in io_uring_show_fdinfo()
|
D | msg_ring.c | 168 if (likely(idx < ctx->nr_user_files)) { in io_msg_grab_file() 169 idx = array_index_nospec(idx, ctx->nr_user_files); in io_msg_grab_file()
|
D | cancel.c | 246 if (unlikely(fd >= ctx->nr_user_files)) in __io_sync_cancel() 248 fd = array_index_nospec(fd, ctx->nr_user_files); in __io_sync_cancel()
|
D | io_uring.c | 2005 if (unlikely((unsigned int)fd >= ctx->nr_user_files)) in io_file_get_fixed() 2007 fd = array_index_nospec(fd, ctx->nr_user_files); in io_file_get_fixed() 4609 trace_io_uring_register(ctx, opcode, ctx->nr_user_files, ctx->nr_user_bufs, ret); in SYSCALL_DEFINE4()
|
/Linux-v6.6/include/linux/ |
D | io_uring_types.h | 247 unsigned nr_user_files; member
|