Home
last modified time | relevance | path

Searched refs:block_map (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c127 unsigned long *block_map; in mlx5_dm_sw_icm_alloc() local
152 block_map = dm->steering_sw_icm_alloc_blocks; in mlx5_dm_sw_icm_alloc()
158 block_map = dm->header_modify_sw_icm_alloc_blocks; in mlx5_dm_sw_icm_alloc()
165 block_map = dm->header_modify_pattern_sw_icm_alloc_blocks; in mlx5_dm_sw_icm_alloc()
171 if (!block_map) in mlx5_dm_sw_icm_alloc()
181 block_idx = bitmap_find_next_zero_area(block_map, max_blocks, 0, in mlx5_dm_sw_icm_alloc()
185 bitmap_set(block_map, in mlx5_dm_sw_icm_alloc()
202 bitmap_clear(block_map, in mlx5_dm_sw_icm_alloc()
223 unsigned long *block_map; in mlx5_dm_sw_icm_dealloc() local
234 block_map = dm->steering_sw_icm_alloc_blocks; in mlx5_dm_sw_icm_dealloc()
[all …]