Lines Matching refs:tt_common

2496 	struct batadv_tt_common_entry *tt_common;  in batadv_tt_global_purge()  local
2504 hlist_for_each_entry_safe(tt_common, node_tmp, head, in batadv_tt_global_purge()
2506 tt_global = container_of(tt_common, in batadv_tt_global_purge()
2519 hlist_del_rcu(&tt_common->hash_entry); in batadv_tt_global_purge()
2669 struct batadv_tt_common_entry *tt_common; in batadv_tt_global_crc() local
2680 hlist_for_each_entry_rcu(tt_common, head, hash_entry) { in batadv_tt_global_crc()
2681 tt_global = container_of(tt_common, in batadv_tt_global_crc()
2687 if (tt_common->vid != vid) in batadv_tt_global_crc()
2695 if (tt_common->flags & BATADV_TT_CLIENT_ROAM) in batadv_tt_global_crc()
2701 if (tt_common->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_crc()
2715 tmp_vid = htons(tt_common->vid); in batadv_tt_global_crc()
2724 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_global_crc()
2748 struct batadv_tt_common_entry *tt_common; in batadv_tt_local_crc() local
2758 hlist_for_each_entry_rcu(tt_common, head, hash_entry) { in batadv_tt_local_crc()
2762 if (tt_common->vid != vid) in batadv_tt_local_crc()
2768 if (tt_common->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_crc()
2774 tmp_vid = htons(tt_common->vid); in batadv_tt_local_crc()
2780 flags = tt_common->flags & BATADV_TT_SYNC_MASK; in batadv_tt_local_crc()
2783 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_local_crc()
3871 struct batadv_tt_common_entry *tt_common; in batadv_tt_local_purge_pending_clients() local
3886 hlist_for_each_entry_safe(tt_common, node_tmp, head, in batadv_tt_local_purge_pending_clients()
3888 if (!(tt_common->flags & BATADV_TT_CLIENT_PENDING)) in batadv_tt_local_purge_pending_clients()
3893 tt_common->addr, in batadv_tt_local_purge_pending_clients()
3894 batadv_print_vid(tt_common->vid)); in batadv_tt_local_purge_pending_clients()
3896 batadv_tt_local_size_dec(bat_priv, tt_common->vid); in batadv_tt_local_purge_pending_clients()
3897 hlist_del_rcu(&tt_common->hash_entry); in batadv_tt_local_purge_pending_clients()
3898 tt_local = container_of(tt_common, in batadv_tt_local_purge_pending_clients()