Searched refs:tt_roam_node (Results 1 – 1 of 1) sorted by relevance
3462 struct batadv_tt_roam_node *tt_roam_node; in batadv_tt_check_roam_count() local3469 list_for_each_entry(tt_roam_node, &bat_priv->tt.roam_list, list) { in batadv_tt_check_roam_count()3470 if (!batadv_compare_eth(tt_roam_node->addr, client)) in batadv_tt_check_roam_count()3473 if (batadv_has_timed_out(tt_roam_node->first_time, in batadv_tt_check_roam_count()3477 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_tt_check_roam_count()3485 tt_roam_node = kmem_cache_alloc(batadv_tt_roam_cache, in batadv_tt_check_roam_count()3487 if (!tt_roam_node) in batadv_tt_check_roam_count()3490 tt_roam_node->first_time = jiffies; in batadv_tt_check_roam_count()3491 atomic_set(&tt_roam_node->counter, in batadv_tt_check_roam_count()3493 ether_addr_copy(tt_roam_node->addr, client); in batadv_tt_check_roam_count()[all …]