Lines Matching refs:cand
531 struct batadv_orig_ifinfo *cand, *first_candidate = NULL;
563 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) {
565 if (!kref_get_unless_zero(&cand->refcount))
568 cand_router = rcu_dereference(cand->router);
581 cand->if_outgoing, router,
592 kref_get(&cand->refcount);
593 first_candidate = cand;
602 next_candidate = cand;
607 if (last_candidate == cand)
615 batadv_orig_ifinfo_put(cand);