Lines Matching refs:tt_common_entry

174 	struct batadv_tt_common_entry *tt_common_entry;  in batadv_tt_local_hash_find()  local
177 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.local_hash, addr, in batadv_tt_local_hash_find()
179 if (tt_common_entry) in batadv_tt_local_hash_find()
180 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_hash_find()
199 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_hash_find() local
202 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.global_hash, addr, in batadv_tt_global_hash_find()
204 if (tt_common_entry) in batadv_tt_global_hash_find()
205 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_hash_find()
1313 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_purge_list() local
1316 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head, in batadv_tt_local_purge_list()
1318 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_purge_list()
1364 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_table_free() local
1380 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_local_table_free()
1382 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1383 tt_local = container_of(tt_common_entry, in batadv_tt_local_table_free()
2198 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_del_orig() local
2214 hlist_for_each_entry_safe(tt_common_entry, safe, in batadv_tt_global_del_orig()
2217 if (match_vid >= 0 && tt_common_entry->vid != match_vid) in batadv_tt_global_del_orig()
2220 tt_global = container_of(tt_common_entry, in batadv_tt_global_del_orig()
2233 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_del_orig()
2307 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_table_free() local
2323 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_global_table_free()
2325 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_table_free()
2326 tt_global = container_of(tt_common_entry, in batadv_tt_global_table_free()
2695 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_local_valid() local
2697 if (tt_common_entry->flags & BATADV_TT_CLIENT_NEW) in batadv_tt_local_valid()
2701 *flags = tt_common_entry->flags; in batadv_tt_local_valid()
2722 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr; in batadv_tt_global_valid() local
2726 if (tt_common_entry->flags & BATADV_TT_CLIENT_ROAM || in batadv_tt_global_valid()
2727 tt_common_entry->flags & BATADV_TT_CLIENT_TEMP) in batadv_tt_global_valid()
2730 tt_global_entry = container_of(tt_common_entry, in batadv_tt_global_valid()
2759 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_tvlv_generate() local
2777 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_tvlv_generate()
2782 ret = valid_cb(tt_common_entry, cb_data, &flags); in batadv_tt_tvlv_generate()
2786 ether_addr_copy(tt_change->addr, tt_common_entry->addr); in batadv_tt_tvlv_generate()
2788 tt_change->vid = htons(tt_common_entry->vid); in batadv_tt_tvlv_generate()
3603 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_set_flags() local
3614 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_set_flags()
3617 if ((tt_common_entry->flags & flags) == flags) in batadv_tt_local_set_flags()
3619 tt_common_entry->flags |= flags; in batadv_tt_local_set_flags()
3621 if (!(tt_common_entry->flags & flags)) in batadv_tt_local_set_flags()
3623 tt_common_entry->flags &= ~flags; in batadv_tt_local_set_flags()
3630 tt_common_entry->vid); in batadv_tt_local_set_flags()