Home
last modified time | relevance | path

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

12345

/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h59 struct ib_pd ib_pd; member
186 int bnxt_re_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
187 int bnxt_re_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
219 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
223 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type mr_type,
226 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
229 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
232 struct ib_mr *bnxt_re_reg_user_mr_dmabuf(struct ib_pd *ib_pd, u64 start,
Dib_verbs.c426 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw() local
427 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_bind_fence_mw()
529 mw = bnxt_re_alloc_mw(&pd->ib_pd, IB_MW_TYPE_1, NULL); in bnxt_re_create_fence_mr()
589 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd, struct ib_udata *udata) in bnxt_re_dealloc_pd() argument
591 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_dealloc_pd()
610 int bnxt_re_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in bnxt_re_alloc_pd()
616 struct bnxt_re_pd *pd = container_of(ibpd, struct bnxt_re_pd, ib_pd); in bnxt_re_alloc_pd()
723 struct ib_pd *ib_pd = ib_ah->pd; in bnxt_re_create_ah() local
724 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_ah()
1506 struct ib_pd *ib_pd = ib_qp->pd; in bnxt_re_create_qp() local
[all …]
/Linux-v6.6/drivers/infiniband/hw/ocrdma/
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,
/Linux-v6.6/drivers/infiniband/hw/mana/
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);
/Linux-v6.6/drivers/infiniband/hw/qedr/
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,
/Linux-v6.6/drivers/infiniband/sw/siw/
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,
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);
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()
/Linux-v6.6/drivers/infiniband/sw/rdmavt/
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,
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);
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()
/Linux-v6.6/drivers/infiniband/hw/efa/
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,
/Linux-v6.6/drivers/infiniband/hw/erdma/
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,
/Linux-v6.6/drivers/infiniband/hw/usnic/
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,
Dusnic_ib.h60 struct ib_pd ibpd;
113 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd()
/Linux-v6.6/drivers/infiniband/hw/vmw_pvrdma/
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,
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()
/Linux-v6.6/include/rdma/
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;
2456 int (*alloc_pd)(struct ib_pd *pd, struct ib_udata *udata);
2457 int (*dealloc_pd)(struct ib_pd *pd, struct ib_udata *udata);
2485 struct ib_mr *(*get_dma_mr)(struct ib_pd *pd, int mr_access_flags);
[all …]
/Linux-v6.6/drivers/infiniband/ulp/rtrs/
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()
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h220 struct ib_pd ibpd;
744 struct ib_pd *pd;
812 struct ib_pd *p0;
1207 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
1305 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc);
1306 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
1309 struct ib_mr *mlx5_ib_reg_user_mr_dmabuf(struct ib_pd *pd, u64 start,
1313 int mlx5_ib_advise_mr(struct ib_pd *pd,
1327 struct ib_pd *pd, struct ib_udata *udata);
1329 struct ib_mr *mlx5_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
[all …]
Dmr.c55 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem,
60 struct ib_pd *pd) in set_mkc_access_pd_addr_fields()
1062 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr()
1149 static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, in alloc_cacheable_mr()
1203 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, in reg_create()
1291 static struct ib_mr *mlx5_ib_get_dm_mr(struct ib_pd *pd, u64 start_addr, in mlx5_ib_get_dm_mr()
1337 int mlx5_ib_advise_mr(struct ib_pd *pd, in mlx5_ib_advise_mr()
1353 struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm, in mlx5_ib_reg_dm_mr()
1386 static struct ib_mr *create_real_mr(struct ib_pd *pd, struct ib_umem *umem, in create_real_mr()
1429 static struct ib_mr *create_user_odp_mr(struct ib_pd *pd, u64 start, u64 length, in create_user_odp_mr()
[all …]
/Linux-v6.6/drivers/infiniband/hw/mlx4/
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,
/Linux-v6.6/drivers/infiniband/core/
Dverbs.c259 struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags, in __ib_alloc_pd()
262 struct ib_pd *pd; in __ib_alloc_pd()
266 pd = rdma_zalloc_drv_obj(device, ib_pd); in __ib_alloc_pd()
331 int ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata) in ib_dealloc_pd_user()
500 static struct ib_ah *_rdma_create_ah(struct ib_pd *pd, in _rdma_create_ah()
556 struct ib_ah *rdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr, in rdma_create_ah()
594 struct ib_ah *rdma_create_user_ah(struct ib_pd *pd, in rdma_create_user_ah()
917 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, in ib_create_ah_from_wc()
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()
[all …]
/Linux-v6.6/drivers/infiniband/hw/mthca/
Dmthca_provider.h80 struct ib_pd ibpd;
291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
/Linux-v6.6/drivers/infiniband/hw/hns/
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