Lines Matching refs:ibpd
140 static int rxe_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_alloc_pd() argument
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()
148 static int rxe_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_dealloc_pd() argument
150 struct rxe_pd *pd = to_rpd(ibpd); in rxe_dealloc_pd()
893 static struct ib_mr *rxe_get_dma_mr(struct ib_pd *ibpd, int access) in rxe_get_dma_mr() argument
895 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_get_dma_mr()
896 struct rxe_pd *pd = to_rpd(ibpd); in rxe_get_dma_mr()
904 mr->ibmr.pd = ibpd; in rxe_get_dma_mr()
912 static struct ib_mr *rxe_reg_user_mr(struct ib_pd *ibpd, in rxe_reg_user_mr() argument
919 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_reg_user_mr()
920 struct rxe_pd *pd = to_rpd(ibpd); in rxe_reg_user_mr()
931 mr->ibmr.pd = ibpd; in rxe_reg_user_mr()
947 static struct ib_mr *rxe_alloc_mr(struct ib_pd *ibpd, enum ib_mr_type mr_type, in rxe_alloc_mr() argument
950 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_mr()
951 struct rxe_pd *pd = to_rpd(ibpd); in rxe_alloc_mr()
965 mr->ibmr.pd = ibpd; in rxe_alloc_mr()
1102 INIT_RDMA_OBJ_SIZE(ib_pd, rxe_pd, ibpd),