Searched refs:bat_v (Results 1 – 6 of 6) sorted by relevance
| /linux/net/batman-adv/ |
| H A D | bat_v_ogm.c | 93 queue_delayed_work(batadv_event_workqueue, &hard_iface->bat_v.aggr_wq, in batadv_v_ogm_start_queue_timer() 108 if (delayed_work_pending(&bat_priv->bat_v.ogm_wq)) in batadv_v_ogm_start_timer() 113 queue_delayed_work(batadv_event_workqueue, &bat_priv->bat_v.ogm_wq, in batadv_v_ogm_start_timer() 170 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock); in batadv_v_ogm_queue_left() 172 return hard_iface->bat_v.aggr_len + ogm_len <= max; in batadv_v_ogm_queue_left() 185 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock); in batadv_v_ogm_aggr_list_free() 187 __skb_queue_purge(&hard_iface->bat_v.aggr_list); in batadv_v_ogm_aggr_list_free() 188 hard_iface->bat_v.aggr_len = 0; in batadv_v_ogm_aggr_list_free() 204 unsigned int aggr_len = hard_iface->bat_v.aggr_len; in batadv_v_ogm_aggr_send() 209 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock); in batadv_v_ogm_aggr_send() [all …]
|
| H A D | bat_v_elp.c | 66 msecs = READ_ONCE(hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer() 69 queue_delayed_work(batadv_event_workqueue, &hard_iface->bat_v.elp_wq, in batadv_v_elp_start_timer() 96 throughput = READ_ONCE(hard_iface->bat_v.throughput_override); in batadv_v_elp_get_throughput() 174 hard_iface->bat_v.flags |= BATADV_FULL_DUPLEX; in batadv_v_elp_get_throughput() 176 hard_iface->bat_v.flags &= ~BATADV_FULL_DUPLEX; in batadv_v_elp_get_throughput() 186 if (!(hard_iface->bat_v.flags & BATADV_WARNING_DEFAULT)) { in batadv_v_elp_get_throughput() 192 hard_iface->bat_v.flags |= BATADV_WARNING_DEFAULT; in batadv_v_elp_get_throughput() 215 ewma_throughput_add(&neigh->bat_v.throughput, throughput); in batadv_v_elp_throughput_metric_update() 253 last_tx_diff = jiffies_to_msecs(jiffies - neigh->bat_v.last_unicast_tx); in batadv_v_elp_wifi_neigh_probe() 261 elp_skb_len = hard_iface->bat_v.elp_skb->len; in batadv_v_elp_wifi_neigh_probe() [all …]
|
| H A D | bat_v.c | 146 ewma_throughput_init(&hardif_neigh->bat_v.throughput); in batadv_v_hardif_neigh_init() 167 throughput = ewma_throughput_read(&hardif_neigh->bat_v.throughput); in batadv_v_neigh_dump_neigh() 311 throughput = n_ifinfo->bat_v.throughput * 100; in batadv_v_orig_dump_subentry() 505 ret = ifinfo1->bat_v.throughput - ifinfo2->bat_v.throughput; in batadv_v_neigh_cmp() 543 threshold = ifinfo1->bat_v.throughput / 4; in batadv_v_neigh_is_sob() 544 threshold = ifinfo1->bat_v.throughput - threshold; in batadv_v_neigh_is_sob() 546 ret = ifinfo2->bat_v.throughput > threshold; in batadv_v_neigh_is_sob() 595 *bw = router_ifinfo->bat_v.throughput; in batadv_v_gw_throughput_get() 759 router_ifinfo->bat_v.throughput)) { in batadv_v_gw_dump_entry() 874 WRITE_ONCE(hard_iface->bat_v.throughput_override, 0); in batadv_v_hardif_init() [all …]
|
| H A D | types.h | 263 struct batadv_hard_iface_bat_v bat_v; member 652 struct batadv_hardif_neigh_node_bat_v bat_v; member 760 struct batadv_neigh_ifinfo_bat_v bat_v; member 1729 struct batadv_priv_bat_v bat_v; member
|
| H A D | netlink.c | 825 READ_ONCE(hard_iface->bat_v.elp_interval))) in batadv_netlink_hardif_fill() 829 READ_ONCE(hard_iface->bat_v.throughput_override))) in batadv_netlink_hardif_fill() 936 WRITE_ONCE(hard_iface->bat_v.elp_interval, elp_interval); in batadv_netlink_set_hardif() 942 WRITE_ONCE(hard_iface->bat_v.throughput_override, in batadv_netlink_set_hardif()
|
| H A D | send.c | 147 hardif_neigh->bat_v.last_unicast_tx = jiffies; in batadv_send_unicast_skb()
|