Lines Matching refs:list
29 #include <linux/list.h>
218 list_for_each_entry_safe(br_ip_entry, tmp, &bridge_mcast_list, list) {
227 list_del(&br_ip_entry->list);
336 * batadv_mcast_mla_is_duplicate() - check whether an address is in a list
338 * @mcast_list: the list with multicast addresses to search in
340 * Return: true if the given address is already in the given list.
348 hlist_for_each_entry(mcast_entry, mcast_list, list)
358 * @mcast_list: a list to put found addresses into
413 hlist_add_head(&new->list, mcast_list);
424 * @mcast_list: a list to put found addresses into
485 hlist_add_head(&new->list, mcast_list);
506 * @mcast_list: a list to put found addresses into
577 * @mcast_list: a list to put found addresses into
606 list_for_each_entry(br_ip_entry, &bridge_mcast_list, list) {
647 hlist_add_head(&new->list, mcast_list);
651 list_for_each_entry_safe(br_ip_entry, tmp, &bridge_mcast_list, list) {
652 list_del(&br_ip_entry->list);
660 * batadv_mcast_mla_list_free() - free a list of multicast addresses
661 * @mcast_list: the list to free
670 hlist_for_each_entry_safe(mcast_entry, tmp, mcast_list, list) {
671 hlist_del(&mcast_entry->list);
679 * @mcast_list: a list of addresses which should _not_ be removed
693 list) {
703 hlist_del(&mcast_entry->list);
711 * @mcast_list: a list of addresses which are going to get added
725 hlist_for_each_entry_safe(mcast_entry, tmp, mcast_list, list) {
735 hlist_del(&mcast_entry->list);
736 hlist_add_head(&mcast_entry->list, &bat_priv->mcast.mla_list);
1497 hlist_for_each_entry_rcu(orig_entry, &tt_global->orig_list, list) {
1590 * batadv_mcast_forw_want_all() - forward packet to nodes in a want-all list
1693 * batadv_mcast_forw_want_rtr() - forward packet to nodes in a want-all-rtr list
1770 * batadv_mcast_want_unsnoop_update() - update unsnoop counter and list
1776 * orig, has toggled then this method updates the counter and the list
1816 * batadv_mcast_want_ipv4_update() - update want-all-ipv4 counter and list
1822 * toggled then this method updates the counter and the list accordingly.
1861 * batadv_mcast_want_ipv6_update() - update want-all-ipv6 counter and list
1867 * toggled then this method updates the counter and the list accordingly.
1906 * batadv_mcast_want_rtr4_update() - update want-all-rtr4 counter and list
1912 * toggled then this method updates the counter and the list accordingly.
1951 * batadv_mcast_want_rtr6_update() - update want-all-rtr6 counter and list
1957 * toggled then this method updates the counter and the list accordingly.