Searched refs:sel_class (Results 1 – 5 of 5) sorted by relevance
681 old_class = atomic_read(&bat_priv->gw.sel_class); in batadv_v_store_sel_class()682 atomic_set(&bat_priv->gw.sel_class, class); in batadv_v_store_sel_class()692 u32 class = atomic_read(&bat_priv->gw.sel_class); in batadv_v_show_sel_class()794 threshold = atomic_read(&bat_priv->gw.sel_class); in batadv_v_gw_is_eligible()1096 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_mesh_init()
2505 switch (atomic_read(&bat_priv->gw.sel_class)) { in batadv_iv_gw_get_best_gw_node()2568 if (atomic_read(&bat_priv->gw.sel_class) <= 2) in batadv_iv_gw_is_eligible()2603 if ((atomic_read(&bat_priv->gw.sel_class) > 3) && in batadv_iv_gw_is_eligible()2604 (orig_tq_avg - gw_tq_avg < atomic_read(&bat_priv->gw.sel_class))) in batadv_iv_gw_is_eligible()
547 return sprintf(buff, "%i\n", atomic_read(&bat_priv->gw.sel_class)); in batadv_show_gw_sel_class()572 &bat_priv->gw.sel_class, in batadv_store_gw_sel_class()
723 atomic_t sel_class; member
802 atomic_set(&bat_priv->gw.sel_class, 20); in batadv_softif_init_late()