Searched refs:l2table (Results 1 – 1 of 1) sorted by relevance
78 static int alloc_l2table_index(struct mlx5_mpfs *l2table, u32 *ix) in alloc_l2table_index() argument82 *ix = find_first_zero_bit(l2table->bitmap, l2table->size); in alloc_l2table_index()83 if (*ix >= l2table->size) in alloc_l2table_index()86 __set_bit(*ix, l2table->bitmap); in alloc_l2table_index()91 static void free_l2table_index(struct mlx5_mpfs *l2table, u32 ix) in free_l2table_index() argument93 __clear_bit(ix, l2table->bitmap); in free_l2table_index()