Lines Matching refs:cand
549 struct batadv_orig_ifinfo *cand, *first_candidate = NULL;
581 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) {
583 if (!kref_get_unless_zero(&cand->refcount))
586 cand_router = rcu_dereference(cand->router);
599 cand->if_outgoing, router,
610 kref_get(&cand->refcount);
611 first_candidate = cand;
620 next_candidate = cand;
625 if (last_candidate == cand)
633 batadv_orig_ifinfo_put(cand);