Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h59 struct ib_pd ib_pd; member
165 int bnxt_re_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
166 int bnxt_re_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
182 struct ib_qp *bnxt_re_create_qp(struct ib_pd *pd,
199 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
203 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type mr_type,
206 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
209 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
Dib_verbs.c412 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw() local
413 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_bind_fence_mw()
517 mw = bnxt_re_alloc_mw(&pd->ib_pd, IB_MW_TYPE_1, NULL); in bnxt_re_create_fence_mr()
535 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd, struct ib_udata *udata) in bnxt_re_dealloc_pd() argument
537 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_dealloc_pd()
548 int bnxt_re_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in bnxt_re_alloc_pd()
554 struct bnxt_re_pd *pd = container_of(ibpd, struct bnxt_re_pd, ib_pd); in bnxt_re_alloc_pd()
636 struct ib_pd *ib_pd = ib_ah->pd; in bnxt_re_create_ah() local
637 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_ah()
1415 struct ib_qp *bnxt_re_create_qp(struct ib_pd *ib_pd, in bnxt_re_create_qp() argument
[all …]
/kernel/linux/linux-5.10/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);
77 struct ib_qp *ocrdma_create_qp(struct ib_pd *,
100 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc);
101 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length,
103 struct ib_mr *ocrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.h49 int qedr_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
50 int qedr_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
58 struct ib_qp *qedr_create_qp(struct ib_pd *, struct ib_qp_init_attr *attrs,
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,
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
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);
53 struct ib_qp *siw_create_qp(struct ib_pd *base_pd,
68 struct ib_mr *siw_reg_user_mr(struct ib_pd *base_pd, u64 start, u64 len,
70 struct ib_mr *siw_alloc_mr(struct ib_pd *base_pd, enum ib_mr_type mr_type,
72 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
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_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()
/kernel/linux/linux-5.10/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);
53 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd,
62 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()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmr.h68 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc);
69 struct ib_mr *rvt_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
73 struct ib_mr *rvt_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
Dpd.h53 int rvt_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
54 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
Dpd.c60 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd()
98 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa.h73 struct ib_pd ibpd;
132 int efa_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
133 int efa_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
135 struct ib_qp *efa_create_qp(struct ib_pd *ibpd,
141 struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length,
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h401 int pvrdma_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
402 int pvrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
403 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc);
404 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
408 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
428 struct ib_qp *pvrdma_create_qp(struct ib_pd *pd,
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h146 struct ib_pd ibpd;
469 struct ib_pd *pd;
660 struct ib_pd *pd;
722 struct ib_pd *p0;
1068 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
1150 struct ib_qp *mlx5_ib_create_qp(struct ib_pd *pd,
1173 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc);
1174 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
1177 int mlx5_ib_advise_mr(struct ib_pd *pd,
1194 struct ib_pd *pd, struct ib_udata *udata);
[all …]
Dmr.c54 struct ib_pd *pd) in set_mkc_access_pd_addr_fields()
811 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr()
983 alloc_mr_from_cache(struct ib_pd *pd, struct ib_umem *umem, u64 virt_addr, in alloc_mr_from_cache()
1169 static struct mlx5_ib_mr *reg_create(struct ib_mr *ibmr, struct ib_pd *pd, in reg_create()
1263 static struct ib_mr *mlx5_ib_get_dm_mr(struct ib_pd *pd, u64 start_addr, in mlx5_ib_get_dm_mr()
1309 int mlx5_ib_advise_mr(struct ib_pd *pd, in mlx5_ib_advise_mr()
1325 struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm, in mlx5_ib_reg_dm_mr()
1357 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx5_ib_reg_user_mr()
1494 static int rereg_umr(struct ib_pd *pd, struct mlx5_ib_mr *mr, in rereg_umr()
1519 struct ib_pd *new_pd, struct ib_udata *udata) in mlx5_ib_rereg_user_mr()
[all …]
Dstd_types.c18 struct ib_pd *pd = in UVERBS_HANDLER()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs.c78 list.lkey = sess->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_recv()
135 list.lkey = sess->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_send()
233 static int create_qp(struct rtrs_con *con, struct ib_pd *pd, in create_qp()
273 err = create_qp(con, sess->dev->ib_pd, max_send_wr, max_recv_wr, in rtrs_cq_qp_create()
533 ib_dealloc_pd(dev->ib_pd); in dev_free()
575 dev->ib_pd = ib_alloc_pd(ib_dev, pool->pd_flags); in rtrs_ib_dev_find_or_add()
576 if (IS_ERR(dev->ib_pd)) in rtrs_ib_dev_find_or_add()
589 ib_dealloc_pd(dev->ib_pd); in rtrs_ib_dev_find_or_add()
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h1518 struct ib_pd { struct
1544 struct ib_pd *pd; argument
1594 struct ib_pd *pd;
1643 struct ib_pd *pd;
1742 struct ib_pd *pd;
1791 struct ib_pd *pd;
1814 struct ib_pd *pd;
2400 int (*alloc_pd)(struct ib_pd *pd, struct ib_udata *udata);
2401 int (*dealloc_pd)(struct ib_pd *pd, struct ib_udata *udata);
2415 struct ib_qp *(*create_qp)(struct ib_pd *pd,
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h93 struct ib_pd ibpd;
100 struct ib_pd *pd;
482 struct ib_pd *pd;
678 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
752 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
755 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
761 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
795 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd,
913 int mr_access_flags, struct ib_pd *pd,
923 struct ib_wq *mlx4_ib_create_wq(struct ib_pd *pd,
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_pd.c60 int hns_roce_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in hns_roce_alloc_pd()
86 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in hns_roce_dealloc_pd()
Dhns_roce_device.h285 struct ib_pd ibpd;
1026 static inline struct hns_roce_pd *to_hr_pd(struct ib_pd *ibpd) in to_hr_pd()
1202 int hns_roce_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
1203 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
1205 struct ib_mr *hns_roce_get_dma_mr(struct ib_pd *pd, int acc);
1206 struct ib_mr *hns_roce_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
1210 u64 virt_addr, int mr_access_flags, struct ib_pd *pd,
1212 struct ib_mr *hns_roce_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
1243 struct ib_qp *hns_roce_create_qp(struct ib_pd *ib_pd,
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c258 struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags, in __ib_alloc_pd()
261 struct ib_pd *pd; in __ib_alloc_pd()
265 pd = rdma_zalloc_drv_obj(device, ib_pd); in __ib_alloc_pd()
333 int ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata) in ib_dealloc_pd_user()
506 static struct ib_ah *_rdma_create_ah(struct ib_pd *pd, in _rdma_create_ah()
557 struct ib_ah *rdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr, in rdma_create_ah()
595 struct ib_ah *rdma_create_user_ah(struct ib_pd *pd, in rdma_create_user_ah()
918 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, in ib_create_ah_from_wc()
971 struct ib_pd *pd; in rdma_destroy_ah_user()
1008 struct ib_srq *ib_create_srq_user(struct ib_pd *pd, in ib_create_srq_user()
[all …]
/kernel/linux/linux-5.10/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()

12345