/linux/drivers/infiniband/sw/rdmavt/ |
A D | pd.c | 18 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd() argument 20 struct ib_device *ibdev = ibpd->device; in rvt_alloc_pd() 22 struct rvt_pd *pd = ibpd_to_rvtpd(ibpd); in rvt_alloc_pd() 56 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd() argument 58 struct rvt_dev_info *dev = ib_to_rvt(ibpd->device); in rvt_dealloc_pd()
|
A D | pd.h | 12 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
|
A D | mr.c | 729 struct rvt_dev_info *dev = ib_to_rvt(pd->ibpd.device); in rvt_lkey_ok() 761 mr->lkey != sge->lkey || mr->pd != &pd->ibpd)) in rvt_lkey_ok() 842 struct rvt_dev_info *rdi = ib_to_rvt(pd->ibpd.device); in rvt_rkey_ok()
|
/linux/drivers/infiniband/hw/usnic/ |
A D | usnic_ib.h | 60 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()
|
A D | usnic_ib_verbs.h | 51 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
|
/linux/drivers/infiniband/hw/efa/ |
A D | efa.h | 79 struct ib_pd ibpd; member 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,
|
A D | efa_verbs.c | 138 return container_of(ibpd, struct efa_pd, ibpd); in to_epd() 369 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd() 372 struct efa_pd *pd = to_epd(ibpd); in efa_alloc_pd() 413 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd() 414 struct efa_pd *pd = to_epd(ibpd); in efa_dealloc_pd() 1552 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_mr() 1585 struct efa_dev *dev = to_edev(ibpd->device); in efa_register_mr() 1593 params.pd = to_epd(ibpd)->pdn; in efa_register_mr() 1648 struct efa_dev *dev = to_edev(ibpd->device); in efa_reg_user_mr_dmabuf() 1653 mr = efa_alloc_mr(ibpd, access_flags, udata); in efa_reg_user_mr_dmabuf() [all …]
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_provider.h | 80 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()
|
A D | mthca_provider.c | 356 static int mthca_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in mthca_alloc_pd() argument 358 struct ib_device *ibdev = ibpd->device; in mthca_alloc_pd() 359 struct mthca_pd *pd = to_mpd(ibpd); in mthca_alloc_pd() 1105 INIT_RDMA_OBJ_SIZE(ib_pd, mthca_pd, ibpd),
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_verbs.c | 142 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_pd() 143 struct rxe_pd *pd = to_rpd(ibpd); in rxe_alloc_pd() 150 struct rxe_pd *pd = to_rpd(ibpd); in rxe_dealloc_pd() 893 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_get_dma_mr() 894 struct rxe_pd *pd = to_rpd(ibpd); in rxe_get_dma_mr() 908 static struct ib_mr *rxe_reg_user_mr(struct ib_pd *ibpd, in rxe_reg_user_mr() argument 915 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_reg_user_mr() 916 struct rxe_pd *pd = to_rpd(ibpd); in rxe_reg_user_mr() 946 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_mr() 947 struct rxe_pd *pd = to_rpd(ibpd); in rxe_alloc_mr() [all …]
|
A D | rxe_mr.c | 158 mr->ibmr.pd = &pd->ibpd; in rxe_mr_init_dma() 176 umem = ib_umem_get(pd->ibpd.device, start, length, access); in rxe_mr_init_user() 227 mr->ibmr.pd = &pd->ibpd; in rxe_mr_init_user() 257 mr->ibmr.pd = &pd->ibpd; in rxe_mr_init_fast() 561 struct rxe_dev *rxe = to_rdev(pd->ibpd.device); in lookup_mr()
|
A D | rxe_verbs.h | 42 struct ib_pd ibpd; member 437 return pd ? container_of(pd, struct rxe_pd, ibpd) : NULL; in to_rpd()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_pd.c | 46 int hns_roce_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in hns_roce_alloc_pd() argument 48 struct ib_device *ib_dev = ibpd->device; in hns_roce_alloc_pd() 51 struct hns_roce_pd *pd = to_hr_pd(ibpd); in hns_roce_alloc_pd()
|
A D | hns_roce_device.h | 249 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()
|
/linux/include/rdma/ |
A D | rdma_vt.h | 156 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()
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma.h | 128 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()
|
A D | pvrdma_verbs.c | 427 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()
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma.h | 345 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()
|
A D | ocrdma_verbs.c | 423 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd() 629 struct ib_device *ibdev = ibpd->device; in ocrdma_alloc_pd() 645 pd = get_ocrdma_pd(ibpd); in ocrdma_alloc_pd() 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() 720 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_get_dma_mr() 721 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_get_dma_mr() 855 pd = get_ocrdma_pd(ibpd); in ocrdma_reg_user_mr() 1295 struct ib_pd *ibpd = ibqp->pd; in ocrdma_create_qp() local 1296 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_create_qp() [all …]
|
/linux/drivers/infiniband/hw/qedr/ |
A D | qedr.h | 308 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()
|
A D | verbs.c | 437 struct ib_device *ibdev = ibpd->device; in qedr_alloc_pd() 439 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_alloc_pd() 481 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_dealloc_pd() 1840 struct ib_pd *ibpd, in qedr_create_user_qp() argument 1855 if (ibpd) { in qedr_create_user_qp() 1856 pd = get_qedr_pd(ibpd); in qedr_create_user_qp() 2151 struct ib_pd *ibpd, in qedr_create_kernel_qp() argument 2155 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_create_kernel_qp() 2251 struct ib_pd *ibpd = ibqp->pd; in qedr_create_qp() local 2263 pd = get_qedr_pd(ibpd); in qedr_create_qp() [all …]
|
/linux/drivers/infiniband/hw/irdma/ |
A D | main.h | 372 static inline struct irdma_pd *to_iwpd(struct ib_pd *ibpd) in to_iwpd() argument 374 return container_of(ibpd, struct irdma_pd, ibpd); in to_iwpd()
|
A D | verbs.h | 24 struct ib_pd ibpd; member
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mlx4_ib.h | 93 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()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | iw_cxgb4.h | 362 struct ib_pd ibpd; member 367 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd() argument 369 return container_of(ibpd, struct c4iw_pd, ibpd); in to_c4iw_pd()
|