Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
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()
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()
A Dsrq.c185 err = mlx4_srq_alloc(dev->dev, to_mpd(ib_srq->pd)->pdn, cqn, xrcdn, in mlx4_ib_create_srq()
A Dmlx4_ib.h678 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
A Dqp.c1341 return to_mpd(to_mxrcd(qp->ibqp.xrcd)->pd); in get_pd()
1343 return to_mpd(qp->ibqp.pd); in get_pd()
2136 pd = to_mpd(ibwq->pd); in __mlx4_ib_modify_qp()
A Dmain.c1194 struct mlx4_ib_pd *pd = to_mpd(ibpd); in mlx4_ib_alloc_pd()
1211 mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn); in mlx4_ib_dealloc_pd()
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
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()
813 to_mpd(pd)->pd_num, in mthca_get_dma_mr()
902 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, in mthca_reg_user_mr()
A Dmthca_provider.h291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
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-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dqp.c1372 MLX5_SET(create_sq_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_sq()
1459 MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_rq()
1575 u16 uid = to_mpd(pd)->uid; in create_raw_packet_qp()
1693 to_mpd(qp->ibqp.pd)->uid); in destroy_rss_raw_qp_tir()
1877 to_mpd(pd)->uid); in create_rss_raw_qp_tir()
2011 MLX5_SET(qpc, qpc, pd, to_mpd(devr->p0)->pdn); in create_xrc_tgt_qp()
2126 MLX5_SET(qpc, qpc, pd, to_mpd(pd)->pdn); in create_dci()
2297 MLX5_SET(qpc, qpc, pd, to_mpd(pd)->pdn); in create_user_qp()
2736 MLX5_SET(dctc, dctc, pd, to_mpd(pd)->pdn); in create_dct()
4132 pd = to_mpd(qp->ibqp.pd); in __mlx5_ib_modify_qp()
[all …]
A Dumr.c371 MLX5_SET(mkc, &wqe.mkey_seg, pd, to_mpd(dev->umrc.pd)->pdn); in mlx5r_umr_revoke_mr()
407 MLX5_SET(mkc, &wqe.mkey_seg, pd, to_mpd(pd)->pdn); in mlx5r_umr_rereg_pd_access()
543 MLX5_SET(mkc, mkey_seg, pd, to_mpd(mr->ibmr.pd)->pdn); in mlx5r_umr_set_update_xlt_mkey_seg()
A Dstd_types.c22 struct mlx5_ib_pd *mpd = to_mpd(pd); in UVERBS_HANDLER()
A Dsrq.c92 in->uid = (in->type != IB_SRQT_XRC) ? to_mpd(pd)->uid : 0; in create_srq_user()
278 in.pd = to_mpd(ib_srq->pd)->pdn; in mlx5_ib_create_srq()
A Dmr.c78 MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn); in set_mkc_access_pd_addr_fields()
1437 mr = mlx5_ib_alloc_implicit_mr(to_mpd(pd), access_flags); in create_user_odp_mr()
2039 err = mlx5_core_create_psv(dev->mdev, to_mpd(pd)->pdn, 2, psv_index); in mlx5_alloc_integrity_descs()
2207 MLX5_SET(mkc, mkc, pd, to_mpd(ibmw->pd)->pdn); in mlx5_ib_alloc_mw()
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()
A Dmain.c2335 struct mlx5_ib_pd *pd = to_mpd(ibpd); in mlx5_ib_alloc_pd()
2368 struct mlx5_ib_pd *mpd = to_mpd(pd); in mlx5_ib_dealloc_pd()
2381 to_mpd(ibqp->pd)->uid : 0; in mlx5_ib_mcg_attach()
2403 to_mpd(ibqp->pd)->uid : 0; in mlx5_ib_mcg_detach()
A Dmlx5_ib.h1181 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function

Completed in 66 milliseconds