Searched refs:to_hr_pd (Results 1 – 4 of 4) sorted by relevance
50 struct hns_roce_pd *pd = to_hr_pd(ibpd); in hns_roce_alloc_pd()80 ida_free(&hr_dev->pd_ida.ida, (int)to_hr_pd(pd)->pdn); in hns_roce_dealloc_pd()
197 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_get_dma_mr()235 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_reg_user_mr()300 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_rereg_user_mr()374 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_alloc_mr()547 mw->pdn = to_hr_pd(ibmw->pd)->pdn; in hns_roce_alloc_mw()
963 static inline struct hns_roce_pd *to_hr_pd(struct ib_pd *ibpd) in to_hr_pd() function
498 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_PD, to_hr_pd(qp->ibqp.pd)->pdn); in set_ud_wqe()2668 free_mr->rsv_pd = to_hr_pd(pd); in free_mr_init_pd()4340 return ib_pd ? to_hr_pd(ib_pd)->pdn : 0; in get_pdn()5692 hr_reg_write(ctx, SRQC_PD, to_hr_pd(srq->ibsrq.pd)->pdn); in hns_roce_v2_write_srqc()
Completed in 24 milliseconds