/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 45 struct ib_pd ibpd; member 94 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd() argument 96 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd()
|
/drivers/infiniband/hw/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_ah.c | 91 struct ib_ah *ocrdma_create_ah(struct ib_pd *ibpd, struct ib_ah_attr *attr) in ocrdma_create_ah() argument 96 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_create_ah() 97 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_create_ah()
|
D | ocrdma_verbs.c | 321 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd() 330 struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); in ocrdma_dealloc_ucontext_pd() 566 return &pd->ibpd; in ocrdma_alloc_pd() 579 int ocrdma_dealloc_pd(struct ib_pd *ibpd) in ocrdma_dealloc_pd() argument 581 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_dealloc_pd() 582 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_dealloc_pd() 629 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *ibpd, int acc) in ocrdma_get_dma_mr() argument 633 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_get_dma_mr() 634 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_get_dma_mr() 780 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 len, in ocrdma_reg_user_mr() argument [all …]
|
D | ocrdma.h | 294 struct ib_pd ibpd; member 415 static inline struct ocrdma_pd *get_ocrdma_pd(struct ib_pd *ibpd) in get_ocrdma_pd() argument 417 return container_of(ibpd, struct ocrdma_pd, ibpd); in get_ocrdma_pd()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_verbs.h | 172 struct ib_pd ibpd; member 660 static inline struct ipath_pd *to_ipd(struct ib_pd *ibpd) in to_ipd() argument 662 return container_of(ibpd, struct ipath_pd, ibpd); in to_ipd() 736 struct ib_qp *ipath_create_qp(struct ib_pd *ibpd, 794 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()
|
D | ipath_qp.c | 741 struct ib_qp *ipath_create_qp(struct ib_pd *ibpd, in ipath_create_qp() argument 860 dev = to_idev(ibpd->device); in ipath_create_qp() 901 ibpd->uobject->context, in ipath_create_qp()
|
D | ipath_verbs.c | 1735 ret = &pd->ibpd; in ipath_alloc_pd() 1741 static int ipath_dealloc_pd(struct ib_pd *ibpd) in ipath_dealloc_pd() argument 1743 struct ipath_pd *pd = to_ipd(ibpd); in ipath_dealloc_pd() 1744 struct ipath_ibdev *dev = to_idev(ibpd->device); in ipath_dealloc_pd()
|
/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 104 struct ib_pd ibpd; member 417 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 419 return container_of(ibpd, struct mlx5_ib_pd, ibpd); in to_mpd()
|
/drivers/infiniband/hw/qib/ |
D | qib_verbs.h | 226 struct ib_pd ibpd; member 813 static inline struct qib_pd *to_ipd(struct ib_pd *ibpd) in to_ipd() argument 815 return container_of(ibpd, struct qib_pd, ibpd); in to_ipd() 910 struct ib_qp *qib_create_qp(struct ib_pd *ibpd, 992 struct ib_srq *qib_create_srq(struct ib_pd *ibpd,
|
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_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()
|
D | qib_verbs.c | 1768 ret = &pd->ibpd; in qib_alloc_pd() 1774 static int qib_dealloc_pd(struct ib_pd *ibpd) in qib_dealloc_pd() argument 1776 struct qib_pd *pd = to_ipd(ibpd); in qib_dealloc_pd() 1777 struct qib_ibdev *dev = to_idev(ibpd->device); in qib_dealloc_pd()
|
/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 | 58 static struct ib_mw *nes_alloc_mw(struct ib_pd *ibpd, enum ib_mw_type type) in nes_alloc_mw() argument 60 struct nes_pd *nespd = to_nespd(ibpd); in nes_alloc_mw() 61 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_alloc_mw() 380 static struct ib_mr *nes_alloc_fast_reg_mr(struct ib_pd *ibpd, int max_page_list_len) in nes_alloc_fast_reg_mr() argument 382 struct nes_pd *nespd = to_nespd(ibpd); in nes_alloc_fast_reg_mr() 383 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_alloc_fast_reg_mr() 829 return &nespd->ibpd; in nes_alloc_pd() 836 static int nes_dealloc_pd(struct ib_pd *ibpd) in nes_dealloc_pd() argument 839 struct nes_pd *nespd = to_nespd(ibpd); in nes_dealloc_pd() 840 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_dealloc_pd() [all …]
|
D | nes_verbs.h | 66 struct ib_pd ibpd; member
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 81 struct ib_pd ibpd; member 555 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 557 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_main.c | 721 struct ib_pd *ibpd; in ehca_probe() local 784 ibpd = ehca_alloc_pd(&shca->ib_device, (void *)(-1), NULL); in ehca_probe() 785 if (IS_ERR(ibpd)) { in ehca_probe() 787 ret = PTR_ERR(ibpd); in ehca_probe() 791 shca->pd = container_of(ibpd, struct ehca_pd, ib_pd); in ehca_probe()
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 357 struct ib_pd ibpd; member 362 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd() argument 364 return container_of(ibpd, struct c4iw_pd, ibpd); in to_c4iw_pd()
|
D | provider.c | 269 c4iw_deallocate_pd(&php->ibpd); in c4iw_allocate_pd() 279 return &php->ibpd; in c4iw_allocate_pd()
|