Lines Matching defs:cand
530 struct batadv_orig_ifinfo *cand, *first_candidate = NULL;
562 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) {
564 if (!kref_get_unless_zero(&cand->refcount))
567 cand_router = rcu_dereference(cand->router);
580 cand->if_outgoing, router,
591 kref_get(&cand->refcount);
592 first_candidate = cand;
601 next_candidate = cand;
606 if (last_candidate == cand)
614 batadv_orig_ifinfo_put(cand);