Home
last modified time | relevance | path

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

/linux-4.4.14/arch/s390/numa/
Dtoptree.c50 static void toptree_remove(struct toptree *cand) in toptree_remove() argument
54 list_del_init(&cand->sibling); in toptree_remove()
55 oldparent = cand->parent; in toptree_remove()
56 cand->parent = NULL; in toptree_remove()
68 void toptree_free(struct toptree *cand) in toptree_free() argument
72 if (cand->parent) in toptree_free()
73 toptree_remove(cand); in toptree_free()
74 toptree_for_each_child_safe(child, tmp, cand) in toptree_free()
76 kfree(cand); in toptree_free()
91 void toptree_update_mask(struct toptree *cand) in toptree_update_mask() argument
[all …]
Dtoptree.h24 void toptree_free(struct toptree *cand);
25 void toptree_update_mask(struct toptree *cand);
26 void toptree_unify(struct toptree *cand);
27 struct toptree *toptree_get_child(struct toptree *cand, int id);
28 void toptree_move(struct toptree *cand, struct toptree *target);
/linux-4.4.14/fs/logfs/
Dgc.c182 static struct gc_candidate *add_list(struct gc_candidate *cand, in add_list() argument
190 cand->list = list; in add_list()
196 comp = cand->erase_count < cur->erase_count; in add_list()
198 comp = cand->valid < cur->valid; in add_list()
205 rb_link_node(&cand->rb_node, parent, p); in add_list()
206 rb_insert_color(&cand->rb_node, &list->rb_tree); in add_list()
212 cand = rb_entry(rb_last(&list->rb_tree), struct gc_candidate, rb_node); in add_list()
213 rb_erase(&cand->rb_node, &list->rb_tree); in add_list()
214 cand->list = NULL; in add_list()
215 return cand; in add_list()
[all …]
/linux-4.4.14/net/batman-adv/
Drouting.c460 struct batadv_orig_ifinfo *cand, *first_candidate = NULL; in batadv_find_router() local
492 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) { in batadv_find_router()
494 if (!atomic_inc_not_zero(&cand->refcount)) in batadv_find_router()
497 cand_router = rcu_dereference(cand->router); in batadv_find_router()
510 cand->if_outgoing, in batadv_find_router()
521 atomic_inc(&cand->refcount); in batadv_find_router()
522 first_candidate = cand; in batadv_find_router()
531 next_candidate = cand; in batadv_find_router()
536 if (last_candidate == cand) in batadv_find_router()
544 batadv_orig_ifinfo_free_ref(cand); in batadv_find_router()
Ddistributed-arp-table.c620 struct batadv_dat_candidate *cand; in batadv_dat_send_data() local
622 cand = batadv_dat_select_candidates(bat_priv, ip, vid); in batadv_dat_send_data()
623 if (!cand) in batadv_dat_send_data()
629 if (cand[i].type == BATADV_DAT_CANDIDATE_NOT_FOUND) in batadv_dat_send_data()
632 neigh_node = batadv_orig_router_get(cand[i].orig_node, in batadv_dat_send_data()
639 cand[i].orig_node, in batadv_dat_send_data()
667 batadv_orig_node_free_ref(cand[i].orig_node); in batadv_dat_send_data()
671 kfree(cand); in batadv_dat_send_data()
/linux-4.4.14/arch/unicore32/mm/
Dtlb-ucv2.S37 cand.a r2, #VM_EXEC @ Executable area ?
50 cand.a r2, #VM_EXEC @ Executable area ?
Dcache-ucv2.S110 102: cand.a r0, r9
164 102: cand.a r0, r9
Dproc-ucv2.S76 2: cand.a r0, r9
Dproc-macros.S104 cand.a \pa, #4 @ test exist bit
/linux-4.4.14/arch/unicore32/lib/
Dclear_user.S42 2: cand.a r1, #2 @ 1x 1x 0x 0x 1x 1x 0x
44 cand.a r1, #1 @ x1 x0 x1 x0 x1 x0 x1
Dbacktrace.S129 cand.a instr, r3 << reg
142 cand.a instr, #0x40 @ if H is 1, high 16 regs
/linux-4.4.14/net/ipv4/
Dip_tunnel.c157 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup() local
175 cand = t; in ip_tunnel_lookup()
189 else if (!cand) in ip_tunnel_lookup()
190 cand = t; in ip_tunnel_lookup()
209 else if (!cand) in ip_tunnel_lookup()
210 cand = t; in ip_tunnel_lookup()
225 else if (!cand) in ip_tunnel_lookup()
226 cand = t; in ip_tunnel_lookup()
230 if (cand) in ip_tunnel_lookup()
231 return cand; in ip_tunnel_lookup()
/linux-4.4.14/arch/unicore32/kernel/
Dentry.S260 cand.a r3, #PSR_I_BIT
330 cand.a r3, #PSR_I_BIT
369 cand.a ip, #0x08000000 @ FPU execption traps?
533 cand.a r1, #_TIF_WORK_MASK
545 cand.a r1, #_TIF_NEED_RESCHED
549 cand.a r1, #_TIF_SIGPENDING @ delivering a signal?
564 cand.a r1, #_TIF_WORK_MASK
625 cand.a ip, #_TIF_SYSCALL_TRACE @ are we tracing syscalls?
Ddebug-macro.S19 cand.a \rx, #2
/linux-4.4.14/arch/unicore32/boot/compressed/
Dhead.S16 #define cand cmpand macro
180 cand.a r2, #2
/linux-4.4.14/mm/
Dmemblock.c128 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
135 cand = round_up(this_start, align); in __memblock_find_range_bottom_up()
136 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
137 return cand; in __memblock_find_range_bottom_up()
162 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
173 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()
174 if (cand >= this_start) in __memblock_find_range_top_down()
175 return cand; in __memblock_find_range_top_down()
/linux-4.4.14/arch/unicore32/include/asm/
Dassembler.h36 #define cand cmpand macro
/linux-4.4.14/net/ipv6/
Dip6_gre.c122 struct ip6_tnl *t, *cand = NULL; in ip6gre_tunnel_lookup() local
148 cand = t; in ip6gre_tunnel_lookup()
172 cand = t; in ip6gre_tunnel_lookup()
198 cand = t; in ip6gre_tunnel_lookup()
221 cand = t; in ip6gre_tunnel_lookup()
226 if (cand) in ip6gre_tunnel_lookup()
227 return cand; in ip6gre_tunnel_lookup()
/linux-4.4.14/drivers/net/wireless/
Drndis_wlan.c3003 struct ndis_80211_pmkid_candidate *cand = in rndis_wlan_pmkid_cand_list_indication() local
3005 bool preauth = !!(cand->flags & NDIS_80211_PMKID_CAND_PREAUTH); in rndis_wlan_pmkid_cand_list_indication()
3008 i, le32_to_cpu(cand->flags), preauth, cand->bssid); in rndis_wlan_pmkid_cand_list_indication()
3010 cfg80211_pmksa_candidate_notify(usbdev->net, i, cand->bssid, in rndis_wlan_pmkid_cand_list_indication()