Searched refs:max_orig_node (Results 1 – 1 of 1) sorted by relevance
513 struct batadv_orig_node *max_orig_node) in batadv_is_orig_node_eligible() argument540 if (tmp_max == max && max_orig_node && in batadv_is_orig_node_eligible()541 batadv_compare_eth(candidate->orig, max_orig_node->orig)) in batadv_is_orig_node_eligible()564 struct batadv_orig_node *orig_node, *max_orig_node = NULL; in batadv_choose_next_candidate() local589 max_orig_node)) in batadv_choose_next_candidate()596 if (max_orig_node) in batadv_choose_next_candidate()597 batadv_orig_node_put(max_orig_node); in batadv_choose_next_candidate()598 max_orig_node = orig_node; in batadv_choose_next_candidate()602 if (max_orig_node) { in batadv_choose_next_candidate()604 cands[select].orig_node = max_orig_node; in batadv_choose_next_candidate()[all …]