Home
last modified time | relevance | path

Searched refs:curr_gw (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/net/batman-adv/
A Dgateway_client.c172 struct batadv_gw_node *curr_gw; in batadv_gw_check_client_stop() local
178 if (!curr_gw) in batadv_gw_check_client_stop()
191 batadv_gw_node_put(curr_gw); in batadv_gw_check_client_stop()
223 if (curr_gw == next_gw) in batadv_gw_election()
244 if (curr_gw && !next_gw) { in batadv_gw_election()
249 } else if (!curr_gw && next_gw) { in batadv_gw_election()
276 batadv_gw_node_put(curr_gw); in batadv_gw_election()
450 if (gw_node == curr_gw) in batadv_gw_node_update()
453 batadv_gw_node_put(curr_gw); in batadv_gw_node_update()
720 if (!curr_gw) in batadv_gw_out_of_range()
[all …]
A Dbat_v.c584 struct batadv_gw_node *gw_node, *curr_gw = NULL; in batadv_v_gw_get_best_gw_node() local
595 if (curr_gw && bw <= max_bw) in batadv_v_gw_get_best_gw_node()
598 batadv_gw_node_put(curr_gw); in batadv_v_gw_get_best_gw_node()
600 curr_gw = gw_node; in batadv_v_gw_get_best_gw_node()
601 kref_get(&curr_gw->refcount); in batadv_v_gw_get_best_gw_node()
609 return curr_gw; in batadv_v_gw_get_best_gw_node()
631 if (!curr_gw) { in batadv_v_gw_is_eligible()
660 batadv_gw_node_put(curr_gw); in batadv_v_gw_is_eligible()
683 struct batadv_gw_node *curr_gw = NULL; in batadv_v_gw_dump_entry() local
709 if (curr_gw == gw_node) { in batadv_v_gw_dump_entry()
[all …]
A Dbat_iv_ogm.c2252 struct batadv_gw_node *gw_node, *curr_gw = NULL; in batadv_iv_gw_get_best_gw_node() local
2286 batadv_gw_node_put(curr_gw); in batadv_iv_gw_get_best_gw_node()
2287 curr_gw = gw_node; in batadv_iv_gw_get_best_gw_node()
2288 kref_get(&curr_gw->refcount); in batadv_iv_gw_get_best_gw_node()
2300 batadv_gw_node_put(curr_gw); in batadv_iv_gw_get_best_gw_node()
2301 curr_gw = gw_node; in batadv_iv_gw_get_best_gw_node()
2302 kref_get(&curr_gw->refcount); in batadv_iv_gw_get_best_gw_node()
2321 return curr_gw; in batadv_iv_gw_get_best_gw_node()
2406 struct batadv_gw_node *curr_gw = NULL; in batadv_iv_gw_dump_entry() local
2432 if (curr_gw == gw_node) in batadv_iv_gw_dump_entry()
[all …]
A Dtypes.h1113 struct batadv_gw_node __rcu *curr_gw; member

Completed in 16 milliseconds