Searched refs:MLX5_SW_ICM_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
96 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc()113 length & (MLX5_SW_ICM_BLOCK_SIZE(dev) - 1)) in mlx5_dm_sw_icm_alloc()185 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_dealloc()
668 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) macro
2419 act_size = round_up(attr->length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in handle_alloc_dm_sw_icm()