Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dumr.h90 int mlx5r_umr_revoke_mr(struct mlx5_ib_mr *mr);
91 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd,
93 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags);
94 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,
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()
[all …]
Dmlx5_ib.h641 struct mlx5_ib_mr { struct
659 struct mlx5_ib_mr *pi_mr; argument
660 struct mlx5_ib_mr *klm_mr;
661 struct mlx5_ib_mr *mtt_mr;
676 struct mlx5_ib_mr *parent;
687 static inline bool is_odp_mr(struct mlx5_ib_mr *mr) in is_odp_mr()
693 static inline bool is_dmabuf_mr(struct mlx5_ib_mr *mr) in is_dmabuf_mr()
1126 static inline struct mlx5_ib_dev *mr_to_mdev(struct mlx5_ib_mr *mr) in mr_to_mdev()
1184 static inline struct mlx5_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
1186 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()
394 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd, in mlx5r_umr_rereg_pd_access()
539 struct mlx5_ib_mr *mr, in mlx5r_umr_set_update_xlt_mkey_seg()
572 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt()
608 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_mr_pas()
687 int mlx5r_umr_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5r_umr_update_xlt()