Home
last modified time | relevance | path

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

/Linux-v6.1/net/batman-adv/
Dnetlink.c328 atomic_read(&bat_priv->gw.sel_class))) in batadv_netlink_mesh_fill()
552 u32 sel_class; in batadv_netlink_set_mesh() local
555 sel_class = nla_get_u32(attr); in batadv_netlink_set_mesh()
560 if (sel_class >= 1 && sel_class <= sel_class_max) { in batadv_netlink_set_mesh()
561 atomic_set(&bat_priv->gw.sel_class, sel_class); in batadv_netlink_set_mesh()
Dbat_v.c512 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_init_sel_class()
525 old_class = atomic_read(&bat_priv->gw.sel_class); in batadv_v_store_sel_class()
526 atomic_set(&bat_priv->gw.sel_class, class); in batadv_v_store_sel_class()
628 threshold = atomic_read(&bat_priv->gw.sel_class); in batadv_v_gw_is_eligible()
Dgateway_common.c259 atomic_set(&bat_priv->gw.sel_class, 1); in batadv_gw_init()
Dbat_iv_ogm.c2245 atomic_set(&bat_priv->gw.sel_class, 20); in batadv_iv_init_sel_class()
2277 switch (atomic_read(&bat_priv->gw.sel_class)) { in batadv_iv_gw_get_best_gw_node()
2337 if (atomic_read(&bat_priv->gw.sel_class) <= 2) in batadv_iv_gw_is_eligible()
2372 if ((atomic_read(&bat_priv->gw.sel_class) > 3) && in batadv_iv_gw_is_eligible()
2373 (orig_tq_avg - gw_tq_avg < atomic_read(&bat_priv->gw.sel_class))) in batadv_iv_gw_is_eligible()
Dtypes.h1124 atomic_t sel_class; member