Home
last modified time | relevance | path

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

/Linux-v5.4/arch/s390/numa/
Dtoptree.c56 static void toptree_remove(struct toptree *cand) in toptree_remove() argument
60 list_del_init(&cand->sibling); in toptree_remove()
61 oldparent = cand->parent; in toptree_remove()
62 cand->parent = NULL; in toptree_remove()
74 void __ref toptree_free(struct toptree *cand) in toptree_free() argument
78 if (cand->parent) in toptree_free()
79 toptree_remove(cand); in toptree_free()
80 toptree_for_each_child_safe(child, tmp, cand) in toptree_free()
83 kfree(cand); in toptree_free()
85 memblock_free_early((unsigned long)cand, sizeof(*cand)); in toptree_free()
[all …]
Dtoptree.h25 void toptree_free(struct toptree *cand);
26 void toptree_update_mask(struct toptree *cand);
27 void toptree_unify(struct toptree *cand);
28 struct toptree *toptree_get_child(struct toptree *cand, int id);
29 void toptree_move(struct toptree *cand, struct toptree *target);
/Linux-v5.4/arch/unicore32/mm/
Dtlb-ucv2.S34 cand.a r2, #VM_EXEC @ Executable area ?
47 cand.a r2, #VM_EXEC @ Executable area ?
Dcache-ucv2.S107 102: cand.a r0, r9
161 102: cand.a r0, r9
Dproc-ucv2.S73 2: cand.a r0, r9
Dproc-macros.S101 cand.a \pa, #4 @ test exist bit
/Linux-v5.4/net/batman-adv/
Drouting.c549 struct batadv_orig_ifinfo *cand, *first_candidate = NULL; in batadv_find_router() local
581 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) { in batadv_find_router()
583 if (!kref_get_unless_zero(&cand->refcount)) in batadv_find_router()
586 cand_router = rcu_dereference(cand->router); in batadv_find_router()
599 cand->if_outgoing, router, in batadv_find_router()
610 kref_get(&cand->refcount); in batadv_find_router()
611 first_candidate = cand; in batadv_find_router()
620 next_candidate = cand; in batadv_find_router()
625 if (last_candidate == cand) in batadv_find_router()
633 batadv_orig_ifinfo_put(cand); in batadv_find_router()
Ddistributed-arp-table.c680 struct batadv_dat_candidate *cand; in batadv_dat_forward_data() local
682 cand = batadv_dat_select_candidates(bat_priv, ip, vid); in batadv_dat_forward_data()
683 if (!cand) in batadv_dat_forward_data()
689 if (cand[i].type == BATADV_DAT_CANDIDATE_NOT_FOUND) in batadv_dat_forward_data()
692 neigh_node = batadv_orig_router_get(cand[i].orig_node, in batadv_dat_forward_data()
699 cand[i].orig_node, in batadv_dat_forward_data()
725 batadv_orig_node_put(cand[i].orig_node); in batadv_dat_forward_data()
729 kfree(cand); in batadv_dat_forward_data()
/Linux-v5.4/arch/unicore32/lib/
Dclear_user.S39 2: cand.a r1, #2 @ 1x 1x 0x 0x 1x 1x 0x
41 cand.a r1, #1 @ x1 x0 x1 x0 x1 x0 x1
Dbacktrace.S126 cand.a instr, r3 << reg
139 cand.a instr, #0x40 @ if H is 1, high 16 regs
/Linux-v5.4/tools/perf/util/
Dbuild-id.c519 struct str_node *nd, *cand = NULL; in build_id_cache__complement() local
534 if (cand) { /* Error: There are more than 2 candidates. */ in build_id_cache__complement()
535 cand = NULL; in build_id_cache__complement()
538 cand = nd; in build_id_cache__complement()
540 if (cand) in build_id_cache__complement()
541 sbuild_id = strdup(cand->s); in build_id_cache__complement()
/Linux-v5.4/arch/unicore32/kernel/
Dentry.S257 cand.a r3, #PSR_I_BIT
327 cand.a r3, #PSR_I_BIT
366 cand.a ip, #0x08000000 @ FPU execption traps?
530 cand.a r1, #_TIF_WORK_MASK
542 cand.a r1, #_TIF_NEED_RESCHED
546 cand.a r1, #_TIF_SIGPENDING @ delivering a signal?
561 cand.a r1, #_TIF_WORK_MASK
622 cand.a ip, #_TIF_SYSCALL_TRACE @ are we tracing syscalls?
Ddebug-macro.S16 cand.a \rx, #2
/Linux-v5.4/net/ipv4/
Dip_tunnel.c89 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup() local
107 cand = t; in ip_tunnel_lookup()
121 else if (!cand) in ip_tunnel_lookup()
122 cand = t; in ip_tunnel_lookup()
141 else if (!cand) in ip_tunnel_lookup()
142 cand = t; in ip_tunnel_lookup()
157 else if (!cand) in ip_tunnel_lookup()
158 cand = t; in ip_tunnel_lookup()
162 if (cand) in ip_tunnel_lookup()
163 return cand; in ip_tunnel_lookup()
/Linux-v5.4/arch/unicore32/boot/compressed/
Dhead.S13 #define cand cmpand macro
177 cand.a r2, #2
/Linux-v5.4/tools/lib/bpf/
Dbtf.c1996 struct btf_type *cand; in btf_dedup_prim_type() local
2021 cand = d->btf->types[cand_id]; in btf_dedup_prim_type()
2022 if (btf_equal_int(t, cand)) { in btf_dedup_prim_type()
2033 cand = d->btf->types[cand_id]; in btf_dedup_prim_type()
2034 if (btf_equal_enum(t, cand)) { in btf_dedup_prim_type()
2040 if (btf_compat_enum(t, cand)) { in btf_dedup_prim_type()
2056 cand = d->btf->types[cand_id]; in btf_dedup_prim_type()
2057 if (btf_equal_common(t, cand)) { in btf_dedup_prim_type()
2553 struct btf_type *t, *cand; in btf_dedup_ref_type() local
2581 cand = d->btf->types[cand_id]; in btf_dedup_ref_type()
[all …]
/Linux-v5.4/mm/
Dmemblock.c194 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
201 cand = round_up(this_start, align); in __memblock_find_range_bottom_up()
202 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
203 return cand; in __memblock_find_range_bottom_up()
229 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
240 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()
241 if (cand >= this_start) in __memblock_find_range_top_down()
242 return cand; in __memblock_find_range_top_down()
/Linux-v5.4/arch/unicore32/include/asm/
Dassembler.h33 #define cand cmpand macro
/Linux-v5.4/net/xfrm/
Dxfrm_policy.c183 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand,
1649 struct xfrm_pol_inexact_candidates cand; in xfrm_policy_bysel_ctx() local
1659 if (!xfrm_policy_find_inexact_candidates(&cand, bin, in xfrm_policy_bysel_ctx()
1667 for (i = 0; i < ARRAY_SIZE(cand.res); i++) { in xfrm_policy_bysel_ctx()
1670 tmp = __xfrm_policy_bysel_ctx(cand.res[i], mark, in xfrm_policy_bysel_ctx()
1945 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand, in xfrm_policy_find_inexact_candidates() argument
1957 memset(cand, 0, sizeof(*cand)); in xfrm_policy_find_inexact_candidates()
1958 cand->res[XFRM_POL_CAND_ANY] = &b->hhead; in xfrm_policy_find_inexact_candidates()
1963 cand->res[XFRM_POL_CAND_DADDR] = &n->hhead; in xfrm_policy_find_inexact_candidates()
1967 cand->res[XFRM_POL_CAND_BOTH] = &n->hhead; in xfrm_policy_find_inexact_candidates()
[all …]
/Linux-v5.4/net/ipv6/
Dip6_gre.c123 struct ip6_tnl *t, *cand = NULL; in ip6gre_tunnel_lookup() local
151 cand = t; in ip6gre_tunnel_lookup()
175 cand = t; in ip6gre_tunnel_lookup()
201 cand = t; in ip6gre_tunnel_lookup()
224 cand = t; in ip6gre_tunnel_lookup()
229 if (cand) in ip6gre_tunnel_lookup()
230 return cand; in ip6gre_tunnel_lookup()
/Linux-v5.4/drivers/net/wireless/
Drndis_wlan.c3000 struct ndis_80211_pmkid_candidate *cand = in rndis_wlan_pmkid_cand_list_indication() local
3002 bool preauth = !!(cand->flags & NDIS_80211_PMKID_CAND_PREAUTH); in rndis_wlan_pmkid_cand_list_indication()
3005 i, le32_to_cpu(cand->flags), preauth, cand->bssid); in rndis_wlan_pmkid_cand_list_indication()
3007 cfg80211_pmksa_candidate_notify(usbdev->net, i, cand->bssid, in rndis_wlan_pmkid_cand_list_indication()