Lines Matching refs:qp
53 static struct ipath_mcast_qp *ipath_mcast_qp_alloc(struct ipath_qp *qp) in ipath_mcast_qp_alloc() argument
61 mqp->qp = qp; in ipath_mcast_qp_alloc()
62 atomic_inc(&qp->refcount); in ipath_mcast_qp_alloc()
70 struct ipath_qp *qp = mqp->qp; in ipath_mcast_qp_free() local
73 if (atomic_dec_and_test(&qp->refcount)) in ipath_mcast_qp_free()
74 wake_up(&qp->wait); in ipath_mcast_qp_free()
193 if (p->qp == mqp->qp) { in ipath_mcast_add()
238 struct ipath_qp *qp = to_iqp(ibqp); in ipath_multicast_attach() local
253 mqp = ipath_mcast_qp_alloc(qp); in ipath_multicast_attach()
287 struct ipath_qp *qp = to_iqp(ibqp); in ipath_multicast_detach() local
319 if (p->qp != qp) in ipath_multicast_detach()