Searched refs:tt_roam_node (Results 1 – 1 of 1) sorted by relevance
3701 struct batadv_tt_roam_node *tt_roam_node; in batadv_tt_check_roam_count() local3708 list_for_each_entry(tt_roam_node, &bat_priv->tt.roam_list, list) { in batadv_tt_check_roam_count()3709 if (!batadv_compare_eth(tt_roam_node->addr, client)) in batadv_tt_check_roam_count()3712 if (batadv_has_timed_out(tt_roam_node->first_time, in batadv_tt_check_roam_count()3716 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_tt_check_roam_count()3724 tt_roam_node = kmem_cache_alloc(batadv_tt_roam_cache, in batadv_tt_check_roam_count()3726 if (!tt_roam_node) in batadv_tt_check_roam_count()3729 tt_roam_node->first_time = jiffies; in batadv_tt_check_roam_count()3730 atomic_set(&tt_roam_node->counter, in batadv_tt_check_roam_count()3732 ether_addr_copy(tt_roam_node->addr, client); in batadv_tt_check_roam_count()[all …]