Searched refs:l2table (Results 1 – 1 of 1) sorted by relevance
80 static int alloc_l2table_index(struct mlx5_mpfs *l2table, u32 *ix) in alloc_l2table_index() argument84 *ix = find_first_zero_bit(l2table->bitmap, l2table->size); in alloc_l2table_index()85 if (*ix >= l2table->size) in alloc_l2table_index()88 __set_bit(*ix, l2table->bitmap); in alloc_l2table_index()93 static void free_l2table_index(struct mlx5_mpfs *l2table, u32 ix) in free_l2table_index() argument95 __clear_bit(ix, l2table->bitmap); in free_l2table_index()