Lines Matching refs:tt_common_entry
175 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_hash_find() local
178 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.local_hash, addr, in batadv_tt_local_hash_find()
180 if (tt_common_entry) in batadv_tt_local_hash_find()
181 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_hash_find()
200 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_hash_find() local
203 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.global_hash, addr, in batadv_tt_global_hash_find()
205 if (tt_common_entry) in batadv_tt_global_hash_find()
206 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_hash_find()
1079 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_seq_print_text() local
1104 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_seq_print_text()
1106 tt_local = container_of(tt_common_entry, in batadv_tt_local_seq_print_text()
1114 no_purge = tt_common_entry->flags & np_flag; in batadv_tt_local_seq_print_text()
1117 tt_common_entry->addr, in batadv_tt_local_seq_print_text()
1118 batadv_print_vid(tt_common_entry->vid), in batadv_tt_local_seq_print_text()
1119 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1122 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1124 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1126 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1128 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1403 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_purge_list() local
1406 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head, in batadv_tt_local_purge_list()
1408 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_purge_list()
1454 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_table_free() local
1470 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_local_table_free()
1472 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1473 tt_local = container_of(tt_common_entry, in batadv_tt_local_table_free()
1898 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_print_entry() local
1904 tt_common_entry = &tt_global_entry->common; in batadv_tt_global_print_entry()
1905 flags = tt_common_entry->flags; in batadv_tt_global_print_entry()
1910 tt_common_entry->vid); in batadv_tt_global_print_entry()
1914 batadv_print_vid(tt_common_entry->vid), in batadv_tt_global_print_entry()
1942 tt_common_entry->vid); in batadv_tt_global_print_entry()
1946 batadv_print_vid(tt_common_entry->vid), in batadv_tt_global_print_entry()
1979 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_seq_print_text() local
1999 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_global_seq_print_text()
2001 tt_global = container_of(tt_common_entry, in batadv_tt_global_seq_print_text()
2430 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_del_orig() local
2446 hlist_for_each_entry_safe(tt_common_entry, safe, in batadv_tt_global_del_orig()
2449 if (match_vid >= 0 && tt_common_entry->vid != match_vid) in batadv_tt_global_del_orig()
2452 tt_global = container_of(tt_common_entry, in batadv_tt_global_del_orig()
2465 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_del_orig()
2539 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_table_free() local
2555 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_global_table_free()
2557 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_table_free()
2558 tt_global = container_of(tt_common_entry, in batadv_tt_global_table_free()
2926 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_local_valid() local
2928 if (tt_common_entry->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_valid()
2932 *flags = tt_common_entry->flags; in batadv_tt_local_valid()
2953 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_global_valid() local
2957 if (tt_common_entry->flags & BATADV_TT_CLIENT_ROAM || in batadv_tt_global_valid()
2958 tt_common_entry->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_valid()
2961 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_valid()
2990 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_tvlv_generate() local
3008 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_tvlv_generate()
3013 ret = valid_cb(tt_common_entry, cb_data, &flags); in batadv_tt_tvlv_generate()
3017 ether_addr_copy(tt_change->addr, tt_common_entry->addr); in batadv_tt_tvlv_generate()
3019 tt_change->vid = htons(tt_common_entry->vid); in batadv_tt_tvlv_generate()
3844 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_set_flags() local
3855 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_set_flags()
3858 if ((tt_common_entry->flags & flags) == flags) in batadv_tt_local_set_flags()
3860 tt_common_entry->flags |= flags; in batadv_tt_local_set_flags()
3862 if (!(tt_common_entry->flags & flags)) in batadv_tt_local_set_flags()
3864 tt_common_entry->flags &= ~flags; in batadv_tt_local_set_flags()
3871 tt_common_entry->vid); in batadv_tt_local_set_flags()