Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dumr.c617 struct mlx5_mtt *cur_mtt; in mlx5r_umr_update_mr_pas() local
641 cur_mtt = mtt; in mlx5r_umr_update_mr_pas()
643 if (cur_mtt == (void *)mtt + sg.length) { in mlx5r_umr_update_mr_pas()
656 cur_mtt = mtt; in mlx5r_umr_update_mr_pas()
659 cur_mtt->ptag = in mlx5r_umr_update_mr_pas()
664 cur_mtt->ptag = 0; in mlx5r_umr_update_mr_pas()
666 cur_mtt++; in mlx5r_umr_update_mr_pas()
669 final_size = (void *)cur_mtt - (void *)mtt; in mlx5r_umr_update_mr_pas()
671 memset(cur_mtt, 0, sg.length - final_size); in mlx5r_umr_update_mr_pas()