Lines Matching refs:max_descs
1790 int size = mr->max_descs * mr->desc_size; in mlx5_free_priv_descs()
1943 mr->max_descs = ndescs; in _mlx5_alloc_mkey_descs()
2356 if (unlikely(i >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2376 if (unlikely(i + j >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2402 if (unlikely(mr->mmkey.ndescs == mr->max_descs)) in mlx5_set_page()
2416 if (unlikely(mr->mmkey.ndescs + mr->meta_ndescs == mr->max_descs)) in mlx5_set_page_pi()
2441 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2485 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2506 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
2513 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
2595 mr->desc_size * mr->max_descs, in mlx5_ib_map_mr_sg()
2606 mr->desc_size * mr->max_descs, in mlx5_ib_map_mr_sg()