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()
1076 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_seq_print_text() local
1101 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_local_seq_print_text()
1103 tt_local = container_of(tt_common_entry, in batadv_tt_local_seq_print_text()
1111 no_purge = tt_common_entry->flags & np_flag; in batadv_tt_local_seq_print_text()
1114 tt_common_entry->addr, in batadv_tt_local_seq_print_text()
1115 batadv_print_vid(tt_common_entry->vid), in batadv_tt_local_seq_print_text()
1116 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1119 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1121 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1123 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1125 ((tt_common_entry->flags & in batadv_tt_local_seq_print_text()
1400 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_purge_list() local
1403 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head, in batadv_tt_local_purge_list()
1405 tt_local_entry = container_of(tt_common_entry, in batadv_tt_local_purge_list()
1451 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_local_table_free() local
1467 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_local_table_free()
1469 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1470 tt_local = container_of(tt_common_entry, in batadv_tt_local_table_free()
1895 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_print_entry() local
1901 tt_common_entry = &tt_global_entry->common; in batadv_tt_global_print_entry()
1902 flags = tt_common_entry->flags; in batadv_tt_global_print_entry()
1907 tt_common_entry->vid); in batadv_tt_global_print_entry()
1911 batadv_print_vid(tt_common_entry->vid), in batadv_tt_global_print_entry()
1939 tt_common_entry->vid); in batadv_tt_global_print_entry()
1943 batadv_print_vid(tt_common_entry->vid), in batadv_tt_global_print_entry()
1976 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_seq_print_text() local
1996 hlist_for_each_entry_rcu(tt_common_entry, in batadv_tt_global_seq_print_text()
1998 tt_global = container_of(tt_common_entry, in batadv_tt_global_seq_print_text()
2427 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_del_orig() local
2443 hlist_for_each_entry_safe(tt_common_entry, safe, in batadv_tt_global_del_orig()
2446 if (match_vid >= 0 && tt_common_entry->vid != match_vid) in batadv_tt_global_del_orig()
2449 tt_global = container_of(tt_common_entry, in batadv_tt_global_del_orig()
2462 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_del_orig()
2536 struct batadv_tt_common_entry *tt_common_entry; in batadv_tt_global_table_free() local
2552 hlist_for_each_entry_safe(tt_common_entry, node_tmp, in batadv_tt_global_table_free()
2554 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_global_table_free()
2555 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()