Home
last modified time | relevance | path

Searched refs:tmcast (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_verbs_mcast.c174 struct ipath_mcast *tmcast; in ipath_mcast_add() local
178 tmcast = rb_entry(pn, struct ipath_mcast, rb_node); in ipath_mcast_add()
180 ret = memcmp(mcast->mgid.raw, tmcast->mgid.raw, in ipath_mcast_add()
192 list_for_each_entry_rcu(p, &tmcast->qp_list, list) { in ipath_mcast_add()
198 if (tmcast->n_attached == ib_ipath_max_mcast_qp_attached) { in ipath_mcast_add()
203 tmcast->n_attached++; in ipath_mcast_add()
205 list_add_tail_rcu(&mqp->list, &tmcast->qp_list); in ipath_mcast_add()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_verbs_mcast.c163 struct qib_mcast *tmcast; in qib_mcast_add() local
167 tmcast = rb_entry(pn, struct qib_mcast, rb_node); in qib_mcast_add()
169 ret = memcmp(mcast->mgid.raw, tmcast->mgid.raw, in qib_mcast_add()
181 list_for_each_entry_rcu(p, &tmcast->qp_list, list) { in qib_mcast_add()
187 if (tmcast->n_attached == ib_qib_max_mcast_qp_attached) { in qib_mcast_add()
192 tmcast->n_attached++; in qib_mcast_add()
194 list_add_tail_rcu(&mqp->list, &tmcast->qp_list); in qib_mcast_add()
/linux-3.4.99/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c160 struct ipoib_mcast *tmcast; in __ipoib_mcast_add() local
164 tmcast = rb_entry(pn, struct ipoib_mcast, rb_node); in __ipoib_mcast_add()
166 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw, in __ipoib_mcast_add()
749 struct ipoib_mcast *mcast, *tmcast; in ipoib_mcast_dev_flush() local
756 list_for_each_entry_safe(mcast, tmcast, &priv->multicast_list, list) { in ipoib_mcast_dev_flush()
770 list_for_each_entry_safe(mcast, tmcast, &remove_list, list) { in ipoib_mcast_dev_flush()
793 struct ipoib_mcast *mcast, *tmcast; in ipoib_mcast_restart_task() local
869 list_for_each_entry_safe(mcast, tmcast, &priv->multicast_list, list) { in ipoib_mcast_restart_task()
887 list_for_each_entry_safe(mcast, tmcast, &remove_list, list) { in ipoib_mcast_restart_task()