Lines Matching refs:mlx5_ib_mr

55 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem,
123 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey()
640 struct mlx5_ib_mr *mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, in mlx5_mr_cache_alloc()
644 struct mlx5_ib_mr *mr; in mlx5_mr_cache_alloc()
819 struct mlx5_ib_mr *mr; in mlx5_ib_get_dma_mr()
893 static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, in set_mr_fields()
915 static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, in alloc_cacheable_mr()
921 struct mlx5_ib_mr *mr; in alloc_cacheable_mr()
962 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, in reg_create()
967 struct mlx5_ib_mr *mr; in reg_create()
1053 struct mlx5_ib_mr *mr; in mlx5_ib_get_dm_mr()
1147 struct mlx5_ib_mr *mr = NULL; in create_real_mr()
1192 struct mlx5_ib_mr *mr; in create_user_odp_mr()
1269 struct mlx5_ib_mr *mr = umem_dmabuf->private; in mlx5_ib_dmabuf_invalidate_cb()
1291 struct mlx5_ib_mr *mr = NULL; in mlx5_ib_reg_user_mr_dmabuf()
1358 static bool can_use_umr_rereg_pas(struct mlx5_ib_mr *mr, in can_use_umr_rereg_pas()
1379 static int umr_rereg_pas(struct mlx5_ib_mr *mr, struct ib_pd *pd, in umr_rereg_pas()
1432 struct mlx5_ib_mr *mr = to_mmr(ib_mr); in mlx5_ib_rereg_user_mr()
1524 struct mlx5_ib_mr *mr, in mlx5_alloc_priv_descs()
1556 mlx5_free_priv_descs(struct mlx5_ib_mr *mr) in mlx5_free_priv_descs()
1572 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_dereg_mr()
1666 static int _mlx5_alloc_mkey_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in _mlx5_alloc_mkey_descs()
1698 static struct mlx5_ib_mr *mlx5_ib_alloc_pi_mr(struct ib_pd *pd, in mlx5_ib_alloc_pi_mr()
1705 struct mlx5_ib_mr *mr; in mlx5_ib_alloc_pi_mr()
1742 static int mlx5_alloc_mem_reg_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in mlx5_alloc_mem_reg_descs()
1750 static int mlx5_alloc_sg_gaps_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in mlx5_alloc_sg_gaps_descs()
1757 static int mlx5_alloc_integrity_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in mlx5_alloc_integrity_descs()
1842 struct mlx5_ib_mr *mr; in __mlx5_ib_alloc_mr()
1999 struct mlx5_ib_mr *mmr = to_mmr(ibmr); in mlx5_ib_check_mr_status()
2043 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_pa_mr_sg_pi()
2072 mlx5_ib_sg_to_klms(struct mlx5_ib_mr *mr, in mlx5_ib_sg_to_klms()
2133 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_set_page()
2147 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_set_page_pi()
2166 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_mtt_mr_sg_pi()
2167 struct mlx5_ib_mr *pi_mr = mr->mtt_mr; in mlx5_ib_map_mtt_mr_sg_pi()
2231 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_klm_mr_sg_pi()
2232 struct mlx5_ib_mr *pi_mr = mr->klm_mr; in mlx5_ib_map_klm_mr_sg_pi()
2264 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_mr_sg_pi()
2265 struct mlx5_ib_mr *pi_mr = NULL; in mlx5_ib_map_mr_sg_pi()
2323 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_mr_sg()