Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/ofed/drivers/infiniband/hw/mthca/
Dmthca_provider.c435 mthca_pd_free(to_mdev(pd->device), to_mpd(pd)); in mthca_dealloc_pd()
451 err = mthca_create_ah(to_mdev(pd->device), to_mpd(pd), ah_attr, ah); in mthca_ah_create()
500 err = mthca_alloc_srq(to_mdev(pd->device), to_mpd(pd), in mthca_create_srq()
596 err = mthca_alloc_qp(to_mdev(pd->device), to_mpd(pd), in mthca_create_qp()
631 err = mthca_alloc_sqp(to_mdev(pd->device), to_mpd(pd), in mthca_create_qp()
913 to_mpd(pd)->pd_num, in mthca_get_dma_mr()
988 to_mpd(pd)->pd_num, in mthca_reg_phys_mr()
992 to_mpd(pd)->pd_num, in mthca_reg_phys_mr()
1094 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, shift, virt, length, in mthca_reg_user_mr()
1136 err = mthca_fmr_alloc(to_mdev(pd->device), to_mpd(pd)->pd_num, in mthca_alloc_fmr()
Dmthca_provider.h313 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
Dmthca_qp.c700 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
1480 atomic_dec(&(to_mpd(qp->ibqp.pd)->sqp_count)); in mthca_free_qp()
1552 data->lkey = cpu_to_be32(to_mpd(sqp->qp.ibqp.pd)->ntmr.ibmr.lkey); in build_mlx_header()
/freebsd-9-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dmr.c117 err = mlx4_mr_alloc(to_mdev(pd->device)->dev, to_mpd(pd)->pdn, 0, in mlx4_ib_get_dma_mr()
505 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, virt_addr, length, in mlx4_ib_reg_user_mr()
594 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, 0, 0, 0, in mlx4_ib_alloc_fast_reg_mr()
673 err = mlx4_fmr_alloc(dev->dev, to_mpd(pd)->pdn, convert_access(acc), in mlx4_ib_fmr_alloc()
Dah.c69 ah->av.ib.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_ib_ah()
115 ah->av.eth.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_iboe_ah()
Dsrq.c184 err = mlx4_srq_alloc(dev->dev, to_mpd(pd)->pdn, cqn, xrcdn, &srq->mtt, in mlx4_ib_create_srq()
Dmlx4_ib.h573 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() function
Dqp.c259 av->port_pd = cpu_to_be32((qp->port << 24) | to_mpd(qp->ibqp.pd)->pdn); in post_nop_wqe()
1186 return to_mpd(to_mxrcd(qp->ibqp.xrcd)->pd); in get_pd()
1188 return to_mpd(qp->ibqp.pd); in get_pd()
Dmain.c813 mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn); in mlx4_ib_dealloc_pd()
/freebsd-9-stable/contrib/ofed/libmthca/src/
Dverbs.c114 free(to_mpd(pd)); in mthca_free_pd()
245 cmd.pdn = to_mpd(to_mctx(context)->pd)->pdn; in mthca_create_cq()
734 if (mthca_alloc_av(to_mpd(pd), attr, ah)) { in mthca_create_ah()
Dah.c166 struct mthca_pd *pd = to_mpd(ah->ibv_ah.pd); in mthca_free_av()
Dmthca.h263 static inline struct mthca_pd *to_mpd(struct ibv_pd *ibpd) in to_mpd() function
/freebsd-9-stable/contrib/ofed/libmlx4/fixes/
Drocee_add_support.patch87 ah->av.port_pd = htonl(to_mpd(pd)->pdn | (attr->port_num << 24));
/freebsd-9-stable/contrib/ofed/libmlx4/src/
Dverbs.c106 free(to_mpd(pd)); in mlx4_free_pd()
693 ah->av.port_pd = htonl(to_mpd(pd)->pdn | (attr->port_num << 24)); in mlx4_create_ah()
Dmlx4.h318 static inline struct mlx4_pd *to_mpd(struct ibv_pd *ibpd) in to_mpd() function