• Home
  • Raw
  • Download

Lines Matching refs:curr_gw

747 	struct batadv_gw_node *gw_node, *curr_gw = NULL;  in batadv_v_gw_get_best_gw_node()  local
758 if (curr_gw && bw <= max_bw) in batadv_v_gw_get_best_gw_node()
761 if (curr_gw) in batadv_v_gw_get_best_gw_node()
762 batadv_gw_node_put(curr_gw); in batadv_v_gw_get_best_gw_node()
764 curr_gw = gw_node; in batadv_v_gw_get_best_gw_node()
765 kref_get(&curr_gw->refcount); in batadv_v_gw_get_best_gw_node()
773 return curr_gw; in batadv_v_gw_get_best_gw_node()
788 struct batadv_gw_node *curr_gw, *orig_gw = NULL; in batadv_v_gw_is_eligible() local
794 curr_gw = batadv_gw_node_get(bat_priv, curr_gw_orig); in batadv_v_gw_is_eligible()
795 if (!curr_gw) { in batadv_v_gw_is_eligible()
800 if (batadv_v_gw_throughput_get(curr_gw, &gw_throughput) < 0) { in batadv_v_gw_is_eligible()
824 if (curr_gw) in batadv_v_gw_is_eligible()
825 batadv_gw_node_put(curr_gw); in batadv_v_gw_is_eligible()
838 struct batadv_gw_node *curr_gw; in batadv_v_gw_write_buffer_text() local
851 curr_gw = batadv_gw_get_selected_gw_node(bat_priv); in batadv_v_gw_write_buffer_text()
854 (curr_gw == gw_node ? "=>" : " "), in batadv_v_gw_write_buffer_text()
865 if (curr_gw) in batadv_v_gw_write_buffer_text()
866 batadv_gw_node_put(curr_gw); in batadv_v_gw_write_buffer_text()
921 struct batadv_gw_node *curr_gw = NULL; in batadv_v_gw_dump_entry() local
933 curr_gw = batadv_gw_get_selected_gw_node(bat_priv); in batadv_v_gw_dump_entry()
947 if (curr_gw == gw_node) { in batadv_v_gw_dump_entry()
992 if (curr_gw) in batadv_v_gw_dump_entry()
993 batadv_gw_node_put(curr_gw); in batadv_v_gw_dump_entry()