Lines Matching refs:mqp
77 struct rvt_mcast_qp *mqp;
79 mqp = kmalloc(sizeof(*mqp), GFP_KERNEL);
80 if (!mqp)
83 mqp->qp = qp;
87 return mqp;
90 static void rvt_mcast_qp_free(struct rvt_mcast_qp *mqp)
92 struct rvt_qp *qp = mqp->qp;
97 kfree(mqp);
186 * @mqp: the QP to attach
194 struct rvt_mcast *mcast, struct rvt_mcast_qp *mqp)
228 if (p->qp == mqp->qp) {
241 list_add_tail_rcu(&mqp->list, &tmcast->qp_list);
258 list_add_tail_rcu(&mqp->list, &mcast->qp_list);
286 struct rvt_mcast_qp *mqp;
300 mqp = rvt_mcast_qp_alloc(qp);
301 if (!mqp)
304 switch (rvt_mcast_add(rdi, ibp, mcast, mqp)) {
327 rvt_mcast_qp_free(mqp);