Lines Matching refs:ib_pd
443 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw() local
444 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_bind_fence_mw()
548 mw = bnxt_re_alloc_mw(&pd->ib_pd, IB_MW_TYPE_1, NULL); in bnxt_re_create_fence_mr()
566 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd) in bnxt_re_dealloc_pd() argument
568 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_dealloc_pd()
586 struct ib_pd *bnxt_re_alloc_pd(struct ib_device *ibdev, in bnxt_re_alloc_pd()
640 return &pd->ib_pd; in bnxt_re_alloc_pd()
665 struct ib_ah *bnxt_re_create_ah(struct ib_pd *ib_pd, in bnxt_re_create_ah() argument
669 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_ah()
701 if (ib_pd->uobject && in bnxt_re_create_ah()
732 if (ib_pd->uobject) { in bnxt_re_create_ah()
733 struct ib_ucontext *ib_uctx = ib_pd->uobject->context; in bnxt_re_create_ah()
883 struct ib_ucontext *context = pd->ib_pd.uobject->context; in bnxt_re_init_user_qp()
1038 struct ib_qp *bnxt_re_create_qp(struct ib_pd *ib_pd, in bnxt_re_create_qp() argument
1042 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_qp()
1361 struct ib_ucontext *context = pd->ib_pd.uobject->context; in bnxt_re_init_user_srq()
1384 struct ib_srq *bnxt_re_create_srq(struct ib_pd *ib_pd, in bnxt_re_create_srq() argument
1388 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_srq()
3320 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *ib_pd, int mr_access_flags) in bnxt_re_get_dma_mr() argument
3322 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_get_dma_mr()
3409 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type type, in bnxt_re_alloc_mr() argument
3412 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_alloc_mr()
3465 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, in bnxt_re_alloc_mw() argument
3468 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_alloc_mw()
3555 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *ib_pd, u64 start, u64 length, in bnxt_re_reg_user_mr() argument
3559 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_reg_user_mr()
3589 umem = ib_umem_get(ib_pd->uobject->context, start, length, in bnxt_re_reg_user_mr()