Lines Matching refs:tt_common_entry

139 	struct batadv_tt_common_entry *tt_common_entry;  in batadv_tt_local_hash_find()  local
142 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.local_hash, addr, in batadv_tt_local_hash_find()
144 if (tt_common_entry) in batadv_tt_local_hash_find()
145 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_hash_find()
164 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_hash_find() local
167 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.global_hash, addr, in batadv_tt_global_hash_find()
169 if (tt_common_entry) in batadv_tt_global_hash_find()
170 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_hash_find()
908 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_seq_print_text() local
935 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_seq_print_text()
937 tt_local = container_of(tt_common_entry, in batadv_tt_local_seq_print_text()
940 vid = tt_common_entry->vid; in batadv_tt_local_seq_print_text()
946 no_purge = tt_common_entry->flags & np_flag; in batadv_tt_local_seq_print_text()
957 tt_common_entry->addr, in batadv_tt_local_seq_print_text()
958 BATADV_PRINT_VID(tt_common_entry->vid), in batadv_tt_local_seq_print_text()
959 (tt_common_entry->flags & in batadv_tt_local_seq_print_text()
962 (tt_common_entry->flags & in batadv_tt_local_seq_print_text()
964 (tt_common_entry->flags & in batadv_tt_local_seq_print_text()
966 (tt_common_entry->flags & in batadv_tt_local_seq_print_text()
968 (tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1086 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_purge_list() local
1089 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head, in batadv_tt_local_purge_list()
1091 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_purge_list()
1137 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_table_free() local
1154 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_local_table_free()
1156 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1157 tt_local = container_of(tt_common_entry, in batadv_tt_local_table_free()
1163 tt_common_entry->vid); in batadv_tt_local_table_free()
1519 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_print_entry() local
1525 tt_common_entry = &tt_global_entry->common; in batadv_tt_global_print_entry()
1526 flags = tt_common_entry->flags; in batadv_tt_global_print_entry()
1531 tt_common_entry->vid); in batadv_tt_global_print_entry()
1535 BATADV_PRINT_VID(tt_common_entry->vid), in batadv_tt_global_print_entry()
1563 tt_common_entry->vid); in batadv_tt_global_print_entry()
1567 BATADV_PRINT_VID(tt_common_entry->vid), in batadv_tt_global_print_entry()
1593 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_seq_print_text() local
1614 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_global_seq_print_text()
1616 tt_global = container_of(tt_common_entry, in batadv_tt_global_seq_print_text()
1821 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_del_orig() local
1837 hlist_for_each_entry_safe(tt_common_entry, safe, in batadv_tt_global_del_orig()
1840 if (match_vid >= 0 && tt_common_entry->vid != match_vid) in batadv_tt_global_del_orig()
1843 tt_global = container_of(tt_common_entry, in batadv_tt_global_del_orig()
1856 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_del_orig()
1930 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_table_free() local
1946 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_global_table_free()
1948 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_table_free()
1949 tt_global = container_of(tt_common_entry, in batadv_tt_global_table_free()
2277 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_local_valid() local
2279 if (tt_common_entry->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_valid()
2287 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_global_valid() local
2291 if (tt_common_entry->flags & BATADV_TT_CLIENT_ROAM || in batadv_tt_global_valid()
2292 tt_common_entry->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_valid()
2295 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_valid()
2318 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_tvlv_generate() local
2331 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_tvlv_generate()
2336 if ((valid_cb) && (!valid_cb(tt_common_entry, cb_data))) in batadv_tt_tvlv_generate()
2339 ether_addr_copy(tt_change->addr, tt_common_entry->addr); in batadv_tt_tvlv_generate()
2340 tt_change->flags = tt_common_entry->flags; in batadv_tt_tvlv_generate()
2341 tt_change->vid = htons(tt_common_entry->vid); in batadv_tt_tvlv_generate()
3134 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_set_flags() local
3146 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_set_flags()
3149 if ((tt_common_entry->flags & flags) == flags) in batadv_tt_local_set_flags()
3151 tt_common_entry->flags |= flags; in batadv_tt_local_set_flags()
3153 if (!(tt_common_entry->flags & flags)) in batadv_tt_local_set_flags()
3155 tt_common_entry->flags &= ~flags; in batadv_tt_local_set_flags()
3163 tt_common_entry->vid); in batadv_tt_local_set_flags()