Home
last modified time | relevance | path

Searched refs:cand (Results 1 – 5 of 5) sorted by relevance

/linux/net/batman-adv/
H A Drouting.c584 struct batadv_orig_ifinfo *cand, *first_candidate = NULL; in batadv_find_router() local
616 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) { in batadv_find_router()
618 if (!kref_get_unless_zero(&cand->refcount)) in batadv_find_router()
621 cand_router = rcu_dereference(cand->router); in batadv_find_router()
634 cand->if_outgoing, router, in batadv_find_router()
645 kref_get(&cand->refcount); in batadv_find_router()
646 first_candidate = cand; in batadv_find_router()
655 next_candidate = cand; in batadv_find_router()
660 if (last_candidate == cand) in batadv_find_router()
668 batadv_orig_ifinfo_put(cand); in batadv_find_router()
H A Ddistributed-arp-table.c688 struct batadv_dat_candidate *cand; in batadv_dat_forward_data() local
690 cand = batadv_dat_select_candidates(bat_priv, ip, vid); in batadv_dat_forward_data()
691 if (!cand) in batadv_dat_forward_data()
697 if (cand[i].type == BATADV_DAT_CANDIDATE_NOT_FOUND) in batadv_dat_forward_data()
700 neigh_node = batadv_orig_router_get(cand[i].orig_node, in batadv_dat_forward_data()
710 cand[i].orig_node, in batadv_dat_forward_data()
736 batadv_orig_node_put(cand[i].orig_node); in batadv_dat_forward_data()
739 kfree(cand); in batadv_dat_forward_data()
/linux/tools/perf/util/
H A Dbuild-id.c489 struct str_node *nd, *cand = NULL; in build_id_cache__complement()
504 if (cand) { /* Error: There are more than 2 candidates. */ in build_id_cache__complement()
505 cand = NULL; in build_id_cache__complement()
508 cand = nd; in build_id_cache__complement()
510 if (cand) in build_id_cache__complement()
511 sbuild_id = strdup(cand->s); in build_id_cache__complement()
486 struct str_node *nd, *cand = NULL; build_id_cache__complement() local
/linux/net/xfrm/
H A Dxfrm_policy.c206 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand,
1657 struct xfrm_pol_inexact_candidates cand; in xfrm_policy_bysel_ctx()
1667 if (!xfrm_policy_find_inexact_candidates(&cand, bin, in xfrm_policy_bysel_ctx()
1675 for (i = 0; i < ARRAY_SIZE(cand.res); i++) { in xfrm_policy_bysel_ctx()
1678 tmp = __xfrm_policy_bysel_ctx(cand.res[i], mark, in xfrm_policy_bysel_ctx()
2022 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand, in xfrm_policy_lookup_inexact_addr()
2034 memset(cand, 0, sizeof(*cand)); in xfrm_policy_find_inexact_candidates()
2035 cand->res[XFRM_POL_CAND_ANY] = &b->hhead; in xfrm_policy_find_inexact_candidates()
2040 cand in xfrm_policy_find_inexact_candidates()
1663 struct xfrm_pol_inexact_candidates cand; xfrm_policy_bysel_ctx() local
2028 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates * cand,struct xfrm_pol_inexact_bin * b,const xfrm_address_t * saddr,const xfrm_address_t * daddr) xfrm_policy_find_inexact_candidates() argument
2133 xfrm_policy_eval_candidates(struct xfrm_pol_inexact_candidates * cand,struct xfrm_policy * prefer,const struct flowi * fl,u8 type,u16 family,u32 if_id) xfrm_policy_eval_candidates() argument
2161 struct xfrm_pol_inexact_candidates cand; xfrm_policy_lookup_bytype() local
[all...]
/linux/tools/lib/bpf/
H A Dlibbpf.c5765 struct bpf_core_cand *new_cands, *cand; in load_module_btfs()
5800 cand = &new_cands[cands->len]; in load_module_btfs()
5801 cand->btf = targ_btf; in load_module_btfs()
5802 cand->id = i; in load_module_btfs()
5706 struct bpf_core_cand *new_cands, *cand; bpf_core_add_cands() local