Lines Matching refs:tt_common_entry

160 	struct batadv_tt_common_entry *tt_common_entry;  in batadv_tt_local_hash_find()  local
163 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.local_hash, addr, in batadv_tt_local_hash_find()
165 if (tt_common_entry) in batadv_tt_local_hash_find()
166 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_hash_find()
185 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_hash_find() local
188 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.global_hash, addr, in batadv_tt_global_hash_find()
190 if (tt_common_entry) in batadv_tt_global_hash_find()
191 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_hash_find()
940 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_seq_print_text() local
967 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_seq_print_text()
969 tt_local = container_of(tt_common_entry, in batadv_tt_local_seq_print_text()
972 vid = tt_common_entry->vid; in batadv_tt_local_seq_print_text()
978 no_purge = tt_common_entry->flags & np_flag; in batadv_tt_local_seq_print_text()
989 tt_common_entry->addr, in batadv_tt_local_seq_print_text()
990 BATADV_PRINT_VID(tt_common_entry->vid), in batadv_tt_local_seq_print_text()
991 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
994 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
996 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
998 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1000 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1118 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_purge_list() local
1121 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head, in batadv_tt_local_purge_list()
1123 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_purge_list()
1169 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_table_free() local
1186 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_local_table_free()
1188 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1189 tt_local = container_of(tt_common_entry, in batadv_tt_local_table_free()
1195 tt_common_entry->vid); in batadv_tt_local_table_free()
1556 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_print_entry() local
1562 tt_common_entry = &tt_global_entry->common; in batadv_tt_global_print_entry()
1563 flags = tt_common_entry->flags; in batadv_tt_global_print_entry()
1568 tt_common_entry->vid); in batadv_tt_global_print_entry()
1572 BATADV_PRINT_VID(tt_common_entry->vid), in batadv_tt_global_print_entry()
1600 tt_common_entry->vid); in batadv_tt_global_print_entry()
1604 BATADV_PRINT_VID(tt_common_entry->vid), in batadv_tt_global_print_entry()
1630 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_seq_print_text() local
1651 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_global_seq_print_text()
1653 tt_global = container_of(tt_common_entry, in batadv_tt_global_seq_print_text()
1866 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_del_orig() local
1882 hlist_for_each_entry_safe(tt_common_entry, safe, in batadv_tt_global_del_orig()
1885 if (match_vid >= 0 && tt_common_entry->vid != match_vid) in batadv_tt_global_del_orig()
1888 tt_global = container_of(tt_common_entry, in batadv_tt_global_del_orig()
1901 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_del_orig()
1975 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_table_free() local
1991 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_global_table_free()
1993 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_table_free()
1994 tt_global = container_of(tt_common_entry, in batadv_tt_global_table_free()
2329 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_local_valid() local
2331 if (tt_common_entry->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_valid()
2339 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_global_valid() local
2343 if (tt_common_entry->flags & BATADV_TT_CLIENT_ROAM || in batadv_tt_global_valid()
2344 tt_common_entry->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_valid()
2347 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_valid()
2370 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_tvlv_generate() local
2383 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_tvlv_generate()
2388 if ((valid_cb) && (!valid_cb(tt_common_entry, cb_data))) in batadv_tt_tvlv_generate()
2391 ether_addr_copy(tt_change->addr, tt_common_entry->addr); in batadv_tt_tvlv_generate()
2392 tt_change->flags = tt_common_entry->flags; in batadv_tt_tvlv_generate()
2393 tt_change->vid = htons(tt_common_entry->vid); in batadv_tt_tvlv_generate()
3187 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_set_flags() local
3199 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_set_flags()
3202 if ((tt_common_entry->flags & flags) == flags) in batadv_tt_local_set_flags()
3204 tt_common_entry->flags |= flags; in batadv_tt_local_set_flags()
3206 if (!(tt_common_entry->flags & flags)) in batadv_tt_local_set_flags()
3208 tt_common_entry->flags &= ~flags; in batadv_tt_local_set_flags()
3216 tt_common_entry->vid); in batadv_tt_local_set_flags()