Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmr.c265 u64 current_block_len = 0; in mlx4_ib_umem_calc_optimal_mtt_size() local
281 if (current_block_len == 0 && current_block_start == 0) { in mlx4_ib_umem_calc_optimal_mtt_size()
311 current_block_end = current_block_start + current_block_len; in mlx4_ib_umem_calc_optimal_mtt_size()
331 total_len += current_block_len; in mlx4_ib_umem_calc_optimal_mtt_size()
335 current_block_len = sg_dma_len(sg); in mlx4_ib_umem_calc_optimal_mtt_size()
343 current_block_len += sg_dma_len(sg); in mlx4_ib_umem_calc_optimal_mtt_size()
347 total_len += current_block_len; in mlx4_ib_umem_calc_optimal_mtt_size()
350 last_block_end = current_block_start + current_block_len; in mlx4_ib_umem_calc_optimal_mtt_size()