• Home
  • Raw
  • Download

Lines Matching refs:orig

893 		       struct batadv_orig_node **orig)  in batadv_mcast_forw_mode()  argument
918 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
920 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
922 *orig = batadv_mcast_forw_unsnoop_node_get(bat_priv); in batadv_mcast_forw_mode()
924 if (*orig) in batadv_mcast_forw_mode()
947 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument
950 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; in batadv_mcast_want_unsnoop_update()
953 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_unsnoop_update()
957 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update()
968 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update()
992 struct batadv_orig_node *orig, in batadv_mcast_want_ipv4_update() argument
995 struct hlist_node *node = &orig->mcast_want_all_ipv4_node; in batadv_mcast_want_ipv4_update()
998 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_ipv4_update()
1002 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_update()
1013 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) { in batadv_mcast_want_ipv4_update()
1037 struct batadv_orig_node *orig, in batadv_mcast_want_ipv6_update() argument
1040 struct hlist_node *node = &orig->mcast_want_all_ipv6_node; in batadv_mcast_want_ipv6_update()
1043 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_ipv6_update()
1047 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) { in batadv_mcast_want_ipv6_update()
1058 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) { in batadv_mcast_want_ipv6_update()
1079 struct batadv_orig_node *orig, in batadv_mcast_tvlv_ogm_handler() argument
1092 spin_lock_bh(&orig->mcast_handler_lock); in batadv_mcast_tvlv_ogm_handler()
1094 &orig->capa_initialized); in batadv_mcast_tvlv_ogm_handler()
1101 !test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) { in batadv_mcast_tvlv_ogm_handler()
1104 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities); in batadv_mcast_tvlv_ogm_handler()
1110 (test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities) || in batadv_mcast_tvlv_ogm_handler()
1113 clear_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities); in batadv_mcast_tvlv_ogm_handler()
1116 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized); in batadv_mcast_tvlv_ogm_handler()
1118 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
1119 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
1120 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
1122 orig->mcast_flags = mcast_flags; in batadv_mcast_tvlv_ogm_handler()
1123 spin_unlock_bh(&orig->mcast_handler_lock); in batadv_mcast_tvlv_ogm_handler()
1217 seq_printf(seq, "%pM -\n", orig_node->orig); in batadv_mcast_flags_seq_print_text()
1223 seq_printf(seq, "%pM [%c%c%c]\n", orig_node->orig, in batadv_mcast_flags_seq_print_text()
1258 void batadv_mcast_purge_orig(struct batadv_orig_node *orig) in batadv_mcast_purge_orig() argument
1260 struct batadv_priv *bat_priv = orig->bat_priv; in batadv_mcast_purge_orig()
1262 spin_lock_bh(&orig->mcast_handler_lock); in batadv_mcast_purge_orig()
1264 if (!test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities) && in batadv_mcast_purge_orig()
1265 test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized)) in batadv_mcast_purge_orig()
1268 batadv_mcast_want_unsnoop_update(bat_priv, orig, BATADV_NO_FLAGS); in batadv_mcast_purge_orig()
1269 batadv_mcast_want_ipv4_update(bat_priv, orig, BATADV_NO_FLAGS); in batadv_mcast_purge_orig()
1270 batadv_mcast_want_ipv6_update(bat_priv, orig, BATADV_NO_FLAGS); in batadv_mcast_purge_orig()
1272 spin_unlock_bh(&orig->mcast_handler_lock); in batadv_mcast_purge_orig()