Searched refs:bat_v (Results 1 - 7 of 7) sorted by last modified time

/linux-master/net/batman-adv/
H A Dnetlink.c836 atomic_read(&hard_iface->bat_v.elp_interval)))
840 atomic_read(&hard_iface->bat_v.throughput_override)))
941 atomic_set(&hard_iface->bat_v.elp_interval, nla_get_u32(attr));
947 atomic_set(&hard_iface->bat_v.throughput_override,
H A Dtypes.h217 /** @bat_v: per hard-interface B.A.T.M.A.N. V data */
218 struct batadv_hard_iface_bat_v bat_v; member in struct:batadv_hard_iface
626 /** @bat_v: B.A.T.M.A.N. V private data */
627 struct batadv_hardif_neigh_node_bat_v bat_v; member in struct:batadv_hardif_neigh_node
727 /** @bat_v: B.A.T.M.A.N. V private data */
728 struct batadv_neigh_ifinfo_bat_v bat_v; member in struct:batadv_neigh_ifinfo
1814 /** @bat_v: B.A.T.M.A.N. V per soft-interface private data */
1815 struct batadv_priv_bat_v bat_v; member in struct:batadv_priv
H A DMakefile9 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o
H A Dbat_v.c7 #include "bat_v.h"
115 ewma_throughput_init(&hardif_neigh->bat_v.throughput);
116 INIT_WORK(&hardif_neigh->bat_v.metric_work,
138 throughput = ewma_throughput_read(&hardif_neigh->bat_v.throughput);
284 throughput = n_ifinfo->bat_v.throughput * 100;
467 ret = ifinfo1->bat_v.throughput - ifinfo2->bat_v.throughput;
493 threshold = ifinfo1->bat_v.throughput / 4;
494 threshold = ifinfo1->bat_v.throughput - threshold;
496 ret = ifinfo2->bat_v
[all...]
H A Dbat_v_ogm.c93 queue_delayed_work(batadv_event_workqueue, &hard_iface->bat_v.aggr_wq,
107 if (delayed_work_pending(&bat_priv->bat_v.ogm_wq))
112 queue_delayed_work(batadv_event_workqueue, &bat_priv->bat_v.ogm_wq,
158 * Caller needs to hold the hard_iface->bat_v.aggr_list.lock.
169 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock);
171 return hard_iface->bat_v.aggr_len + ogm_len <= max;
180 * Caller needs to hold the hard_iface->bat_v.aggr_list.lock.
184 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock);
186 __skb_queue_purge(&hard_iface->bat_v.aggr_list);
187 hard_iface->bat_v
369 struct batadv_priv_bat_v *bat_v; local
[all...]
H A Dbat_v_elp.c52 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER;
55 queue_delayed_work(batadv_event_workqueue, &hard_iface->bat_v.elp_wq,
78 throughput = atomic_read(&hard_iface->bat_v.throughput_override);
133 hard_iface->bat_v.flags |= BATADV_FULL_DUPLEX;
135 hard_iface->bat_v.flags &= ~BATADV_FULL_DUPLEX;
143 if (!(hard_iface->bat_v.flags & BATADV_WARNING_DEFAULT)) {
149 hard_iface->bat_v.flags |= BATADV_WARNING_DEFAULT;
169 bat_v);
171 ewma_throughput_add(&neigh->bat_v.throughput,
212 last_tx_diff = jiffies_to_msecs(jiffies - neigh->bat_v
253 struct batadv_hard_iface_bat_v *bat_v; local
[all...]
H A Dsend.c153 hardif_neigh->bat_v.last_unicast_tx = jiffies;

Completed in 163 milliseconds