Lines Matching refs:ibpd
123 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()
664 create_qp_params.pd = to_epd(ibpd)->pdn; in efa_create_qp()
1487 struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length, in efa_reg_mr() argument
1491 struct efa_dev *dev = to_edev(ibpd->device); in efa_reg_mr()
1528 mr->umem = ib_umem_get(ibpd->device, start, length, access_flags); in efa_reg_mr()
1536 params.pd = to_epd(ibpd)->pdn; in efa_reg_mr()