Lines Matching defs:mr
119 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey()
126 static inline bool mlx5_ib_pas_fits_in_mr(struct mlx5_ib_mr *mr, u64 start, in mlx5_ib_pas_fits_in_mr()
135 struct mlx5_ib_mr *mr = in create_mkey_callback() local
170 struct mlx5_ib_mr *mr; in alloc_cache_mr() local
194 struct mlx5_ib_mr *mr; in add_keys() local
242 struct mlx5_ib_mr *mr; in create_cache_mr() local
278 struct mlx5_ib_mr *mr; in remove_cache_mr_locked() local
567 struct mlx5_ib_mr *mr; in mlx5_mr_cache_alloc() local
601 struct mlx5_ib_mr *mr = NULL; in get_cache_mr() local
629 static void detach_mr_from_cache(struct mlx5_ib_mr *mr) in detach_mr_from_cache()
639 void mlx5_mr_cache_free(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in mlx5_mr_cache_free()
665 struct mlx5_ib_mr *mr; in clean_keys() local
815 struct mlx5_ib_mr *mr; in mlx5_ib_get_dma_mr() local
989 struct mlx5_ib_mr *mr; in alloc_mr_from_cache() local
1020 int mlx5_ib_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5_ib_update_xlt()
1176 struct mlx5_ib_mr *mr; in reg_create() local
1254 static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, in set_mr_fields()
1268 struct mlx5_ib_mr *mr; in mlx5_ib_get_dm_mr() local
1362 struct mlx5_ib_mr *mr = NULL; in mlx5_ib_reg_user_mr() local
1477 int mlx5_mr_cache_invalidate(struct mlx5_ib_mr *mr) in mlx5_mr_cache_invalidate()
1494 static int rereg_umr(struct ib_pd *pd, struct mlx5_ib_mr *mr, in rereg_umr()
1522 struct mlx5_ib_mr *mr = to_mmr(ib_mr); in mlx5_ib_rereg_user_mr() local
1633 struct mlx5_ib_mr *mr, in mlx5_alloc_priv_descs()
1664 mlx5_free_priv_descs(struct mlx5_ib_mr *mr) in mlx5_free_priv_descs()
1677 static void clean_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in clean_mr()
1699 static void dereg_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in dereg_mr()
1756 static int _mlx5_alloc_mkey_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in _mlx5_alloc_mkey_descs()
1795 struct mlx5_ib_mr *mr; in mlx5_ib_alloc_pi_mr() local
1832 static int mlx5_alloc_mem_reg_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in mlx5_alloc_mem_reg_descs()
1840 static int mlx5_alloc_sg_gaps_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in mlx5_alloc_sg_gaps_descs()
1847 static int mlx5_alloc_integrity_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, in mlx5_alloc_integrity_descs()
1932 struct mlx5_ib_mr *mr; in __mlx5_ib_alloc_mr() local
2136 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_pa_mr_sg_pi() local
2165 mlx5_ib_sg_to_klms(struct mlx5_ib_mr *mr, in mlx5_ib_sg_to_klms()
2226 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_set_page() local
2240 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_set_page_pi() local
2259 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_mtt_mr_sg_pi() local
2324 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_klm_mr_sg_pi() local
2357 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_mr_sg_pi() local
2416 struct mlx5_ib_mr *mr = to_mmr(ibmr); in mlx5_ib_map_mr_sg() local