Searched refs:cand (Results 1 - 10 of 10) sorted by relevance

/linux-master/net/batman-adv/
H A Drouting.c531 struct batadv_orig_ifinfo *cand, *first_candidate = NULL; local
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);
[all...]
H A Ddistributed-arp-table.c683 struct batadv_dat_candidate *cand; local
685 cand = batadv_dat_select_candidates(bat_priv, ip, vid);
686 if (!cand)
692 if (cand[i].type == BATADV_DAT_CANDIDATE_NOT_FOUND)
695 neigh_node = batadv_orig_router_get(cand[i].orig_node,
702 cand[i].orig_node,
728 batadv_orig_node_put(cand[i].orig_node);
731 kfree(cand);
/linux-master/tools/perf/util/
H A Dbuild-id.c531 struct str_node *nd, *cand = NULL; local
546 if (cand) { /* Error: There are more than 2 candidates. */
547 cand = NULL;
550 cand = nd;
552 if (cand)
553 sbuild_id = strdup(cand->s);
/linux-master/net/ipv4/
H A Dip_tunnel.c88 struct ip_tunnel *t, *cand = NULL; local
107 cand = t;
121 if (!cand)
122 cand = t;
141 if (!cand)
142 cand = t;
154 if (!cand)
155 cand = t;
158 if (cand)
159 return cand;
[all...]
/linux-master/mm/
H A Dmemblock.c224 phys_addr_t this_start, this_end, cand; local
231 cand = round_up(this_start, align);
232 if (cand < this_end && this_end - cand >= size)
233 return cand;
259 phys_addr_t this_start, this_end, cand; local
270 cand = round_down(this_end - size, align);
271 if (cand >= this_start)
272 return cand;
/linux-master/tools/lib/bpf/
H A Dbtf.c3921 struct btf_type *cand; local
3948 cand = btf_type_by_id(d->btf, cand_id);
3949 if (btf_equal_int_tag(t, cand)) {
3961 cand = btf_type_by_id(d->btf, cand_id);
3962 if (btf_equal_enum(t, cand)) {
3966 if (btf_compat_enum(t, cand)) {
3983 cand = btf_type_by_id(d->btf, cand_id);
3984 if (btf_equal_common(t, cand)) {
4562 struct btf_type *t, *cand; local
4591 cand
[all...]
H A Dlibbpf.c5447 struct bpf_core_cand *new_cands, *cand; local
5482 cand = &new_cands[cands->len];
5483 cand->btf = targ_btf;
5484 cand->id = i;
/linux-master/net/xfrm/
H A Dxfrm_policy.c203 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand,
1675 struct xfrm_pol_inexact_candidates cand; local
1685 if (!xfrm_policy_find_inexact_candidates(&cand, bin,
1693 for (i = 0; i < ARRAY_SIZE(cand.res); i++) {
1696 tmp = __xfrm_policy_bysel_ctx(cand.res[i], mark,
2042 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand, argument
2054 memset(cand, 0, sizeof(*cand));
2055 cand->res[XFRM_POL_CAND_ANY] = &b->hhead;
2060 cand
2147 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) argument
2175 struct xfrm_pol_inexact_candidates cand; local
[all...]
/linux-master/net/ipv6/
H A Dip6_tunnel.c118 struct ip6_tnl *t, *cand = NULL; local
131 cand = t;
144 else if (!cand)
145 cand = t;
157 else if (!cand)
158 cand = t;
161 if (cand)
162 return cand;
H A Dip6_gre.c123 struct ip6_tnl *t, *cand = NULL; local
152 cand = t;
176 cand = t;
202 cand = t;
225 cand = t;
230 if (cand)
231 return cand;

Completed in 305 milliseconds