Searched refs:bat_iv (Results 1 – 5 of 5) sorted by relevance
153 spin_lock_init(&orig_node->bat_iv.ogm_cnt_lock); in batadv_iv_ogm_orig_get()198 mutex_lock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_enable()202 atomic_set(&hard_iface->bat_iv.ogm_seqno, random_seqno); in batadv_iv_ogm_iface_enable()204 hard_iface->bat_iv.ogm_buff_len = BATADV_OGM_HLEN; in batadv_iv_ogm_iface_enable()205 ogm_buff = kmalloc(hard_iface->bat_iv.ogm_buff_len, GFP_ATOMIC); in batadv_iv_ogm_iface_enable()207 mutex_unlock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_enable()211 hard_iface->bat_iv.ogm_buff = ogm_buff; in batadv_iv_ogm_iface_enable()221 mutex_unlock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_enable()228 mutex_lock(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_iv_ogm_iface_disable()230 kfree(hard_iface->bat_iv.ogm_buff); in batadv_iv_ogm_iface_disable()[all …]
256 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()267 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()740 curr_tq_avg = curr_ifinfo->bat_iv.tq_avg; in batadv_gw_out_of_range()757 if ((curr_tq_avg - old_ifinfo->bat_iv.tq_avg) > BATADV_GW_THRESHOLD) in batadv_gw_out_of_range()
214 struct batadv_hard_iface_bat_iv bat_iv; member271 struct batadv_orig_ifinfo_bat_iv bat_iv; member529 struct batadv_orig_bat_iv bat_iv; member724 struct batadv_neigh_ifinfo_bat_iv bat_iv; member
1095 tq_tmp = router_neigh_ifinfo->bat_iv.tq_avg; in batadv_nc_code_packets()1097 tq_tmp = router_coding_ifinfo->bat_iv.tq_avg; in batadv_nc_code_packets()
881 mutex_init(&hard_iface->bat_iv.ogm_buff_mutex); in batadv_hardif_add_interface()