Lines Matching refs:tmp_neigh_node
926 struct batadv_neigh_node *tmp_neigh_node = NULL; in batadv_iv_ogm_orig_update() local
937 hlist_for_each_entry_rcu(tmp_neigh_node, in batadv_iv_ogm_orig_update()
939 neigh_addr = tmp_neigh_node->addr; in batadv_iv_ogm_orig_update()
941 tmp_neigh_node->if_incoming == if_incoming && in batadv_iv_ogm_orig_update()
942 kref_get_unless_zero(&tmp_neigh_node->refcount)) { in batadv_iv_ogm_orig_update()
945 neigh_node = tmp_neigh_node; in batadv_iv_ogm_orig_update()
953 neigh_ifinfo = batadv_neigh_ifinfo_get(tmp_neigh_node, in batadv_iv_ogm_orig_update()
958 spin_lock_bh(&tmp_neigh_node->ifinfo_lock); in batadv_iv_ogm_orig_update()
963 spin_unlock_bh(&tmp_neigh_node->ifinfo_lock); in batadv_iv_ogm_orig_update()
1069 struct batadv_neigh_node *neigh_node = NULL, *tmp_neigh_node; in batadv_iv_ogm_calc_tq() local
1081 hlist_for_each_entry_rcu(tmp_neigh_node, in batadv_iv_ogm_calc_tq()
1083 if (!batadv_compare_eth(tmp_neigh_node->addr, in batadv_iv_ogm_calc_tq()
1087 if (tmp_neigh_node->if_incoming != if_incoming) in batadv_iv_ogm_calc_tq()
1090 if (!kref_get_unless_zero(&tmp_neigh_node->refcount)) in batadv_iv_ogm_calc_tq()
1093 neigh_node = tmp_neigh_node; in batadv_iv_ogm_calc_tq()