Lines Matching refs:mqp
35 struct rvt_mcast_qp *mqp;
37 mqp = kmalloc(sizeof(*mqp), GFP_KERNEL);
38 if (!mqp)
41 mqp->qp = qp;
45 return mqp;
48 static void rvt_mcast_qp_free(struct rvt_mcast_qp *mqp)
50 struct rvt_qp *qp = mqp->qp;
55 kfree(mqp);
144 * @mqp: the QP to attach
152 struct rvt_mcast *mcast, struct rvt_mcast_qp *mqp)
186 if (p->qp == mqp->qp) {
199 list_add_tail_rcu(&mqp->list, &tmcast->qp_list);
216 list_add_tail_rcu(&mqp->list, &mcast->qp_list);
244 struct rvt_mcast_qp *mqp;
258 mqp = rvt_mcast_qp_alloc(qp);
259 if (!mqp)
262 switch (rvt_mcast_add(rdi, ibp, mcast, mqp)) {
285 rvt_mcast_qp_free(mqp);