Lines Matching defs:orig

1278 	if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) {
1592 * @orig: the orig_node which multicast state might have changed of
1596 * orig, has toggled then this method updates the counter and the list
1599 * Caller needs to hold orig->mcast_handler_lock.
1602 struct batadv_orig_node *orig,
1605 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node;
1608 lockdep_assert_held(&orig->mcast_handler_lock);
1612 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) {
1623 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) {
1638 * @orig: the orig_node which multicast state might have changed of
1641 * If the BATADV_MCAST_WANT_ALL_IPV4 flag of this originator, orig, has
1644 * Caller needs to hold orig->mcast_handler_lock.
1647 struct batadv_orig_node *orig,
1650 struct hlist_node *node = &orig->mcast_want_all_ipv4_node;
1653 lockdep_assert_held(&orig->mcast_handler_lock);
1657 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) {
1668 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) {
1683 * @orig: the orig_node which multicast state might have changed of
1686 * If the BATADV_MCAST_WANT_ALL_IPV6 flag of this originator, orig, has
1689 * Caller needs to hold orig->mcast_handler_lock.
1692 struct batadv_orig_node *orig,
1695 struct hlist_node *node = &orig->mcast_want_all_ipv6_node;
1698 lockdep_assert_held(&orig->mcast_handler_lock);
1702 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) {
1713 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) {
1728 * @orig: the orig_node which multicast state might have changed of
1731 * If the BATADV_MCAST_WANT_NO_RTR4 flag of this originator, orig, has
1734 * Caller needs to hold orig->mcast_handler_lock.
1737 struct batadv_orig_node *orig,
1740 struct hlist_node *node = &orig->mcast_want_all_rtr4_node;
1743 lockdep_assert_held(&orig->mcast_handler_lock);
1747 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4) {
1758 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4)) {
1773 * @orig: the orig_node which multicast state might have changed of
1776 * If the BATADV_MCAST_WANT_NO_RTR6 flag of this originator, orig, has
1779 * Caller needs to hold orig->mcast_handler_lock.
1782 struct batadv_orig_node *orig,
1785 struct hlist_node *node = &orig->mcast_want_all_rtr6_node;
1788 lockdep_assert_held(&orig->mcast_handler_lock);
1792 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6) {
1803 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6)) {
1818 * @orig: the orig_node which multicast state might have changed of
1821 * If the BATADV_MCAST_HAVE_MC_PTYPE_CAPA flag of this originator, orig, has
1825 struct batadv_orig_node *orig,
1828 lockdep_assert_held(&orig->mcast_handler_lock);
1832 orig->mcast_flags & BATADV_MCAST_HAVE_MC_PTYPE_CAPA)
1836 !(orig->mcast_flags & BATADV_MCAST_HAVE_MC_PTYPE_CAPA))
1874 * @orig: the orig_node of the ogm
1880 struct batadv_orig_node *orig,
1891 spin_lock_bh(&orig->mcast_handler_lock);
1894 !test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) {
1895 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities);
1897 test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) {
1898 clear_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities);
1901 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized);
1903 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags);
1904 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags);
1905 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags);
1906 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags);
1907 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags);
1908 batadv_mcast_have_mc_ptype_update(bat_priv, orig, mcast_flags);
1910 orig->mcast_flags = mcast_flags;
1911 spin_unlock_bh(&orig->mcast_handler_lock);
1991 orig_node->orig)) {
2176 * @orig: the originator which is going to get purged
2178 void batadv_mcast_purge_orig(struct batadv_orig_node *orig)
2180 struct batadv_priv *bat_priv = orig->bat_priv;
2182 spin_lock_bh(&orig->mcast_handler_lock);
2184 batadv_mcast_want_unsnoop_update(bat_priv, orig, BATADV_NO_FLAGS);
2185 batadv_mcast_want_ipv4_update(bat_priv, orig, BATADV_NO_FLAGS);
2186 batadv_mcast_want_ipv6_update(bat_priv, orig, BATADV_NO_FLAGS);
2187 batadv_mcast_want_rtr4_update(bat_priv, orig,
2189 batadv_mcast_want_rtr6_update(bat_priv, orig,
2191 batadv_mcast_have_mc_ptype_update(bat_priv, orig,
2194 spin_unlock_bh(&orig->mcast_handler_lock);