Lines Matching refs:tt_common
2273 struct batadv_tt_common_entry *tt_common; in batadv_tt_global_purge() local
2281 hlist_for_each_entry_safe(tt_common, node_tmp, head, in batadv_tt_global_purge()
2283 tt_global = container_of(tt_common, in batadv_tt_global_purge()
2296 hlist_del_rcu(&tt_common->hash_entry); in batadv_tt_global_purge()
2444 struct batadv_tt_common_entry *tt_common; in batadv_tt_global_crc() local
2455 hlist_for_each_entry_rcu(tt_common, head, hash_entry) { in batadv_tt_global_crc()
2456 tt_global = container_of(tt_common, in batadv_tt_global_crc()
2462 if (tt_common->vid != vid) in batadv_tt_global_crc()
2470 if (tt_common->flags & BATADV_TT_CLIENT_ROAM) in batadv_tt_global_crc()
2476 if (tt_common->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_crc()
2490 tmp_vid = htons(tt_common->vid); in batadv_tt_global_crc()
2499 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_global_crc()
2523 struct batadv_tt_common_entry *tt_common; in batadv_tt_local_crc() local
2533 hlist_for_each_entry_rcu(tt_common, head, hash_entry) { in batadv_tt_local_crc()
2537 if (tt_common->vid != vid) in batadv_tt_local_crc()
2543 if (tt_common->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_crc()
2549 tmp_vid = htons(tt_common->vid); in batadv_tt_local_crc()
2555 flags = tt_common->flags & BATADV_TT_SYNC_MASK; in batadv_tt_local_crc()
2558 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_local_crc()
3641 struct batadv_tt_common_entry *tt_common; in batadv_tt_local_purge_pending_clients() local
3656 hlist_for_each_entry_safe(tt_common, node_tmp, head, in batadv_tt_local_purge_pending_clients()
3658 if (!(tt_common->flags & BATADV_TT_CLIENT_PENDING)) in batadv_tt_local_purge_pending_clients()
3663 tt_common->addr, in batadv_tt_local_purge_pending_clients()
3664 batadv_print_vid(tt_common->vid)); in batadv_tt_local_purge_pending_clients()
3666 batadv_tt_local_size_dec(bat_priv, tt_common->vid); in batadv_tt_local_purge_pending_clients()
3667 hlist_del_rcu(&tt_common->hash_entry); in batadv_tt_local_purge_pending_clients()
3668 tt_local = container_of(tt_common, in batadv_tt_local_purge_pending_clients()