Lines Matching refs:orig_node
527 if (res[j].orig_node == candidate) in batadv_is_orig_node_eligible()
567 struct batadv_orig_node *orig_node, *max_orig_node = NULL; in batadv_choose_next_candidate() local
584 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_choose_next_candidate()
586 tmp_max = BATADV_DAT_ADDR_MAX - orig_node->dat_addr + in batadv_choose_next_candidate()
591 *last_max, orig_node, in batadv_choose_next_candidate()
595 if (!kref_get_unless_zero(&orig_node->refcount)) in batadv_choose_next_candidate()
600 max_orig_node = orig_node; in batadv_choose_next_candidate()
606 cands[select].orig_node = max_orig_node; in batadv_choose_next_candidate()
696 neigh_node = batadv_orig_router_get(cand[i].orig_node, in batadv_dat_forward_data()
703 cand[i].orig_node, in batadv_dat_forward_data()
729 batadv_orig_node_put(cand[i].orig_node); in batadv_dat_forward_data()