Lines Matching defs:table
6926 static inline struct io_fixed_file *io_fixed_file_slot(struct io_file_table *table,
6929 return &table->files[i];
7752 static void io_free_page_table(void **table, size_t size)
7757 kfree(table[i]);
7758 kfree(table);
7765 void **table;
7767 table = kcalloc(nr_tables, sizeof(*table), GFP_KERNEL_ACCOUNT);
7768 if (!table)
7774 table[i] = kzalloc(this_size, GFP_KERNEL_ACCOUNT);
7775 if (!table[i]) {
7776 io_free_page_table(table, init_size);
7781 return table;
7976 static bool io_alloc_file_tables(struct io_file_table *table, unsigned nr_files)
7978 table->files = kvcalloc(nr_files, sizeof(table->files[0]),
7980 return !!table->files;
7983 static void io_free_file_tables(struct io_file_table *table)
7985 kvfree(table->files);
7986 table->files = NULL;
8026 * prevent new requests using the table.
8943 * prevent new requests using the table.