Lines Matching refs:file_table
18 struct io_file_table *table = &ctx->file_table; in io_file_bitmap_get()
66 if (!ctx->file_table.data.nr) in io_install_fixed_file()
68 if (slot_index >= ctx->file_table.data.nr) in io_install_fixed_file()
75 if (!io_reset_rsrc_node(ctx, &ctx->file_table.data, slot_index)) in io_install_fixed_file()
76 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
78 ctx->file_table.data.nodes[slot_index] = node; in io_install_fixed_file()
126 if (unlikely(!ctx->file_table.data.nr)) in io_fixed_fd_remove()
128 if (offset >= ctx->file_table.data.nr) in io_fixed_fd_remove()
131 node = io_rsrc_node_lookup(&ctx->file_table.data, offset); in io_fixed_fd_remove()
134 io_reset_rsrc_node(ctx, &ctx->file_table.data, offset); in io_fixed_fd_remove()
135 io_file_bitmap_clear(&ctx->file_table, offset); in io_fixed_fd_remove()
149 if (range.resv || end > ctx->file_table.data.nr) in io_register_file_alloc_range()