/linux/drivers/infiniband/hw/mlx4/ |
H A D | mr.c | 67 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 D | ah.c | 48 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 D | srq.c | 185 err = mlx4_srq_alloc(dev->dev, to_mpd(ib_srq->pd)->pdn, cqn, xrcdn, in mlx4_ib_create_srq()
|
H A D | mlx4_ib.h | 680 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
|
H A D | qp.c | 1345 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 D | main.c | 1200 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 D | mthca_provider.c | 351 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 D | mthca_provider.h | 291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
|
H A D | mthca_qp.c | 709 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 D | qp.c | 1377 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 D | umr.c | 403 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 D | srq.c | 92 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 D | std_types.c | 23 struct mlx5_ib_pd *mpd = to_mpd(pd); in UVERBS_HANDLER()
|
H A D | mr.c | 85 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 D | wr.c | 565 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 D | main.c | 2430 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 D | mlx5_ib.h | 1248 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
|