Lines Matching refs:max_orig_node
513 struct batadv_orig_node *max_orig_node) in batadv_is_orig_node_eligible() argument
540 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() local
589 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()
607 select, max_orig_node->orig, max_orig_node->dat_addr, in batadv_choose_next_candidate()