Home
last modified time | relevance | path

Searched refs:to_mpd (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/infiniband/hw/mlx4/
H A Dmr.c67 err = mlx4_mr_alloc(to_mdev(pd->device)->dev, to_mpd(pd)->pdn, 0, in mlx4_ib_get_dma_mr()
428 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, virt_addr, length, in mlx4_ib_reg_user_mr()
479 to_mpd(pd)->pdn); in mlx4_ib_rereg_user_mr()
619 err = mlx4_mw_alloc(dev->dev, to_mpd(ibmw->pd)->pdn, in mlx4_ib_alloc_mw()
659 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, 0, 0, 0, in mlx4_ib_alloc_mr()
H A Dah.c48 ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_ib_ah()
118 ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_iboe_ah()
H A Dsrq.c185 err = mlx4_srq_alloc(dev->dev, to_mpd(ib_srq->pd)->pdn, cqn, xrcdn, in mlx4_ib_create_srq()
H A Dmlx4_ib.h680 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
H A Dqp.c1345 return to_mpd(to_mxrcd(qp->ibqp.xrcd)->pd); in get_pd()
1347 return to_mpd(qp->ibqp.pd); in get_pd()
2140 pd = to_mpd(ibwq->pd); in __mlx4_ib_modify_qp()
H A Dmain.c1200 struct mlx4_ib_pd *pd = to_mpd(ibpd); in mlx4_ib_alloc_pd()
1217 mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn); in mlx4_ib_dealloc_pd()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c351 struct mthca_pd *pd = to_mpd(ibpd); in mthca_alloc_pd()
370 mthca_pd_free(to_mdev(pd->device), to_mpd(pd)); in mthca_dealloc_pd()
381 return mthca_create_ah(to_mdev(ibah->device), to_mpd(ibah->pd), in mthca_ah_create()
419 err = mthca_alloc_srq(to_mdev(ibsrq->device), to_mpd(ibsrq->pd), in mthca_create_srq()
500 err = mthca_alloc_qp(dev, to_mpd(ibqp->pd), in mthca_create_qp()
525 err = mthca_alloc_sqp(dev, to_mpd(ibqp->pd), in mthca_create_qp()
814 to_mpd(pd)->pd_num, in mthca_get_dma_mr()
903 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, in mthca_reg_user_mr()
H A Dmthca_provider.h291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
H A Dmthca_qp.c709 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
1492 atomic_dec(&(to_mpd(qp->ibqp.pd)->sqp_count)); in mthca_free_qp()
1561 data->lkey = cpu_to_be32(to_mpd(qp->ibqp.pd)->ntmr.ibmr.lkey); in build_mlx_header()
/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c1377 MLX5_SET(create_sq_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_sq()
1464 MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_rq()
1580 u16 uid = to_mpd(pd)->uid; in create_raw_packet_qp()
1698 to_mpd(qp->ibqp.pd)->uid); in destroy_rss_raw_qp_tir()
1882 to_mpd(pd)->uid); in create_rss_raw_qp_tir()
2016 MLX5_SET(qpc, qpc, pd, to_mpd(devr->p0)->pdn); in create_xrc_tgt_qp()
2131 MLX5_SET(qpc, qpc, pd, to_mpd(pd)->pdn); in create_dci()
2302 MLX5_SET(qpc, qpc, pd, to_mpd(pd)->pdn); in create_user_qp()
2745 MLX5_SET(dctc, dctc, pd, to_mpd(pd)->pdn); in create_dct()
4161 pd = to_mpd(qp->ibqp.pd); in __mlx5_ib_modify_qp()
[all …]
H A Dumr.c403 MLX5_SET(mkc, &wqe.mkey_seg, pd, to_mpd(dev->umrc.pd)->pdn); in mlx5r_umr_revoke_mr()
442 MLX5_SET(mkc, &wqe.mkey_seg, pd, to_mpd(pd)->pdn); in mlx5r_umr_rereg_pd_access()
578 MLX5_SET(mkc, mkey_seg, pd, to_mpd(mr->ibmr.pd)->pdn); in mlx5r_umr_set_update_xlt_mkey_seg()
H A Dsrq.c92 in->uid = (in->type != IB_SRQT_XRC) ? to_mpd(pd)->uid : 0; in create_srq_user()
285 in.pd = to_mpd(ib_srq->pd)->pdn; in mlx5_ib_create_srq()
H A Dstd_types.c23 struct mlx5_ib_pd *mpd = to_mpd(pd); in UVERBS_HANDLER()
H A Dmr.c85 MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn); in set_mkc_access_pd_addr_fields()
1481 mr = mlx5_ib_alloc_implicit_mr(to_mpd(pd), access_flags); in create_user_odp_mr()
2270 err = mlx5_core_create_psv(dev->mdev, to_mpd(pd)->pdn, 2, psv_index); in mlx5_alloc_integrity_descs()
2438 MLX5_SET(mkc, mkc, pd, to_mpd(ibmw->pd)->pdn); in mlx5_ib_alloc_mw()
H A Dwr.c565 u32 pdn = to_mpd(qp->ibqp.pd)->pdn; in set_pi_umr_wr()
641 struct mlx5_ib_pd *pd = to_mpd(qp->ibqp.pd); in set_reg_wr()
H A Dmain.c2430 struct mlx5_ib_pd *pd = to_mpd(ibpd); in mlx5_ib_alloc_pd()
2463 struct mlx5_ib_pd *mpd = to_mpd(pd); in mlx5_ib_dealloc_pd()
2476 to_mpd(ibqp->pd)->uid : 0; in mlx5_ib_mcg_attach()
2498 to_mpd(ibqp->pd)->uid : 0; in mlx5_ib_mcg_detach()
H A Dmlx5_ib.h1248 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function