Lines Matching refs:tt_common
2272 struct batadv_tt_common_entry *tt_common; in batadv_tt_global_purge() local
2280 hlist_for_each_entry_safe(tt_common, node_tmp, head, in batadv_tt_global_purge()
2282 tt_global = container_of(tt_common, in batadv_tt_global_purge()
2295 hlist_del_rcu(&tt_common->hash_entry); in batadv_tt_global_purge()
2443 struct batadv_tt_common_entry *tt_common; in batadv_tt_global_crc() local
2454 hlist_for_each_entry_rcu(tt_common, head, hash_entry) { in batadv_tt_global_crc()
2455 tt_global = container_of(tt_common, in batadv_tt_global_crc()
2461 if (tt_common->vid != vid) in batadv_tt_global_crc()
2469 if (tt_common->flags & BATADV_TT_CLIENT_ROAM) in batadv_tt_global_crc()
2475 if (tt_common->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_crc()
2489 tmp_vid = htons(tt_common->vid); in batadv_tt_global_crc()
2498 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_global_crc()
2522 struct batadv_tt_common_entry *tt_common; in batadv_tt_local_crc() local
2532 hlist_for_each_entry_rcu(tt_common, head, hash_entry) { in batadv_tt_local_crc()
2536 if (tt_common->vid != vid) in batadv_tt_local_crc()
2542 if (tt_common->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_crc()
2548 tmp_vid = htons(tt_common->vid); in batadv_tt_local_crc()
2554 flags = tt_common->flags & BATADV_TT_SYNC_MASK; in batadv_tt_local_crc()
2557 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_local_crc()
3640 struct batadv_tt_common_entry *tt_common; in batadv_tt_local_purge_pending_clients() local
3655 hlist_for_each_entry_safe(tt_common, node_tmp, head, in batadv_tt_local_purge_pending_clients()
3657 if (!(tt_common->flags & BATADV_TT_CLIENT_PENDING)) in batadv_tt_local_purge_pending_clients()
3662 tt_common->addr, in batadv_tt_local_purge_pending_clients()
3663 batadv_print_vid(tt_common->vid)); in batadv_tt_local_purge_pending_clients()
3665 batadv_tt_local_size_dec(bat_priv, tt_common->vid); in batadv_tt_local_purge_pending_clients()
3666 hlist_del_rcu(&tt_common->hash_entry); in batadv_tt_local_purge_pending_clients()
3667 tt_local = container_of(tt_common, in batadv_tt_local_purge_pending_clients()