Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmr.c154 int seg_order; in __mlx4_alloc_mtt_range() local
157 seg_order = max_t(int, order - log_mtts_per_seg, 0); in __mlx4_alloc_mtt_range()
159 seg = mlx4_buddy_alloc(&mr_table->mtt_buddy, seg_order); in __mlx4_alloc_mtt_range()
167 mlx4_buddy_free(&mr_table->mtt_buddy, seg, seg_order); in __mlx4_alloc_mtt_range()
220 int seg_order; in __mlx4_free_mtt_range() local
223 seg_order = max_t(int, order - log_mtts_per_seg, 0); in __mlx4_free_mtt_range()
226 mlx4_buddy_free(&mr_table->mtt_buddy, first_seg, seg_order); in __mlx4_free_mtt_range()