Searched refs:hot_chunk (Results 1 – 1 of 1) sorted by relevance
348 struct mlx5dr_icm_hot_chunk *hot_chunk; in dr_icm_pool_clear_hot_chunks_arr() local352 hot_chunk = &pool->hot_chunks_arr[i]; in dr_icm_pool_clear_hot_chunks_arr()353 num_entries = mlx5dr_icm_pool_chunk_size_to_entries(hot_chunk->size); in dr_icm_pool_clear_hot_chunks_arr()354 mlx5dr_buddy_free_mem(hot_chunk->buddy_mem, in dr_icm_pool_clear_hot_chunks_arr()355 hot_chunk->seg, ilog2(num_entries)); in dr_icm_pool_clear_hot_chunks_arr()356 hot_chunk->buddy_mem->used_memory -= in dr_icm_pool_clear_hot_chunks_arr()357 mlx5dr_icm_pool_chunk_size_to_byte(hot_chunk->size, in dr_icm_pool_clear_hot_chunks_arr()471 struct mlx5dr_icm_hot_chunk *hot_chunk; in mlx5dr_icm_free_chunk() local481 hot_chunk = &pool->hot_chunks_arr[pool->hot_chunks_num++]; in mlx5dr_icm_free_chunk()482 hot_chunk->buddy_mem = chunk->buddy_mem; in mlx5dr_icm_free_chunk()[all …]