Searched refs:chosen_blocks_bm (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_keys.c | 226 unsigned long *chosen_blocks_bm, in mlxsw_afk_keys_fill() argument 233 for_each_set_bit(i, chosen_blocks_bm, mlxsw_afk->blocks_count) { in mlxsw_afk_keys_fill() 241 __clear_bit(i, chosen_blocks_bm); in mlxsw_afk_keys_fill() 245 for_each_set_bit(i, chosen_blocks_bm, mlxsw_afk->blocks_count) { in mlxsw_afk_keys_fill() 261 unsigned long *chosen_blocks_bm; in mlxsw_afk_picker() local 269 chosen_blocks_bm = bitmap_zalloc(mlxsw_afk->blocks_count, GFP_KERNEL); in mlxsw_afk_picker() 270 if (!chosen_blocks_bm) { in mlxsw_afk_picker() 300 __set_bit(block_index, chosen_blocks_bm); in mlxsw_afk_picker() 314 err = mlxsw_afk_keys_fill(mlxsw_afk, chosen_blocks_bm, picker, in mlxsw_afk_picker() 317 bitmap_free(chosen_blocks_bm); in mlxsw_afk_picker()
|