Lines Matching refs:file_table
18 struct io_file_table *table = &ctx->file_table; in io_file_bitmap_get()
70 if (!ctx->file_table.data.nr) in io_install_fixed_file()
72 if (slot_index >= ctx->file_table.data.nr) in io_install_fixed_file()
79 if (!io_reset_rsrc_node(ctx, &ctx->file_table.data, slot_index)) in io_install_fixed_file()
80 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
82 ctx->file_table.data.nodes[slot_index] = node; in io_install_fixed_file()
130 if (unlikely(!ctx->file_table.data.nr)) in io_fixed_fd_remove()
132 if (offset >= ctx->file_table.data.nr) in io_fixed_fd_remove()
135 node = io_rsrc_node_lookup(&ctx->file_table.data, offset); in io_fixed_fd_remove()
138 io_reset_rsrc_node(ctx, &ctx->file_table.data, offset); in io_fixed_fd_remove()
139 io_file_bitmap_clear(&ctx->file_table, offset); in io_fixed_fd_remove()
153 if (range.resv || end > ctx->file_table.data.nr) in io_register_file_alloc_range()