Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/net/batman-adv/
Drouting.c435 struct batadv_orig_ifinfo *cand, *first_candidate = NULL; in batadv_find_router() local
467 hlist_for_each_entry_rcu(cand, &orig_node->ifinfo_list, list) { in batadv_find_router()
469 if (!atomic_inc_not_zero(&cand->refcount)) in batadv_find_router()
472 cand_router = rcu_dereference(cand->router); in batadv_find_router()
485 cand->if_outgoing, in batadv_find_router()
496 atomic_inc(&cand->refcount); in batadv_find_router()
497 first_candidate = cand; in batadv_find_router()
506 next_candidate = cand; in batadv_find_router()
511 if (last_candidate == cand) in batadv_find_router()
519 batadv_orig_ifinfo_free_ref(cand); in batadv_find_router()
Ddistributed-arp-table.c582 struct batadv_dat_candidate *cand; in batadv_dat_send_data() local
584 cand = batadv_dat_select_candidates(bat_priv, ip); in batadv_dat_send_data()
585 if (!cand) in batadv_dat_send_data()
591 if (cand[i].type == BATADV_DAT_CANDIDATE_NOT_FOUND) in batadv_dat_send_data()
594 neigh_node = batadv_orig_router_get(cand[i].orig_node, in batadv_dat_send_data()
601 cand[i].orig_node, in batadv_dat_send_data()
629 batadv_orig_node_free_ref(cand[i].orig_node); in batadv_dat_send_data()
633 kfree(cand); in batadv_dat_send_data()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/mm/
Dmemblock.c120 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
127 cand = round_up(this_start, align); in __memblock_find_range_bottom_up()
128 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
129 return cand; in __memblock_find_range_bottom_up()
152 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
162 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()
163 if (cand >= this_start) in __memblock_find_range_top_down()
164 return cand; in __memblock_find_range_top_down()
/linux-4.1.27/arch/unicore32/boot/compressed/
Dhead.S16 #define cand cmpand macro
180 cand.a r2, #2
/linux-4.1.27/arch/unicore32/include/asm/
Dassembler.h36 #define cand cmpand macro
/linux-4.1.27/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.1.27/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()