/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 60 struct ib_pd ibpd; member 109 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd() argument 111 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd()
|
/drivers/staging/rdma/amso1100/ |
D | c2_provider.h | 69 struct ib_pd ibpd; member 132 static inline struct c2_pd *to_c2pd(struct ib_pd *ibpd) in to_c2pd() argument 134 return container_of(ibpd, struct c2_pd, ibpd); in to_c2pd()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 98 struct ib_pd ibpd; member 314 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 316 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd()
|
D | mthca_srq.c | 106 if (pd->ibpd.uobject) in mthca_tavor_init_srq_context() 108 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_tavor_init_srq_context() 132 if (pd->ibpd.uobject) in mthca_arbel_init_srq_context() 134 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_arbel_init_srq_context() 155 if (pd->ibpd.uobject) in mthca_alloc_srq_buf() 238 if (!pd->ibpd.uobject) { in mthca_alloc_srq() 300 if (!pd->ibpd.uobject) in mthca_alloc_srq() 307 if (!pd->ibpd.uobject && mthca_is_memfree(dev)) in mthca_alloc_srq()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 45 struct ib_pd ibpd; member 50 static inline struct iwch_pd *to_iwch_pd(struct ib_pd *ibpd) in to_iwch_pd() argument 52 return container_of(ibpd, struct iwch_pd, ibpd); in to_iwch_pd()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 496 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd() 504 struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); in ocrdma_dealloc_ucontext_pd() 740 return &pd->ibpd; in ocrdma_alloc_pd() 752 int ocrdma_dealloc_pd(struct ib_pd *ibpd) in ocrdma_dealloc_pd() argument 754 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_dealloc_pd() 755 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_dealloc_pd() 802 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *ibpd, int acc) in ocrdma_get_dma_mr() argument 806 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_get_dma_mr() 807 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_get_dma_mr() 953 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 len, in ocrdma_reg_user_mr() argument [all …]
|
D | ocrdma_ah.c | 114 struct ib_ah *ocrdma_create_ah(struct ib_pd *ibpd, struct ib_ah_attr *attr) in ocrdma_create_ah() argument 122 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_create_ah() 123 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_create_ah()
|
D | ocrdma.h | 349 struct ib_pd ibpd; member 469 static inline struct ocrdma_pd *get_ocrdma_pd(struct ib_pd *ibpd) in get_ocrdma_pd() argument 471 return container_of(ibpd, struct ocrdma_pd, ibpd); in get_ocrdma_pd()
|
/drivers/staging/rdma/ipath/ |
D | ipath_verbs.h | 172 struct ib_pd ibpd; member 666 static inline struct ipath_pd *to_ipd(struct ib_pd *ibpd) in to_ipd() argument 668 return container_of(ibpd, struct ipath_pd, ibpd); in to_ipd() 744 struct ib_qp *ipath_create_qp(struct ib_pd *ibpd, 802 struct ib_srq *ipath_create_srq(struct ib_pd *ibpd,
|
D | ipath_srq.c | 101 struct ib_srq *ipath_create_srq(struct ib_pd *ibpd, in ipath_create_srq() argument 105 struct ipath_ibdev *dev = to_idev(ibpd->device); in ipath_create_srq() 155 ibpd->uobject->context, in ipath_create_srq()
|
/drivers/staging/rdma/hfi1/ |
D | keys.c | 192 struct hfi1_ibdev *dev = to_idev(pd->ibpd.device); in hfi1_lkey_ok() 212 if (unlikely(!mr || mr->lkey != sge->lkey || mr->pd != &pd->ibpd)) in hfi1_lkey_ok() 289 struct hfi1_ibdev *dev = to_idev(pd->ibpd.device); in hfi1_rkey_ok()
|
D | srq.c | 118 struct ib_srq *hfi1_create_srq(struct ib_pd *ibpd, in hfi1_create_srq() argument 122 struct hfi1_ibdev *dev = to_idev(ibpd->device); in hfi1_create_srq() 168 hfi1_create_mmap_info(dev, s, ibpd->uobject->context, in hfi1_create_srq()
|
D | verbs.h | 238 struct ib_pd ibpd; member 805 static inline struct hfi1_pd *to_ipd(struct ib_pd *ibpd) in to_ipd() argument 807 return container_of(ibpd, struct hfi1_pd, ibpd); in to_ipd() 979 struct ib_srq *hfi1_create_srq(struct ib_pd *ibpd,
|
D | qp.h | 179 struct ib_qp *hfi1_create_qp(struct ib_pd *ibpd,
|
/drivers/infiniband/hw/qib/ |
D | qib_srq.c | 101 struct ib_srq *qib_create_srq(struct ib_pd *ibpd, in qib_create_srq() argument 105 struct qib_ibdev *dev = to_idev(ibpd->device); in qib_create_srq() 151 qib_create_mmap_info(dev, s, ibpd->uobject->context, in qib_create_srq()
|
D | qib_keys.c | 168 struct qib_ibdev *dev = to_idev(pd->ibpd.device); in qib_lkey_ok() 189 if (unlikely(!mr || mr->lkey != sge->lkey || mr->pd != &pd->ibpd)) in qib_lkey_ok() 267 struct qib_ibdev *dev = to_idev(pd->ibpd.device); in qib_rkey_ok()
|
D | qib_verbs.h | 226 struct ib_pd ibpd; member 821 static inline struct qib_pd *to_ipd(struct ib_pd *ibpd) in to_ipd() argument 823 return container_of(ibpd, struct qib_pd, ibpd); in to_ipd() 920 struct ib_qp *qib_create_qp(struct ib_pd *ibpd, 1002 struct ib_srq *qib_create_srq(struct ib_pd *ibpd,
|
D | qib_qp.c | 975 struct ib_qp *qib_create_qp(struct ib_pd *ibpd, in qib_create_qp() argument 1023 init_attr->port_num > ibpd->device->phys_port_cnt) { in qib_create_qp() 1108 dev = to_idev(ibpd->device); in qib_create_qp() 1148 ibpd->uobject->context, in qib_create_qp()
|
/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 104 struct ib_pd ibpd; member 466 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 468 return container_of(ibpd, struct mlx5_ib_pd, ibpd); in to_mpd()
|
/drivers/infiniband/hw/nes/ |
D | nes.h | 475 static inline struct nes_pd *to_nespd(struct ib_pd *ibpd) in to_nespd() argument 477 return container_of(ibpd, struct nes_pd, ibpd); in to_nespd()
|
D | nes_verbs.c | 59 static struct ib_mw *nes_alloc_mw(struct ib_pd *ibpd, enum ib_mw_type type) in nes_alloc_mw() argument 61 struct nes_pd *nespd = to_nespd(ibpd); in nes_alloc_mw() 62 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_alloc_mw() 381 static struct ib_mr *nes_alloc_mr(struct ib_pd *ibpd, in nes_alloc_mr() argument 385 struct nes_pd *nespd = to_nespd(ibpd); in nes_alloc_mr() 386 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_alloc_mr() 809 return &nespd->ibpd; in nes_alloc_pd() 816 static int nes_dealloc_pd(struct ib_pd *ibpd) in nes_dealloc_pd() argument 819 struct nes_pd *nespd = to_nespd(ibpd); in nes_dealloc_pd() 820 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_dealloc_pd() [all …]
|
D | nes_verbs.h | 66 struct ib_pd ibpd; member
|
/drivers/staging/rdma/ehca/ |
D | ehca_main.c | 744 struct ib_pd *ibpd; in ehca_probe() local 807 ibpd = ehca_alloc_pd(&shca->ib_device, (void *)(-1), NULL); in ehca_probe() 808 if (IS_ERR(ibpd)) { in ehca_probe() 810 ret = PTR_ERR(ibpd); in ehca_probe() 814 shca->pd = container_of(ibpd, struct ehca_pd, ib_pd); in ehca_probe()
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 94 struct ib_pd ibpd; member 620 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 622 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd()
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 355 struct ib_pd ibpd; member 360 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd() argument 362 return container_of(ibpd, struct c4iw_pd, ibpd); in to_c4iw_pd()
|