Home
last modified time | relevance | path

Searched refs:bat_iv (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/batman-adv/
Dbat_iv_ogm.c154 spin_lock_init(&orig_node->bat_iv.ogm_cnt_lock); in batadv_iv_ogm_orig_get()
199 mutex_lock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_enable()
203 atomic_set(&hard_iface->bat_iv.ogm_seqno, random_seqno); in batadv_iv_ogm_iface_enable()
205 hard_iface->bat_iv.ogm_buff_len = BATADV_OGM_HLEN; in batadv_iv_ogm_iface_enable()
206 ogm_buff = kmalloc(hard_iface->bat_iv.ogm_buff_len, GFP_ATOMIC); in batadv_iv_ogm_iface_enable()
208 mutex_unlock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_enable()
212 hard_iface->bat_iv.ogm_buff = ogm_buff; in batadv_iv_ogm_iface_enable()
222 mutex_unlock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_enable()
229 mutex_lock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_disable()
231 kfree(hard_iface->bat_iv.ogm_buff); in batadv_iv_ogm_iface_disable()
[all …]
Dgateway_client.c269 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()
280 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()
800 curr_tq_avg = curr_ifinfo->bat_iv.tq_avg; in batadv_gw_out_of_range()
817 if ((curr_tq_avg - old_ifinfo->bat_iv.tq_avg) > BATADV_GW_THRESHOLD) in batadv_gw_out_of_range()
Dtypes.h218 struct batadv_hard_iface_bat_iv bat_iv; member
281 struct batadv_orig_ifinfo_bat_iv bat_iv; member
539 struct batadv_orig_bat_iv bat_iv; member
734 struct batadv_neigh_ifinfo_bat_iv bat_iv; member
Dnetwork-coding.c1094 tq_tmp = router_neigh_ifinfo->bat_iv.tq_avg; in batadv_nc_code_packets()
1096 tq_tmp = router_coding_ifinfo->bat_iv.tq_avg; in batadv_nc_code_packets()
Dhard-interface.c936 mutex_init(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_hardif_add_interface()