Lines Matching refs:tt_common_entry
80 * @data2: pointer to the tt_common_entry of the second TT entry
98 * @data: pointer to the tt_common_entry object to map
174 struct batadv_tt_common_entry *tt_common_entry;
177 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.local_hash, addr,
179 if (tt_common_entry)
180 tt_local_entry = container_of(tt_common_entry,
199 struct batadv_tt_common_entry *tt_common_entry;
202 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.global_hash, addr,
204 if (tt_common_entry)
205 tt_global_entry = container_of(tt_common_entry,
1313 struct batadv_tt_common_entry *tt_common_entry;
1316 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head,
1318 tt_local_entry = container_of(tt_common_entry,
1364 struct batadv_tt_common_entry *tt_common_entry;
1380 hlist_for_each_entry_safe(tt_common_entry, node_tmp,
1382 hlist_del_rcu(&tt_common_entry->hash_entry);
1383 tt_local = container_of(tt_common_entry,
2198 struct batadv_tt_common_entry *tt_common_entry;
2214 hlist_for_each_entry_safe(tt_common_entry, safe,
2217 if (match_vid >= 0 && tt_common_entry->vid != match_vid)
2220 tt_global = container_of(tt_common_entry,
2233 hlist_del_rcu(&tt_common_entry->hash_entry);
2307 struct batadv_tt_common_entry *tt_common_entry;
2323 hlist_for_each_entry_safe(tt_common_entry, node_tmp,
2325 hlist_del_rcu(&tt_common_entry->hash_entry);
2326 tt_global = container_of(tt_common_entry,
2695 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr;
2697 if (tt_common_entry->flags & BATADV_TT_CLIENT_NEW)
2701 *flags = tt_common_entry->flags;
2722 const struct batadv_tt_common_entry *tt_common_entry = entry_ptr;
2726 if (tt_common_entry->flags & BATADV_TT_CLIENT_ROAM ||
2727 tt_common_entry->flags & BATADV_TT_CLIENT_TEMP)
2730 tt_global_entry = container_of(tt_common_entry,
2759 struct batadv_tt_common_entry *tt_common_entry;
2777 hlist_for_each_entry_rcu(tt_common_entry,
2782 ret = valid_cb(tt_common_entry, cb_data, &flags);
2786 ether_addr_copy(tt_change->addr, tt_common_entry->addr);
2788 tt_change->vid = htons(tt_common_entry->vid);
3603 struct batadv_tt_common_entry *tt_common_entry;
3614 hlist_for_each_entry_rcu(tt_common_entry,
3617 if ((tt_common_entry->flags & flags) == flags)
3619 tt_common_entry->flags |= flags;
3621 if (!(tt_common_entry->flags & flags))
3623 tt_common_entry->flags &= ~flags;
3630 tt_common_entry->vid);