Home
last modified time | relevance | path

Searched refs:candidate (Results 1 – 25 of 68) sorted by relevance

123

/linux/fs/fscache/
A Dnetfs.c18 struct fscache_cookie *candidate, *cookie; in __fscache_register_netfs() local
23 candidate = fscache_alloc_cookie(&fscache_fsdef_index, in __fscache_register_netfs()
28 if (!candidate) { in __fscache_register_netfs()
33 candidate->flags = 1 << FSCACHE_COOKIE_ENABLED; in __fscache_register_netfs()
36 cookie = fscache_hash_cookie(candidate); in __fscache_register_netfs()
39 if (cookie != candidate) { in __fscache_register_netfs()
40 trace_fscache_cookie(candidate->debug_id, 1, fscache_cookie_discard); in __fscache_register_netfs()
41 fscache_free_cookie(candidate); in __fscache_register_netfs()
55 fscache_cookie_put(candidate, fscache_cookie_put_dup_netfs); in __fscache_register_netfs()
A Dcookie.c221 atomic_inc(&candidate->parent->n_children); in fscache_hash_cookie()
222 hlist_bl_add_head(&candidate->hash_link, h); in fscache_hash_cookie()
224 return candidate; in fscache_hash_cookie()
232 fscache_print_cookie(candidate, 'N'); in fscache_hash_cookie()
266 struct fscache_cookie *candidate, *cookie; in __fscache_acquire_cookie() local
296 candidate = fscache_alloc_cookie(parent, def, in __fscache_acquire_cookie()
300 if (!candidate) { in __fscache_acquire_cookie()
306 cookie = fscache_hash_cookie(candidate); in __fscache_acquire_cookie()
313 if (cookie == candidate) in __fscache_acquire_cookie()
314 candidate = NULL; in __fscache_acquire_cookie()
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
A Dbinary.c1498 candidate, candidate->pipeline.mode, candidate->id); in __ia_css_binary_find()
1505 if (!candidate->enable.continuous && in __ia_css_binary_find()
1543 candidate->enable.dvs_6axis, in __ia_css_binary_find()
1551 candidate->enable.high_speed, in __ia_css_binary_find()
1559 candidate->enable.xnr, in __ia_css_binary_find()
1581 candidate->enable.ds && need_ds) in __ia_css_binary_find()
1593 candidate->enable.vf_veceven, in __ia_css_binary_find()
1628 if (!candidate->enable.uds && !candidate->enable.dvs_6axis && need_dz) { in __ia_css_binary_find()
1655 candidate->output.min_width, in __ia_css_binary_find()
1657 candidate->output.max_width); in __ia_css_binary_find()
[all …]
/linux/net/rxrpc/
A Dconn_client.c264 struct rxrpc_bundle *bundle, *candidate; in rxrpc_look_up_bundle() local
300 if (!candidate) in rxrpc_look_up_bundle()
329 rxrpc_get_bundle(candidate); in rxrpc_look_up_bundle()
332 return candidate; in rxrpc_look_up_bundle()
335 rxrpc_free_bundle(candidate); in rxrpc_look_up_bundle()
417 if (IS_ERR(candidate)) { in rxrpc_add_conn_to_bundle()
434 candidate->bundle_shift = shift; in rxrpc_add_conn_to_bundle()
435 bundle->conns[i] = candidate; in rxrpc_add_conn_to_bundle()
438 candidate = NULL; in rxrpc_add_conn_to_bundle()
447 if (candidate) { in rxrpc_add_conn_to_bundle()
[all …]
A Dpeer_object.c335 struct rxrpc_peer *peer, *candidate; in rxrpc_lookup_peer() local
352 candidate = rxrpc_create_peer(rx, local, srx, hash_key, gfp); in rxrpc_lookup_peer()
353 if (!candidate) { in rxrpc_lookup_peer()
366 &candidate->hash_link, hash_key); in rxrpc_lookup_peer()
367 list_add_tail(&candidate->keepalive_link, in rxrpc_lookup_peer()
374 rxrpc_free_peer(candidate); in rxrpc_lookup_peer()
376 peer = candidate; in rxrpc_lookup_peer()
/linux/fs/erofs/
A Dnamei.c96 struct page *candidate = ERR_PTR(-ENOENT); in find_target_block_classic() local
147 if (!IS_ERR(candidate)) in find_target_block_classic()
148 put_page(candidate); in find_target_block_classic()
149 candidate = page; in find_target_block_classic()
160 if (!IS_ERR(candidate)) in find_target_block_classic()
161 put_page(candidate); in find_target_block_classic()
164 return candidate; in find_target_block_classic()
/linux/fs/afs/
A Dserver.c138 struct afs_server *candidate) in afs_install_server() argument
146 _enter("%p", candidate); in afs_install_server()
178 candidate->uuid_prev = server; in afs_install_server()
179 server = candidate; in afs_install_server()
184 server = candidate; in afs_install_server()
287 struct afs_server *server, *candidate; in afs_lookup_server() local
302 candidate = afs_alloc_server(cell, uuid, alist); in afs_lookup_server()
303 if (!candidate) { in afs_lookup_server()
308 server = afs_install_server(cell, candidate); in afs_lookup_server()
309 if (server != candidate) { in afs_lookup_server()
[all …]
A Dvolume.c122 struct afs_volume *candidate, *volume; in afs_lookup_volume() local
124 candidate = afs_alloc_volume(params, vldb, type_mask); in afs_lookup_volume()
125 if (IS_ERR(candidate)) in afs_lookup_volume()
126 return candidate; in afs_lookup_volume()
128 volume = afs_insert_volume_into_cell(params->cell, candidate); in afs_lookup_volume()
129 if (volume != candidate) in afs_lookup_volume()
130 afs_put_volume(params->net, candidate, afs_volume_trace_put_cell_dup); in afs_lookup_volume()
A Dcell.c238 struct afs_cell *cell, *candidate, *cursor; in afs_lookup_cell() local
258 candidate = afs_alloc_cell(net, name, namesz, vllist); in afs_lookup_cell()
259 if (IS_ERR(candidate)) { in afs_lookup_cell()
260 _leave(" = %ld", PTR_ERR(candidate)); in afs_lookup_cell()
261 return candidate; in afs_lookup_cell()
287 cell = candidate; in afs_lookup_cell()
288 candidate = NULL; in afs_lookup_cell()
326 if (candidate) in afs_lookup_cell()
327 afs_put_cell(candidate, afs_cell_trace_put_candidate); in afs_lookup_cell()
/linux/security/keys/
A Dkey.c75 if (!candidate) { in key_user_lookup()
82 if (unlikely(!candidate)) in key_user_lookup()
94 atomic_set(&candidate->nkeys, 0); in key_user_lookup()
95 atomic_set(&candidate->nikeys, 0); in key_user_lookup()
96 candidate->uid = uid; in key_user_lookup()
97 candidate->qnkeys = 0; in key_user_lookup()
98 candidate->qnbytes = 0; in key_user_lookup()
99 spin_lock_init(&candidate->lock); in key_user_lookup()
100 mutex_init(&candidate->cons_lock); in key_user_lookup()
105 user = candidate; in key_user_lookup()
[all …]
/linux/drivers/net/wireless/realtek/rtl8xxxu/
A Drtl8xxxu_8192e.c1244 int i, candidate; in rtl8192eu_phy_iq_calibrate() local
1251 candidate = -1; in rtl8192eu_phy_iq_calibrate()
1263 candidate = 0; in rtl8192eu_phy_iq_calibrate()
1272 candidate = 0; in rtl8192eu_phy_iq_calibrate()
1279 candidate = 1; in rtl8192eu_phy_iq_calibrate()
1281 candidate = 3; in rtl8192eu_phy_iq_calibrate()
1294 if (candidate >= 0) { in rtl8192eu_phy_iq_calibrate()
1295 reg_e94 = result[candidate][0]; in rtl8192eu_phy_iq_calibrate()
1297 reg_e9c = result[candidate][1]; in rtl8192eu_phy_iq_calibrate()
1299 reg_ea4 = result[candidate][2]; in rtl8192eu_phy_iq_calibrate()
[all …]
A Drtl8xxxu_8723b.c1090 int i, candidate; in rtl8723bu_phy_iq_calibrate() local
1101 candidate = -1; in rtl8723bu_phy_iq_calibrate()
1115 candidate = 0; in rtl8723bu_phy_iq_calibrate()
1124 candidate = 0; in rtl8723bu_phy_iq_calibrate()
1131 candidate = 1; in rtl8723bu_phy_iq_calibrate()
1137 candidate = 3; in rtl8723bu_phy_iq_calibrate()
1139 candidate = -1; in rtl8723bu_phy_iq_calibrate()
1155 if (candidate >= 0) { in rtl8723bu_phy_iq_calibrate()
1156 reg_e94 = result[candidate][0]; in rtl8723bu_phy_iq_calibrate()
1158 reg_e9c = result[candidate][1]; in rtl8723bu_phy_iq_calibrate()
[all …]
A Drtl8xxxu_core.c2661 x = result[candidate][0]; in rtl8xxxu_fill_iqk_matrix_a()
2677 y = result[candidate][1]; in rtl8xxxu_fill_iqk_matrix_a()
2738 x = result[candidate][4]; in rtl8xxxu_fill_iqk_matrix_b()
3330 int i, candidate; in rtl8xxxu_gen1_phy_iq_calibrate() local
3338 candidate = -1; in rtl8xxxu_gen1_phy_iq_calibrate()
3351 candidate = 0; in rtl8xxxu_gen1_phy_iq_calibrate()
3359 candidate = 0; in rtl8xxxu_gen1_phy_iq_calibrate()
3365 candidate = 1; in rtl8xxxu_gen1_phy_iq_calibrate()
3371 candidate = 3; in rtl8xxxu_gen1_phy_iq_calibrate()
3373 candidate = -1; in rtl8xxxu_gen1_phy_iq_calibrate()
[all …]
/linux/security/tomoyo/
A Ddomain.c708 const struct tomoyo_path_info *candidate; in tomoyo_find_next_domain() local
739 candidate = &exename; in tomoyo_find_next_domain()
746 candidate = ptr->aggregated_name; in tomoyo_find_next_domain()
752 retval = tomoyo_execute_permission(&ee->r, candidate); in tomoyo_find_next_domain()
764 candidate = ee->r.param.path.matched_path; in tomoyo_find_next_domain()
804 candidate)) { in tomoyo_find_next_domain()
809 candidate->name); in tomoyo_find_next_domain()
820 old_domain->ns->name, candidate->name); in tomoyo_find_next_domain()
842 old_domain->domainname->name, candidate->name); in tomoyo_find_next_domain()
/linux/tools/testing/selftests/kvm/lib/
A Dsparsebit.c1170 struct node *candidate = NULL; in sparsebit_next_set() local
1183 candidate = nodep; in sparsebit_next_set()
1193 if (!candidate) in sparsebit_next_set()
1196 assert(candidate->mask != 0); in sparsebit_next_set()
1207 return node_first_set(candidate, 0); in sparsebit_next_set()
1218 start = lowest_possible - candidate->idx; in sparsebit_next_set()
1221 return node_first_set(candidate, start); in sparsebit_next_set()
1223 if (candidate->num_after) { in sparsebit_next_set()
1238 candidate = node_next(s, candidate); in sparsebit_next_set()
1239 if (!candidate) in sparsebit_next_set()
[all …]
/linux/drivers/dma/
A Dof-dma.c355 struct dma_chan *chan, *candidate = NULL; in of_dma_xlate_by_chan_id() local
362 candidate = chan; in of_dma_xlate_by_chan_id()
366 if (!candidate) in of_dma_xlate_by_chan_id()
369 return dma_get_slave_channel(candidate); in of_dma_xlate_by_chan_id()
/linux/kernel/power/
A Dsuspend_test.c130 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm() local
132 if (!test_bit(RTC_FEATURE_ALARM, candidate->features)) in has_wakealarm()
134 if (!device_may_wakeup(candidate->dev.parent)) in has_wakealarm()
/linux/drivers/staging/rtl8723bs/core/
A Drtw_mlme.c1729 if (*candidate && (*candidate)->network.rssi >= competitor->network.rssi) in rtw_check_roaming_candidate()
1733 *candidate = competitor; in rtw_check_roaming_candidate()
1746 struct wlan_network *candidate = NULL; in rtw_select_roaming_candidate() local
1765 if (!candidate) { in rtw_select_roaming_candidate()
1769 mlme->roam_network = candidate; in rtw_select_roaming_candidate()
1817 if (!*candidate || (*candidate)->network.rssi < competitor->network.rssi) { in rtw_check_join_candidate()
1818 *candidate = competitor; in rtw_check_join_candidate()
1840 struct wlan_network *candidate = NULL; in rtw_select_and_join_from_scanned_queue() local
1847 candidate = pmlmepriv->roam_network; in rtw_select_and_join_from_scanned_queue()
1862 if (!candidate) { in rtw_select_and_join_from_scanned_queue()
[all …]
/linux/drivers/staging/r8188eu/core/
A Drtw_mlme.c1474 if (!*candidate || (*candidate)->network.Rssi < competitor->network.Rssi) { in rtw_check_join_candidate()
1475 *candidate = competitor; in rtw_check_join_candidate()
1482 (*candidate)->network.Ssid.Ssid, in rtw_check_join_candidate()
1483 (*candidate)->network.MacAddress, in rtw_check_join_candidate()
1484 (int)(*candidate)->network.Rssi); in rtw_check_join_candidate()
1506 struct wlan_network *candidate = NULL; in rtw_select_and_join_from_scanned_queue() local
1520 rtw_check_join_candidate(pmlmepriv, &candidate, pnetwork); in rtw_select_and_join_from_scanned_queue()
1522 if (!candidate) { in rtw_select_and_join_from_scanned_queue()
1528 candidate->network.Ssid.Ssid, candidate->network.MacAddress, in rtw_select_and_join_from_scanned_queue()
1529 candidate->network.Configuration.DSConfig); in rtw_select_and_join_from_scanned_queue()
[all …]
/linux/drivers/phy/renesas/
A Dphy-rcar-gen3-usb2.c630 enum usb_dr_mode candidate = USB_DR_MODE_UNKNOWN; in rcar_gen3_get_dr_mode() local
642 if (candidate == USB_DR_MODE_UNKNOWN) in rcar_gen3_get_dr_mode()
643 candidate = mode; in rcar_gen3_get_dr_mode()
644 else if (candidate != mode) in rcar_gen3_get_dr_mode()
649 return candidate; in rcar_gen3_get_dr_mode()
/linux/security/apparmor/
A Ddomain.c394 struct aa_profile *profile, *candidate = NULL; in find_attach() local
469 candidate = profile; in find_attach()
479 candidate = profile; in find_attach()
484 if (!candidate || conflict) { in find_attach()
492 candidate = aa_get_newest_profile(candidate); in find_attach()
495 return &candidate->label; in find_attach()
/linux/Documentation/block/
A Ddeadline-iosched.rst62 request, or it fits at the front. That is called either a back merge candidate
63 or a front merge candidate. Due to the way files are typically laid out,
/linux/arch/sparc/mm/
A Dinit_64.c1129 u64 arc, candidate, best_latency = ~(u64)0; in scan_arcs_for_cfg_handle() local
1131 candidate = MDESC_NODE_NULL; in scan_arcs_for_cfg_handle()
1145 candidate = target; in scan_arcs_for_cfg_handle()
1150 if (candidate == MDESC_NODE_NULL) in scan_arcs_for_cfg_handle()
1153 return scan_pio_for_cfg_handle(md, candidate, cfg_handle); in scan_arcs_for_cfg_handle()
1388 struct mdesc_mlgroup *candidate = NULL; in numa_attach_mlgroup() local
1398 candidate = m; in numa_attach_mlgroup()
1402 if (!candidate) in numa_attach_mlgroup()
1414 n->mask = candidate->mask; in numa_attach_mlgroup()
1415 n->match = candidate->match; in numa_attach_mlgroup()
[all …]
/linux/sound/pci/emu10k1/
A Dmemory.c100 struct list_head *candidate = &emu->mapped_link_head; in search_empty_map_area() local
115 candidate = pos; in search_empty_map_area()
125 *nextp = candidate; in search_empty_map_area()
/linux/drivers/video/fbdev/aty/
A Dradeon_monitor.c981 const struct fb_videomode *candidate = NULL; in radeon_match_mode() local
1027 candidate = &db[i]; in radeon_match_mode()
1041 if (candidate != NULL) { in radeon_match_mode()
1042 radeon_videomode_to_var(dest, candidate); in radeon_match_mode()

Completed in 80 milliseconds

123