Searched refs:tmp_neigh_node (Results 1 – 2 of 2) sorted by relevance
1022 struct batadv_neigh_node *tmp_neigh_node = NULL; in batadv_iv_ogm_orig_update() local1034 hlist_for_each_entry_rcu(tmp_neigh_node, in batadv_iv_ogm_orig_update()1036 neigh_addr = tmp_neigh_node->addr; in batadv_iv_ogm_orig_update()1038 tmp_neigh_node->if_incoming == if_incoming && in batadv_iv_ogm_orig_update()1039 kref_get_unless_zero(&tmp_neigh_node->refcount)) { in batadv_iv_ogm_orig_update()1042 neigh_node = tmp_neigh_node; in batadv_iv_ogm_orig_update()1050 neigh_ifinfo = batadv_neigh_ifinfo_get(tmp_neigh_node, in batadv_iv_ogm_orig_update()1055 spin_lock_bh(&tmp_neigh_node->ifinfo_lock); in batadv_iv_ogm_orig_update()1060 spin_unlock_bh(&tmp_neigh_node->ifinfo_lock); in batadv_iv_ogm_orig_update()1178 struct batadv_neigh_node *neigh_node = NULL, *tmp_neigh_node; in batadv_iv_ogm_calc_tq() local[all …]
490 struct batadv_neigh_node *tmp_neigh_node, *res = NULL; in batadv_neigh_node_get() local493 hlist_for_each_entry_rcu(tmp_neigh_node, &orig_node->neigh_list, list) { in batadv_neigh_node_get()494 if (!batadv_compare_eth(tmp_neigh_node->addr, addr)) in batadv_neigh_node_get()497 if (tmp_neigh_node->if_incoming != hard_iface) in batadv_neigh_node_get()500 if (!kref_get_unless_zero(&tmp_neigh_node->refcount)) in batadv_neigh_node_get()503 res = tmp_neigh_node; in batadv_neigh_node_get()