Home
last modified time | relevance | path

Searched refs:ib_mr (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.h150 extern struct ib_mr *qlnxr_get_dma_mr(struct ib_pd *,
153 extern int qlnxr_dereg_mr(struct ib_mr *, struct ib_udata *);
155 extern struct ib_mr *qlnxr_reg_user_mr(struct ib_pd *,
162 extern struct ib_mr *qlnxr_alloc_mr(struct ib_pd *pd,
166 extern int qlnxr_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg,
H A Dqlnxr_def.h697 struct ib_mr ibmr;
779 get_qlnxr_mr(struct ib_mr *ibmr) in get_qlnxr_mr()
H A Dqlnxr_verbs.c1082 struct ib_mr *
1450 struct ib_mr *
1558 qlnxr_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata) in qlnxr_dereg_mr() argument
1560 struct qlnxr_mr *mr = get_qlnxr_mr(ib_mr); in qlnxr_dereg_mr()
1561 struct qlnxr_dev *dev = get_qlnxr_dev((ib_mr->device)); in qlnxr_dereg_mr()
5437 struct ib_mr *
5464 qlnxr_set_page(struct ib_mr *ibmr, u64 addr) in qlnxr_set_page()
5499 qlnxr_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, in qlnxr_map_mr_sg()
/freebsd/sys/dev/irdma/
H A Dfbsd_kcompat.h144 int irdma_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata);
197 int irdma_hwdereg_mr(struct ib_mr *ib_mr);
198 int irdma_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start, u64 len,
204 struct ib_mr *irdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
208 struct ib_mr *irdma_rereg_mr_trans(struct irdma_mr *iwmr, u64 start, u64 len,
H A Dirdma_kcompat.c106 struct ib_mr *
1195 irdma_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata) in irdma_dereg_mr() argument
1197 struct irdma_mr *iwmr = to_iwmr(ib_mr); in irdma_dereg_mr()
1198 struct irdma_device *iwdev = to_iwdev(ib_mr->device); in irdma_dereg_mr()
1213 ret = irdma_hwdereg_mr(ib_mr); in irdma_dereg_mr()
1236 irdma_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start, u64 len, in irdma_rereg_user_mr() argument
1240 struct irdma_device *iwdev = to_iwdev(ib_mr->device); in irdma_rereg_user_mr()
1241 struct irdma_mr *iwmr = to_iwmr(ib_mr); in irdma_rereg_user_mr()
1251 ret = irdma_hwdereg_mr(ib_mr); in irdma_rereg_user_mr()
1274 ib_mr = irdma_rereg_mr_trans(iwmr, start, len, virt, udata); in irdma_rereg_user_mr()
[all …]
H A Dirdma_verbs.h137 struct ib_mr ibmr;
232 struct ib_mr *lsmm_mr;
H A Dirdma_verbs.c1884 irdma_set_page(struct ib_mr *ibmr, u64 addr) in irdma_set_page()
1916 irdma_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, in irdma_map_mr_sg()
2170 static struct ib_mr *
2193 return (struct ib_mr *)region; in irdma_reg_user_mr()
2204 return (struct ib_mr *)iwmr; in irdma_reg_user_mr()
2241 irdma_hwdereg_mr(struct ib_mr *ib_mr) in irdma_hwdereg_mr() argument
2243 struct irdma_device *iwdev = to_iwdev(ib_mr->device); in irdma_hwdereg_mr()
2244 struct irdma_mr *iwmr = to_iwmr(ib_mr); in irdma_hwdereg_mr()
2245 struct irdma_pd *iwpd = to_iwpd(ib_mr->pd); in irdma_hwdereg_mr()
2267 info->stag_idx = RS_64_1(ib_mr->rkey, IRDMA_CQPSQ_STAG_IDX_S); in irdma_hwdereg_mr()
[all …]
H A Dirdma_main.h437 static inline struct irdma_mr *to_iwmr(struct ib_mr *ibmr) in to_iwmr()
587 struct ib_mr *irdma_reg_phys_mr(struct ib_pd *ib_pd, u64 addr, u64 size,
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.h217 struct ib_mr ib_mr; member
328 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
329 int bnxt_re_map_mr_sg(struct ib_mr *ib_mr, struct scatterlist *sg,
331 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type type,
333 int bnxt_re_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata);
337 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
341 bnxt_re_rereg_user_mr(struct ib_mr *mr, int flags, u64 start, u64 length,
H A Dib_verbs.c537 struct ib_mr *ib_mr = &fence->mr->ib_mr; in bnxt_re_legacy_create_fence_wqe() local
550 wqe->bind.parent_l_key = ib_mr->lkey; in bnxt_re_legacy_create_fence_wqe()
642 mr->ib_mr.lkey = mr->qplib_mr.lkey; in bnxt_re_legacy_create_fence_mr()
661 mr->ib_mr.lkey = mr->qplib_mr.lkey; in bnxt_re_legacy_create_fence_mr()
662 mr->ib_mr.rkey = mr->qplib_mr.rkey; in bnxt_re_legacy_create_fence_mr()
682 if (mr->ib_mr.lkey) { in bnxt_re_legacy_create_fence_mr()
714 if (mr->ib_mr.rkey) in bnxt_re_legacy_destroy_fence_mr()
717 if (mr->ib_mr.lkey) in bnxt_re_legacy_destroy_fence_mr()
3321 struct bnxt_re_mr *mr = to_bnxt_re(wr->mr, struct bnxt_re_mr, ib_mr); in bnxt_re_build_reg_wqe()
4773 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *ib_pd, int mr_access_flags) in bnxt_re_get_dma_mr()
[all …]
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mr.c61 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr()
137 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx4_ib_reg_user_mr()
192 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, in mlx4_ib_rereg_user_mr()
326 int mlx4_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in mlx4_ib_dereg_mr()
386 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in mlx4_ib_alloc_mr()
523 static int mlx4_set_page(struct ib_mr *ibmr, u64 addr) in mlx4_set_page()
535 int mlx4_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, in mlx4_ib_map_mr_sg()
H A Dmlx4_ib.h135 struct ib_mr ibmr;
659 static inline struct mlx4_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
718 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
721 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
724 int mlx4_ib_dereg_mr(struct ib_mr *mr, struct ib_udata *udata);
728 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
730 int mlx4_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents,
880 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags,
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h1300 struct ib_mr *mr;
1313 struct ib_mr *sig_mr;
1440 struct ib_mr *__internal_mr;
1615 struct ib_mr { struct
2284 struct ib_mr * (*get_dma_mr)(struct ib_pd *pd,
2286 struct ib_mr * (*reg_user_mr)(struct ib_pd *pd,
2291 int (*rereg_user_mr)(struct ib_mr *mr,
2298 int (*dereg_mr)(struct ib_mr *mr, struct ib_udata *udata);
2299 struct ib_mr * (*alloc_mr)(struct ib_pd *pd, enum ib_mr_type mr_type,
2305 int (*map_mr_sg)(struct ib_mr *mr,
[all …]
H A Drdma_vt.h492 int rvt_fast_reg_mr(struct rvt_qp *qp, struct ib_mr *ibmr, u32 key,
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c406 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) in c4iw_get_dma_mr()
450 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in c4iw_reg_user_mr()
609 struct ib_mr *c4iw_alloc_mr(struct ib_pd *pd, in c4iw_alloc_mr()
681 static int c4iw_set_page(struct ib_mr *ibmr, u64 addr) in c4iw_set_page()
693 int c4iw_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, in c4iw_map_mr_sg()
704 int c4iw_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata) in c4iw_dereg_mr() argument
710 CTR2(KTR_IW_CXGBE, "%s ib_mr %p", __func__, ib_mr); in c4iw_dereg_mr()
712 mhp = to_c4iw_mr(ib_mr); in c4iw_dereg_mr()
H A Diw_cxgbe.h394 struct ib_mr ibmr;
405 static inline struct c4iw_mr *to_c4iw_mr(struct ib_mr *ibmr) in to_c4iw_mr()
935 struct ib_mr *c4iw_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
937 int c4iw_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg,
942 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, u64
944 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc);
945 int c4iw_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata);
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h534 struct ib_mr ibmr;
868 static inline struct mlx5_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
939 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc);
940 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
948 int mlx5_ib_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start,
951 int mlx5_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata);
952 struct ib_mr *mlx5_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
954 int mlx5_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents,
1000 int mlx5_ib_check_mr_status(struct ib_mr *ibm
[all...]
H A Dmlx5_ib_mr.c477 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr()
870 static struct mlx5_ib_mr *reg_create(struct ib_mr *ibmr, struct ib_pd *pd, in reg_create()
957 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx5_ib_reg_user_mr()
1125 int mlx5_ib_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start, in mlx5_ib_rereg_user_mr() argument
1129 struct mlx5_ib_dev *dev = to_mdev(ib_mr->device); in mlx5_ib_rereg_user_mr()
1130 struct mlx5_ib_mr *mr = to_mmr(ib_mr); in mlx5_ib_rereg_user_mr()
1131 struct ib_pd *pd = (flags & IB_MR_REREG_PD) ? new_pd : ib_mr->pd; in mlx5_ib_rereg_user_mr()
1178 mr = reg_create(ib_mr, pd, addr, len, mr->umem, ncont, in mlx5_ib_rereg_user_mr()
1198 ib_mr->pd = pd; in mlx5_ib_rereg_user_mr()
1307 int mlx5_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in mlx5_ib_dereg_mr()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_mr.c41 return ib_dereg_mr_user((struct ib_mr *)uobject->object, in uverbs_free_mr()
93 struct ib_mr *mr; in UVERBS_HANDLER()
H A Dib_verbs.c298 struct ib_mr *mr; in __ib_alloc_pd()
1584 int ib_dereg_mr_user(struct ib_mr *mr, struct ib_udata *udata) in ib_dereg_mr_user()
1616 struct ib_mr *ib_alloc_mr_user(struct ib_pd *pd, enum ib_mr_type mr_type, in ib_alloc_mr_user()
1619 struct ib_mr *mr; in ib_alloc_mr_user()
1956 int ib_check_mr_status(struct ib_mr *mr, u32 check_mask, in ib_check_mr_status()
2029 int ib_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg, int sg_nents, in ib_map_mr_sg()
2061 int ib_sg_to_pages(struct ib_mr *mr, struct scatterlist *sgl, int sg_nents, in ib_sg_to_pages()
2062 unsigned int *sg_offset_p, int (*set_page)(struct ib_mr *, u64)) in ib_sg_to_pages() argument
/freebsd/sys/dev/mthca/
H A Dmthca_provider.h76 struct ib_mr ibmr;
311 static inline struct mthca_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
H A Dmthca_provider.c826 static struct ib_mr *mthca_get_dma_mr(struct ib_pd *pd, int acc) in mthca_get_dma_mr()
849 static struct ib_mr *mthca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mthca_reg_user_mr()
949 static int mthca_dereg_mr(struct ib_mr *mr, struct ib_udata *udata) in mthca_dereg_mr()
/freebsd/sys/dev/iser/
H A Dicl_iser.h353 struct ib_mr *mr;
368 struct ib_mr *mr;
H A Diser_memory.c137 iser_inv_rkey(struct ib_send_wr *inv_wr, struct ib_mr *mr) in iser_inv_rkey()
158 struct ib_mr *mr = rsc->mr; in iser_fast_reg_mr()
/freebsd/sys/contrib/rdma/krping/
H A Dkrping.c177 struct ib_mr *dma_mr;
183 struct ib_mr *reg_mr;
205 struct ib_mr *rdma_mr;
214 struct ib_mr *start_mr;
1781 struct ib_mr *mr; in krping_fr_test()

12