Home
last modified time | relevance | path

Searched refs:ib_pd (Results 1 – 25 of 122) sorted by relevance

12345

/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.h59 struct ib_pd ib_pd; member
193 int bnxt_re_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
194 int bnxt_re_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
226 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
230 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type mr_type,
233 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
236 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
239 struct ib_mr *bnxt_re_reg_user_mr_dmabuf(struct ib_pd *ib_pd, u64 start,
H A Dib_verbs.c430 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw() local
431 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_bind_fence_mw()
599 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd, struct ib_udata *udata) in bnxt_re_dealloc_pd() argument
601 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_dealloc_pd()
733 struct ib_pd *ib_pd = ib_ah->pd; in bnxt_re_create_ah() local
734 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_ah()
1520 struct ib_pd *ib_pd = ib_qp->pd; in bnxt_re_create_qp() local
1521 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_qp()
1736 struct ib_pd *ib_pd; in bnxt_re_create_srq() local
1740 ib_pd = ib_srq->pd; in bnxt_re_create_srq()
[all …]
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.h69 int ocrdma_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
70 int ocrdma_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
99 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc);
100 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length,
102 struct ib_mr *ocrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
/openbmc/linux/drivers/infiniband/hw/mana/
H A Dmana_ib.h46 struct ib_pd ibpd;
101 struct ib_wq *mana_ib_create_wq(struct ib_pd *pd,
116 struct ib_mr *mana_ib_get_dma_mr(struct ib_pd *ibpd, int access_flags);
118 struct ib_mr *mana_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
142 int mana_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
143 int mana_ib_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dverbs.h50 int qedr_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
51 int qedr_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
79 struct ib_mr *qedr_get_dma_mr(struct ib_pd *, int acc);
81 struct ib_mr *qedr_reg_user_mr(struct ib_pd *, u64 start, u64 length,
87 struct ib_mr *qedr_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.h15 int siw_invalidate_stag(struct ib_pd *pd, u32 stag);
16 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr,
18 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge,
22 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj,
H A Dsiw_verbs.h51 int siw_alloc_pd(struct ib_pd *base_pd, struct ib_udata *udata);
52 int siw_dealloc_pd(struct ib_pd *base_pd, struct ib_udata *udata);
67 struct ib_mr *siw_reg_user_mr(struct ib_pd *base_pd, u64 start, u64 len,
69 struct ib_mr *siw_alloc_mr(struct ib_pd *base_pd, enum ib_mr_type mr_type,
71 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
H A Dsiw_mem.c89 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj, in siw_mr_add_mem()
168 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr, in siw_check_mem()
222 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge, struct siw_mem *mem[], in siw_check_sge()
292 int siw_invalidate_stag(struct ib_pd *pd, u32 stag) in siw_invalidate_stag()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dmr.h26 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc);
27 struct ib_mr *rvt_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
31 struct ib_mr *rvt_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
H A Dpd.h11 int rvt_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
12 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
H A Dpd.c18 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd()
56 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.h51 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
52 int usnic_ib_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
61 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length,
H A Dusnic_ib.h60 struct ib_pd ibpd;
113 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd()
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa.h79 struct ib_pd ibpd;
146 int efa_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
147 int efa_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
154 struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length,
157 struct ib_mr *efa_reg_user_mr_dmabuf(struct ib_pd *ibpd, u64 start,
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.h60 struct ib_pd ibpd;
295 static inline struct erdma_pd *to_epd(struct ib_pd *pd) in to_epd()
333 int erdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *data);
334 int erdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
344 struct ib_mr *erdma_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 len,
346 struct ib_mr *erdma_get_dma_mr(struct ib_pd *ibpd, int rights);
358 struct ib_mr *erdma_ib_alloc_mr(struct ib_pd *ibpd, enum ib_mr_type mr_type,
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.h366 int pvrdma_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
367 int pvrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
368 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc);
369 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
373 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
H A Dpvrdma_mr.c58 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc) in pvrdma_get_dma_mr()
111 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in pvrdma_reg_user_mr()
204 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in pvrdma_alloc_mr()
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c80 list.lkey = path->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_recv()
140 list.lkey = path->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_send()
255 static int create_qp(struct rtrs_con *con, struct ib_pd *pd, in create_qp()
306 err = create_qp(con, path->dev->ib_pd, max_send_wr, max_recv_wr, in rtrs_cq_qp_create()
587 ib_dealloc_pd(dev->ib_pd); in dev_free()
622 dev->ib_pd = ib_alloc_pd(ib_dev, pool->pd_flags); in rtrs_ib_dev_find_or_add()
623 if (IS_ERR(dev->ib_pd)) in rtrs_ib_dev_find_or_add()
636 ib_dealloc_pd(dev->ib_pd); in rtrs_ib_dev_find_or_add()
/openbmc/linux/include/rdma/
H A Dib_verbs.h1548 struct ib_pd { struct
1574 struct ib_pd *pd; argument
1624 struct ib_pd *pd;
1682 struct ib_pd *pd;
1781 struct ib_pd *pd;
1830 struct ib_pd *pd;
1853 struct ib_pd *pd;
2503 int (*advise_mr)(struct ib_pd *pd,
2541 struct ib_wq *(*create_wq)(struct ib_pd *pd,
2681 DECLARE_RDMA_OBJ_SIZE(ib_pd);
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h233 struct ib_pd ibpd;
757 struct ib_pd *pd;
825 struct ib_pd *p0;
1220 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
1318 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc);
1326 int mlx5_ib_advise_mr(struct ib_pd *pd,
1340 struct ib_pd *pd, struct ib_udata *udata);
1344 struct ib_mr *mlx5_ib_alloc_mr_integrity(struct ib_pd *pd,
1393 struct ib_wq *mlx5_ib_create_wq(struct ib_pd *pd,
1417 int mlx5_ib_advise_mr_prefetch(struct ib_pd *pd,
[all …]
H A Dmr.c56 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem,
61 struct ib_pd *pd) in set_mkc_access_pd_addr_fields()
1073 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr()
1160 static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, in alloc_cacheable_mr()
1348 int mlx5_ib_advise_mr(struct ib_pd *pd, in mlx5_ib_advise_mr()
1364 struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm, in mlx5_ib_reg_dm_mr()
1634 static int umr_rereg_pas(struct mlx5_ib_mr *mr, struct ib_pd *pd, in umr_rereg_pas()
1683 struct ib_pd *new_pd, in mlx5_ib_rereg_user_mr()
1996 static struct mlx5_ib_mr *mlx5_ib_alloc_pi_mr(struct ib_pd *pd, in mlx5_ib_alloc_pi_mr()
2133 static struct ib_mr *__mlx5_ib_alloc_mr(struct ib_pd *pd, in __mlx5_ib_alloc_mr()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h94 struct ib_pd ibpd;
101 struct ib_pd *pd;
483 struct ib_pd *pd;
680 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
754 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
757 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
763 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
914 int mr_access_flags, struct ib_pd *pd,
924 struct ib_wq *mlx4_ib_create_wq(struct ib_pd *pd,
/openbmc/linux/drivers/infiniband/core/
H A Dverbs.c262 struct ib_pd *pd; in __ib_alloc_pd()
266 pd = rdma_zalloc_drv_obj(device, ib_pd); in __ib_alloc_pd()
500 static struct ib_ah *_rdma_create_ah(struct ib_pd *pd, in _rdma_create_ah()
594 struct ib_ah *rdma_create_user_ah(struct ib_pd *pd, in rdma_create_user_ah()
970 struct ib_pd *pd; in rdma_destroy_ah_user()
1007 struct ib_srq *ib_create_srq_user(struct ib_pd *pd, in ib_create_srq_user()
1329 struct ib_qp *ib_create_qp_kernel(struct ib_pd *pd, in ib_create_qp_kernel()
2248 struct ib_pd *pd = mr->pd; in ib_dereg_mr_user()
2329 struct ib_mr *ib_alloc_mr_integrity(struct ib_pd *pd, in ib_alloc_mr_integrity()
2524 struct ib_wq *ib_create_wq(struct ib_pd *pd, in ib_create_wq()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h80 struct ib_pd ibpd;
291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_pd.c45 int hns_roce_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in hns_roce_alloc_pd()
76 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in hns_roce_dealloc_pd()

12345