Searched refs:tt (Results 1 – 6 of 6) sorted by relevance
/net/batman-adv/ |
D | translation-table.c | 92 struct batadv_tt_common_entry *tt; in batadv_choose_tt() local 95 tt = (struct batadv_tt_common_entry *)data; in batadv_choose_tt() 96 hash = jhash(&tt->addr, ETH_ALEN, hash); in batadv_choose_tt() 97 hash = jhash(&tt->vid, sizeof(tt->vid), hash); in batadv_choose_tt() 116 struct batadv_tt_common_entry to_search, *tt, *tt_tmp = NULL; in batadv_tt_hash_find() local 129 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find() 130 if (!batadv_compare_eth(tt, addr)) in batadv_tt_hash_find() 133 if (tt->vid != vid) in batadv_tt_hash_find() 136 if (!atomic_inc_not_zero(&tt->refcount)) in batadv_tt_hash_find() 139 tt_tmp = tt; in batadv_tt_hash_find() [all …]
|
D | main.c | 130 spin_lock_init(&bat_priv->tt.changes_list_lock); in batadv_mesh_init() 131 spin_lock_init(&bat_priv->tt.req_list_lock); in batadv_mesh_init() 132 spin_lock_init(&bat_priv->tt.roam_list_lock); in batadv_mesh_init() 133 spin_lock_init(&bat_priv->tt.last_changeset_lock); in batadv_mesh_init() 134 spin_lock_init(&bat_priv->tt.commit_lock); in batadv_mesh_init() 151 INIT_LIST_HEAD(&bat_priv->tt.changes_list); in batadv_mesh_init() 152 INIT_HLIST_HEAD(&bat_priv->tt.req_list); in batadv_mesh_init() 153 INIT_LIST_HEAD(&bat_priv->tt.roam_list); in batadv_mesh_init()
|
D | soft-interface.c | 811 atomic_set(&bat_priv->tt.vn, 0); in batadv_softif_init_late() 812 atomic_set(&bat_priv->tt.local_changes, 0); in batadv_softif_init_late() 813 atomic_set(&bat_priv->tt.ogm_append_cnt, 0); in batadv_softif_init_late() 817 bat_priv->tt.last_changeset = NULL; in batadv_softif_init_late() 818 bat_priv->tt.last_changeset_len = 0; in batadv_softif_init_late()
|
D | types.h | 194 struct batadv_vlan_tt tt; member 724 struct batadv_vlan_tt tt; member 834 struct batadv_priv_tt tt; member
|
D | multicast.c | 120 lockdep_assert_held(&bat_priv->tt.commit_lock); in batadv_mcast_mla_list_free() 144 lockdep_assert_held(&bat_priv->tt.commit_lock); in batadv_mcast_mla_tt_retract() 176 lockdep_assert_held(&bat_priv->tt.commit_lock); in batadv_mcast_mla_tt_add()
|
D | routing.c | 733 orig_ttvn = (u8)atomic_read(&bat_priv->tt.vn); in batadv_reroute_unicast_packet() 814 curr_ttvn = (u8)atomic_read(&bat_priv->tt.vn); in batadv_check_unicast_ttvn()
|