Home
last modified time | relevance | path

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

/linux/net/batman-adv/
H A Dnetlink.c326 atomic_read(&bat_priv->gw.sel_class))) in batadv_netlink_mesh_fill()
553 u32 sel_class; in batadv_netlink_set_mesh() local
556 sel_class = nla_get_u32(attr); in batadv_netlink_set_mesh()
558 if (sel_class >= 1 && sel_class <= sel_class_max) { in batadv_netlink_set_mesh()
559 atomic_set(&bat_priv->gw.sel_class, sel_class); in batadv_netlink_set_mesh()
H A Dgateway_common.c99 atomic_set(&bat_priv->gw.sel_class, 1); in batadv_gw_init()
H A Dbat_v.c512 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_init_sel_class()
609 threshold = atomic_read(&bat_priv->gw.sel_class); in batadv_v_gw_is_eligible()
H A Dbat_iv_ogm.c2244 atomic_set(&bat_priv->gw.sel_class, 20); in batadv_iv_init_sel_class()
2276 switch (atomic_read(&bat_priv->gw.sel_class)) { in batadv_iv_gw_get_best_gw_node()
2336 if (atomic_read(&bat_priv->gw.sel_class) <= 2) in batadv_iv_gw_is_eligible()
2371 if ((atomic_read(&bat_priv->gw.sel_class) > 3) && in batadv_iv_gw_is_eligible()
2372 (orig_tq_avg - gw_tq_avg < atomic_read(&bat_priv->gw.sel_class))) in batadv_iv_gw_is_eligible()
H A Dtypes.h1188 atomic_t sel_class; member