Lines Matching refs:pd

133 	__be32 pd;  member
693 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
939 static inline int mthca_max_inline_data(struct mthca_pd *pd, int max_data_size) in mthca_max_inline_data() argument
942 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0; in mthca_max_inline_data()
946 struct mthca_pd *pd, in mthca_adjust_qp_caps() argument
953 qp->max_inline_data = mthca_max_inline_data(pd, max_data_size); in mthca_adjust_qp_caps()
971 struct mthca_pd *pd, in mthca_alloc_wqe_buf() argument
1039 if (pd->ibpd.uobject) in mthca_alloc_wqe_buf()
1051 &qp->queue, &qp->is_direct, pd, 0, &qp->mr); in mthca_alloc_wqe_buf()
1142 struct mthca_pd *pd, in mthca_alloc_qp_common() argument
1169 ret = mthca_alloc_wqe_buf(dev, pd, qp); in mthca_alloc_qp_common()
1175 mthca_adjust_qp_caps(dev, pd, qp); in mthca_alloc_qp_common()
1182 if (pd->ibpd.uobject) in mthca_alloc_qp_common()
1231 struct mthca_pd *pd, struct mthca_qp *qp) in mthca_set_qp_size() argument
1240 cap->max_inline_data > mthca_max_inline_data(pd, max_data_size)) in mthca_set_qp_size()
1270 struct mthca_pd *pd, in mthca_alloc_qp() argument
1287 err = mthca_set_qp_size(dev, cap, pd, qp); in mthca_alloc_qp()
1298 err = mthca_alloc_qp_common(dev, pd, send_cq, recv_cq, in mthca_alloc_qp()
1344 struct mthca_pd *pd, in mthca_alloc_sqp() argument
1357 err = mthca_set_qp_size(dev, cap, pd, &sqp->qp); in mthca_alloc_sqp()
1381 err = mthca_alloc_qp_common(dev, pd, send_cq, recv_cq, in mthca_alloc_sqp()
1386 atomic_inc(&pd->sqp_count); in mthca_alloc_sqp()
1468 atomic_dec(&(to_mpd(qp->ibqp.pd)->sqp_count)); in mthca_free_qp()
1538 data->lkey = cpu_to_be32(to_mpd(sqp->qp.ibqp.pd)->ntmr.ibmr.lkey); in build_mlx_header()