Lines Matching refs:orig

1281 	if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) {
1595 * @orig: the orig_node which multicast state might have changed of
1599 * orig, has toggled then this method updates the counter and the list
1602 * Caller needs to hold orig->mcast_handler_lock.
1605 struct batadv_orig_node *orig,
1608 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node;
1611 lockdep_assert_held(&orig->mcast_handler_lock);
1615 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) {
1626 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) {
1641 * @orig: the orig_node which multicast state might have changed of
1644 * If the BATADV_MCAST_WANT_ALL_IPV4 flag of this originator, orig, has
1647 * Caller needs to hold orig->mcast_handler_lock.
1650 struct batadv_orig_node *orig,
1653 struct hlist_node *node = &orig->mcast_want_all_ipv4_node;
1656 lockdep_assert_held(&orig->mcast_handler_lock);
1660 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) {
1671 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) {
1686 * @orig: the orig_node which multicast state might have changed of
1689 * If the BATADV_MCAST_WANT_ALL_IPV6 flag of this originator, orig, has
1692 * Caller needs to hold orig->mcast_handler_lock.
1695 struct batadv_orig_node *orig,
1698 struct hlist_node *node = &orig->mcast_want_all_ipv6_node;
1701 lockdep_assert_held(&orig->mcast_handler_lock);
1705 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) {
1716 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) {
1731 * @orig: the orig_node which multicast state might have changed of
1734 * If the BATADV_MCAST_WANT_NO_RTR4 flag of this originator, orig, has
1737 * Caller needs to hold orig->mcast_handler_lock.
1740 struct batadv_orig_node *orig,
1743 struct hlist_node *node = &orig->mcast_want_all_rtr4_node;
1746 lockdep_assert_held(&orig->mcast_handler_lock);
1750 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4) {
1761 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4)) {
1776 * @orig: the orig_node which multicast state might have changed of
1779 * If the BATADV_MCAST_WANT_NO_RTR6 flag of this originator, orig, has
1782 * Caller needs to hold orig->mcast_handler_lock.
1785 struct batadv_orig_node *orig,
1788 struct hlist_node *node = &orig->mcast_want_all_rtr6_node;
1791 lockdep_assert_held(&orig->mcast_handler_lock);
1795 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6) {
1806 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6)) {
1821 * @orig: the orig_node which multicast state might have changed of
1824 * If the BATADV_MCAST_HAVE_MC_PTYPE_CAPA flag of this originator, orig, has
1828 struct batadv_orig_node *orig,
1831 lockdep_assert_held(&orig->mcast_handler_lock);
1835 orig->mcast_flags & BATADV_MCAST_HAVE_MC_PTYPE_CAPA)
1839 !(orig->mcast_flags & BATADV_MCAST_HAVE_MC_PTYPE_CAPA))
1877 * @orig: the orig_node of the ogm
1883 struct batadv_orig_node *orig,
1894 spin_lock_bh(&orig->mcast_handler_lock);
1897 !test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) {
1898 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities);
1900 test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) {
1901 clear_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities);
1904 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized);
1906 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags);
1907 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags);
1908 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags);
1909 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags);
1910 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags);
1911 batadv_mcast_have_mc_ptype_update(bat_priv, orig, mcast_flags);
1913 orig->mcast_flags = mcast_flags;
1914 spin_unlock_bh(&orig->mcast_handler_lock);
1994 orig_node->orig)) {
2187 * @orig: the originator which is going to get purged
2189 void batadv_mcast_purge_orig(struct batadv_orig_node *orig)
2191 struct batadv_priv *bat_priv = orig->bat_priv;
2193 spin_lock_bh(&orig->mcast_handler_lock);
2195 batadv_mcast_want_unsnoop_update(bat_priv, orig, BATADV_NO_FLAGS);
2196 batadv_mcast_want_ipv4_update(bat_priv, orig, BATADV_NO_FLAGS);
2197 batadv_mcast_want_ipv6_update(bat_priv, orig, BATADV_NO_FLAGS);
2198 batadv_mcast_want_rtr4_update(bat_priv, orig,
2200 batadv_mcast_want_rtr6_update(bat_priv, orig,
2202 batadv_mcast_have_mc_ptype_update(bat_priv, orig,
2205 spin_unlock_bh(&orig->mcast_handler_lock);