Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dumr.h91 int mlx5r_umr_revoke_mr(struct mlx5_ib_mr *mr);
92 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd,
94 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags);
95 int mlx5r_umr_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages,
Dodp.c100 struct mlx5_ib_mr *imr, int flags) in populate_klm()
133 struct mlx5_ib_mr *mtt = xa_load(&imr->implicit_children, idx); in populate_klm()
159 struct mlx5_ib_mr *mr, int flags) in populate_mtt()
175 struct mlx5_ib_mr *mr, int flags) in mlx5_odp_populate_xlt()
192 struct mlx5_ib_mr *mr = in free_implicit_child_mr_work()
193 container_of(work, struct mlx5_ib_mr, odp_destroy.work); in free_implicit_child_mr_work()
194 struct mlx5_ib_mr *imr = mr->parent; in free_implicit_child_mr_work()
210 static void destroy_unused_implicit_child_mr(struct mlx5_ib_mr *mr) in destroy_unused_implicit_child_mr()
214 struct mlx5_ib_mr *imr = mr->parent; in destroy_unused_implicit_child_mr()
232 struct mlx5_ib_mr *mr; in mlx5_ib_invalidate_range()
[all …]
Dmr.c55 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem,
126 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey()
745 static struct mlx5_ib_mr *_mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, in _mlx5_mr_cache_alloc()
749 struct mlx5_ib_mr *mr; in _mlx5_mr_cache_alloc()
806 struct mlx5_ib_mr *mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, in mlx5_mr_cache_alloc()
1066 struct mlx5_ib_mr *mr; in mlx5_ib_get_dma_mr()
1127 static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, in set_mr_fields()
1149 static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, in alloc_cacheable_mr()
1158 struct mlx5_ib_mr *mr; in alloc_cacheable_mr()
1203 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, in reg_create()
[all …]
Dmlx5_ib.h667 struct mlx5_ib_mr { struct
685 struct mlx5_ib_mr *pi_mr; argument
686 struct mlx5_ib_mr *klm_mr;
687 struct mlx5_ib_mr *mtt_mr;
702 struct mlx5_ib_mr *parent;
713 static inline bool is_odp_mr(struct mlx5_ib_mr *mr) in is_odp_mr()
719 static inline bool is_dmabuf_mr(struct mlx5_ib_mr *mr) in is_dmabuf_mr()
1179 static inline struct mlx5_ib_dev *mr_to_mdev(struct mlx5_ib_mr *mr) in mr_to_mdev()
1237 static inline struct mlx5_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
1239 return container_of(ibmr, struct mlx5_ib_mr, ibmr); in to_mmr()
[all …]
Drestrack.c83 struct mlx5_ib_mr *mr = to_mmr(ibmr); in fill_stat_mr_entry()
117 struct mlx5_ib_mr *mr = to_mmr(ibmr); in fill_res_mr_entry_raw()
125 struct mlx5_ib_mr *mr = to_mmr(ibmr); in fill_res_mr_entry()
Dwr.c162 struct mlx5_ib_mr *mr, u8 flags, bool atomic) in set_reg_umr_seg()
190 struct mlx5_ib_mr *mr, in set_reg_mkey_seg()
218 struct mlx5_ib_mr *mr, in set_reg_data_seg()
432 struct mlx5_ib_mr *mr = to_mmr(sig_mr); in set_sig_data_segment()
433 struct mlx5_ib_mr *pi_mr = mr->pi_mr; in set_sig_data_segment()
562 struct mlx5_ib_mr *sig_mr = to_mmr(wr->mr); in set_pi_umr_wr()
563 struct mlx5_ib_mr *pi_mr = sig_mr->pi_mr; in set_pi_umr_wr()
640 struct mlx5_ib_mr *mr = to_mmr(wr->mr); in set_reg_wr()
851 struct mlx5_ib_mr *mr; in handle_reg_mr_integrity()
852 struct mlx5_ib_mr *pi_mr; in handle_reg_mr_integrity()
[all …]
Dumr.c358 int mlx5r_umr_revoke_mr(struct mlx5_ib_mr *mr) in mlx5r_umr_revoke_mr()
397 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd, in mlx5r_umr_rereg_pd_access()
542 struct mlx5_ib_mr *mr, in mlx5r_umr_set_update_xlt_mkey_seg()
575 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt()
611 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_mr_pas()
688 int mlx5r_umr_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5r_umr_update_xlt()