Home
last modified time | relevance | path

Searched refs:ibpd (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dpd.c60 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd() argument
62 struct ib_device *ibdev = ibpd->device; in rvt_alloc_pd()
64 struct rvt_pd *pd = ibpd_to_rvtpd(ibpd); in rvt_alloc_pd()
98 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd() argument
100 struct rvt_dev_info *dev = ib_to_rvt(ibpd->device); in rvt_dealloc_pd()
Dpd.h54 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
Dqp.h55 struct ib_qp *rvt_create_qp(struct ib_pd *ibpd,
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib.h60 struct ib_pd ibpd; member
113 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd() argument
115 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd()
Dusnic_ib_verbs.h51 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa.h73 struct ib_pd ibpd; member
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,
Defa_verbs.c123 static inline struct efa_pd *to_epd(struct ib_pd *ibpd) in to_epd() argument
125 return container_of(ibpd, struct efa_pd, ibpd); in to_epd()
351 int efa_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in efa_alloc_pd() argument
353 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd()
356 struct efa_pd *pd = to_epd(ibpd); in efa_alloc_pd()
395 int efa_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in efa_dealloc_pd() argument
397 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd()
398 struct efa_pd *pd = to_epd(ibpd); in efa_dealloc_pd()
602 struct ib_qp *efa_create_qp(struct ib_pd *ibpd, in efa_create_qp() argument
608 struct efa_dev *dev = to_edev(ibpd->device); in efa_create_qp()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.h80 struct ib_pd ibpd; member
291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument
293 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_verbs.c143 static int rxe_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_alloc_pd() argument
145 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_pd()
146 struct rxe_pd *pd = to_rpd(ibpd); in rxe_alloc_pd()
151 static int rxe_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_dealloc_pd() argument
153 struct rxe_pd *pd = to_rpd(ibpd); in rxe_dealloc_pd()
379 static struct ib_qp *rxe_create_qp(struct ib_pd *ibpd, in rxe_create_qp() argument
384 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_create_qp()
385 struct rxe_pd *pd = to_rpd(ibpd); in rxe_create_qp()
415 err = rxe_qp_from_init(rxe, qp, pd, init, uresp, ibpd, udata); in rxe_create_qp()
866 static struct ib_mr *rxe_get_dma_mr(struct ib_pd *ibpd, int access) in rxe_get_dma_mr() argument
[all …]
Drxe_mr.c120 mem->ibmr.pd = &pd->ibpd; in rxe_mem_init_dma()
138 umem = ib_umem_get(pd->ibpd.device, start, length, access); in rxe_mem_init_user()
189 mem->ibmr.pd = &pd->ibpd; in rxe_mem_init_user()
219 mem->ibmr.pd = &pd->ibpd; in rxe_mem_init_fast()
539 struct rxe_dev *rxe = to_rdev(pd->ibpd.device); in lookup_mem()
Drxe_verbs.h42 struct ib_pd ibpd; member
403 return pd ? container_of(pd, struct rxe_pd, ibpd) : NULL; in to_rpd()
/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() argument
62 struct ib_device *ib_dev = ibpd->device; in hns_roce_alloc_pd()
63 struct hns_roce_pd *pd = to_hr_pd(ibpd); in hns_roce_alloc_pd()
Dhns_roce_device.h285 struct ib_pd ibpd; member
1026 static inline struct hns_roce_pd *to_hr_pd(struct ib_pd *ibpd) in to_hr_pd() argument
1028 return container_of(ibpd, struct hns_roce_pd, ibpd); in to_hr_pd()
/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h156 struct ib_pd ibpd; member
462 static inline struct rvt_pd *ibpd_to_rvtpd(struct ib_pd *ibpd) in ibpd_to_rvtpd() argument
464 return container_of(ibpd, struct rvt_pd, ibpd); in ibpd_to_rvtpd()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma.h128 struct ib_pd ibpd; member
269 static inline struct pvrdma_pd *to_vpd(struct ib_pd *ibpd) in to_vpd() argument
271 return container_of(ibpd, struct pvrdma_pd, ibpd); in to_vpd()
Dpvrdma_verbs.c427 int pvrdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in pvrdma_alloc_pd() argument
429 struct ib_device *ibdev = ibpd->device; in pvrdma_alloc_pd()
430 struct pvrdma_pd *pd = to_vpd(ibpd); in pvrdma_alloc_pd()
464 pvrdma_dealloc_pd(&pd->ibpd, udata); in pvrdma_alloc_pd()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma.h345 struct ib_pd ibpd; member
466 static inline struct ocrdma_pd *get_ocrdma_pd(struct ib_pd *ibpd) in get_ocrdma_pd() argument
468 return container_of(ibpd, struct ocrdma_pd, ibpd); in get_ocrdma_pd()
Docrdma_verbs.c423 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd()
431 struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); in ocrdma_dealloc_ucontext_pd()
627 int ocrdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in ocrdma_alloc_pd() argument
629 struct ib_device *ibdev = ibpd->device; in ocrdma_alloc_pd()
645 pd = get_ocrdma_pd(ibpd); in ocrdma_alloc_pd()
667 int ocrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in ocrdma_dealloc_pd() argument
669 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_dealloc_pd()
670 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_dealloc_pd()
716 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *ibpd, int acc) in ocrdma_get_dma_mr() argument
720 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_get_dma_mr()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr.h308 struct ib_pd ibpd; member
578 static inline struct qedr_pd *get_qedr_pd(struct ib_pd *ibpd) in get_qedr_pd() argument
580 return container_of(ibpd, struct qedr_pd, ibpd); in get_qedr_pd()
Dverbs.c434 int qedr_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_alloc_pd() argument
436 struct ib_device *ibdev = ibpd->device; in qedr_alloc_pd()
438 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_alloc_pd()
477 int qedr_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_dealloc_pd() argument
479 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in qedr_dealloc_pd()
480 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_dealloc_pd()
1195 static int qedr_check_qp_attrs(struct ib_pd *ibpd, struct qedr_dev *dev, in qedr_check_qp_attrs() argument
1827 struct ib_pd *ibpd, in qedr_create_user_qp() argument
1842 if (ibpd) { in qedr_create_user_qp()
1843 pd = get_qedr_pd(ibpd); in qedr_create_user_qp()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw.h370 static inline struct i40iw_pd *to_iwpd(struct ib_pd *ibpd) in to_iwpd() argument
372 return container_of(ibpd, struct i40iw_pd, ibpd); in to_iwpd()
Di40iw_verbs.h49 struct ib_pd ibpd; member
Di40iw_verbs.c308 static int i40iw_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in i40iw_dealloc_pd() argument
310 struct i40iw_pd *iwpd = to_iwpd(ibpd); in i40iw_dealloc_pd()
311 struct i40iw_device *iwdev = to_iwdev(ibpd->device); in i40iw_dealloc_pd()
504 static struct ib_qp *i40iw_create_qp(struct ib_pd *ibpd, in i40iw_create_qp() argument
508 struct i40iw_pd *iwpd = to_iwpd(ibpd); in i40iw_create_qp()
509 struct i40iw_device *iwdev = to_iwdev(ibpd->device); in i40iw_create_qp()
1965 struct ib_pd *ibpd = ib_mr->pd; in i40iw_dereg_mr() local
1966 struct i40iw_pd *iwpd = to_iwpd(ibpd); in i40iw_dereg_mr()
2638 INIT_RDMA_OBJ_SIZE(ib_pd, i40iw_pd, ibpd),
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h93 struct ib_pd ibpd; member
678 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument
680 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h367 struct ib_pd ibpd; member
372 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd() argument
374 return container_of(ibpd, struct c4iw_pd, ibpd); in to_c4iw_pd()

12