Lines Matching refs:file_table
178 if (!ctx->file_table.data.nr) in __io_sqe_files_update()
180 if (up->offset + nr_args > ctx->file_table.data.nr) in __io_sqe_files_update()
199 if (io_reset_rsrc_node(ctx, &ctx->file_table.data, i)) in __io_sqe_files_update()
200 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
224 ctx->file_table.data.nodes[i] = node; in __io_sqe_files_update()
228 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
398 if (!req->ctx->file_table.data.nr) in io_files_update_with_index_alloc()
481 if (!ctx->file_table.data.nr) in io_sqe_files_unregister()
484 io_free_file_tables(ctx, &ctx->file_table); in io_sqe_files_unregister()
497 if (ctx->file_table.data.nr) in io_sqe_files_register()
505 if (!io_alloc_file_tables(ctx, &ctx->file_table, nr_args)) in io_sqe_files_register()
545 ctx->file_table.data.nodes[i] = node; in io_sqe_files_register()
547 io_file_bitmap_set(&ctx->file_table, i); in io_sqe_files_register()
551 io_file_table_set_alloc_range(ctx, 0, ctx->file_table.data.nr); in io_sqe_files_register()
554 io_clear_table_tags(&ctx->file_table.data); in io_sqe_files_register()