/Linux-v4.19/fs/fscache/ |
D | netfs.c | 22 struct fscache_cookie *candidate, *cookie; in __fscache_register_netfs() local 27 candidate = fscache_alloc_cookie(&fscache_fsdef_index, in __fscache_register_netfs() 32 if (!candidate) { in __fscache_register_netfs() 37 candidate->flags = 1 << FSCACHE_COOKIE_ENABLED; in __fscache_register_netfs() 40 cookie = fscache_hash_cookie(candidate); in __fscache_register_netfs() 43 if (cookie != candidate) { in __fscache_register_netfs() 44 trace_fscache_cookie(candidate, fscache_cookie_discard, 1); in __fscache_register_netfs() 45 fscache_free_cookie(candidate); in __fscache_register_netfs() 59 fscache_cookie_put(candidate, fscache_cookie_put_dup_netfs); in __fscache_register_netfs()
|
D | cookie.c | 199 struct fscache_cookie *fscache_hash_cookie(struct fscache_cookie *candidate) in fscache_hash_cookie() argument 206 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie() 211 if (fscache_compare_cookie(candidate, cursor) == 0) in fscache_hash_cookie() 215 __set_bit(FSCACHE_COOKIE_ACQUIRED, &candidate->flags); in fscache_hash_cookie() 216 fscache_cookie_get(candidate->parent, fscache_cookie_get_acquire_parent); in fscache_hash_cookie() 217 atomic_inc(&candidate->parent->n_children); in fscache_hash_cookie() 218 hlist_bl_add_head(&candidate->hash_link, h); in fscache_hash_cookie() 220 return candidate; in fscache_hash_cookie() 228 fscache_print_cookie(candidate, 'N'); in fscache_hash_cookie() 262 struct fscache_cookie *candidate, *cookie; in __fscache_acquire_cookie() local [all …]
|
/Linux-v4.19/net/rxrpc/ |
D | conn_client.c | 285 struct rxrpc_connection *conn, *candidate = NULL; in rxrpc_get_client_conn() local 344 candidate = rxrpc_alloc_client_connection(cp, gfp); in rxrpc_get_client_conn() 345 if (IS_ERR(candidate)) { in rxrpc_get_client_conn() 346 ret = PTR_ERR(candidate); in rxrpc_get_client_conn() 356 list_add_tail(&call->chan_wait_link, &candidate->waiting_calls); in rxrpc_get_client_conn() 359 call->conn = candidate; in rxrpc_get_client_conn() 360 call->security_ix = candidate->security_ix; in rxrpc_get_client_conn() 361 call->service_id = candidate->service_id; in rxrpc_get_client_conn() 362 _leave(" = 0 [exclusive %d]", candidate->debug_id); in rxrpc_get_client_conn() 379 #define cmp(X) ((long)conn->params.X - (long)candidate->params.X) in rxrpc_get_client_conn() [all …]
|
D | peer_object.c | 330 struct rxrpc_peer *peer, *candidate; in rxrpc_lookup_peer() local 347 candidate = rxrpc_create_peer(rx, local, srx, hash_key, gfp); in rxrpc_lookup_peer() 348 if (!candidate) { in rxrpc_lookup_peer() 361 &candidate->hash_link, hash_key); in rxrpc_lookup_peer() 362 list_add_tail(&candidate->keepalive_link, in rxrpc_lookup_peer() 369 kfree(candidate); in rxrpc_lookup_peer() 371 peer = candidate; in rxrpc_lookup_peer()
|
/Linux-v4.19/drivers/staging/erofs/ |
D | namei.c | 101 struct page *candidate = ERR_PTR(-ENOENT); in find_target_block_classic() local 113 if (!IS_ERR(candidate)) /* valid candidate */ in find_target_block_classic() 114 put_page(candidate); in find_target_block_classic() 147 if (likely(!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() 162 return candidate; in find_target_block_classic()
|
/Linux-v4.19/security/keys/ |
D | key.c | 56 struct key_user *candidate = NULL, *user; in key_user_lookup() local 78 if (!candidate) { in key_user_lookup() 84 candidate = kmalloc(sizeof(struct key_user), GFP_KERNEL); in key_user_lookup() 85 if (unlikely(!candidate)) in key_user_lookup() 96 refcount_set(&candidate->usage, 1); in key_user_lookup() 97 atomic_set(&candidate->nkeys, 0); in key_user_lookup() 98 atomic_set(&candidate->nikeys, 0); in key_user_lookup() 99 candidate->uid = uid; in key_user_lookup() 100 candidate->qnkeys = 0; in key_user_lookup() 101 candidate->qnbytes = 0; in key_user_lookup() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8192e.c | 1205 int i, candidate; in rtl8192eu_phy_iq_calibrate() local 1212 candidate = -1; in rtl8192eu_phy_iq_calibrate() 1224 candidate = 0; in rtl8192eu_phy_iq_calibrate() 1233 candidate = 0; in rtl8192eu_phy_iq_calibrate() 1240 candidate = 1; in rtl8192eu_phy_iq_calibrate() 1242 candidate = 3; in rtl8192eu_phy_iq_calibrate() 1255 if (candidate >= 0) { in rtl8192eu_phy_iq_calibrate() 1256 reg_e94 = result[candidate][0]; in rtl8192eu_phy_iq_calibrate() 1258 reg_e9c = result[candidate][1]; in rtl8192eu_phy_iq_calibrate() 1260 reg_ea4 = result[candidate][2]; in rtl8192eu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_8723b.c | 1098 int i, candidate; in rtl8723bu_phy_iq_calibrate() local 1109 candidate = -1; in rtl8723bu_phy_iq_calibrate() 1123 candidate = 0; in rtl8723bu_phy_iq_calibrate() 1132 candidate = 0; in rtl8723bu_phy_iq_calibrate() 1139 candidate = 1; in rtl8723bu_phy_iq_calibrate() 1145 candidate = 3; in rtl8723bu_phy_iq_calibrate() 1147 candidate = -1; in rtl8723bu_phy_iq_calibrate() 1163 if (candidate >= 0) { in rtl8723bu_phy_iq_calibrate() 1164 reg_e94 = result[candidate][0]; in rtl8723bu_phy_iq_calibrate() 1166 reg_e9c = result[candidate][1]; in rtl8723bu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_core.c | 2654 int result[][8], int candidate, bool tx_only) in rtl8xxxu_fill_iqk_matrix_a() argument 2666 x = result[candidate][0]; in rtl8xxxu_fill_iqk_matrix_a() 2682 y = result[candidate][1]; in rtl8xxxu_fill_iqk_matrix_a() 2708 reg = result[candidate][2]; in rtl8xxxu_fill_iqk_matrix_a() 2715 reg = result[candidate][3] & 0x3F; in rtl8xxxu_fill_iqk_matrix_a() 2722 reg = (result[candidate][3] >> 6) & 0xF; in rtl8xxxu_fill_iqk_matrix_a() 2731 int result[][8], int candidate, bool tx_only) in rtl8xxxu_fill_iqk_matrix_b() argument 2743 x = result[candidate][4]; in rtl8xxxu_fill_iqk_matrix_b() 2759 y = result[candidate][5]; in rtl8xxxu_fill_iqk_matrix_b() 2785 reg = result[candidate][6]; in rtl8xxxu_fill_iqk_matrix_b() [all …]
|
/Linux-v4.19/fs/afs/ |
D | server.c | 151 struct afs_server *candidate) in afs_install_server() argument 158 _enter("%p", candidate); in afs_install_server() 169 diff = memcmp(&candidate->uuid, &server->uuid, sizeof(uuid_t)); in afs_install_server() 178 server = candidate; in afs_install_server() 293 struct afs_server *server, *candidate; in afs_lookup_server() local 305 candidate = afs_alloc_server(cell->net, uuid, alist); in afs_lookup_server() 306 if (!candidate) { in afs_lookup_server() 311 server = afs_install_server(cell->net, candidate); in afs_lookup_server() 312 if (server != candidate) { in afs_lookup_server() 314 kfree(candidate); in afs_lookup_server()
|
D | cell.c | 203 struct afs_cell *cell, *candidate, *cursor; in afs_lookup_cell() local 224 candidate = afs_alloc_cell(net, name, namesz, vllist); in afs_lookup_cell() 225 if (IS_ERR(candidate)) { in afs_lookup_cell() 226 _leave(" = %ld", PTR_ERR(candidate)); in afs_lookup_cell() 227 return candidate; in afs_lookup_cell() 253 cell = candidate; in afs_lookup_cell() 254 candidate = NULL; in afs_lookup_cell() 291 kfree(candidate); in afs_lookup_cell()
|
D | super.c | 497 struct afs_volume *candidate; in afs_mount() local 546 candidate = afs_create_volume(¶ms); in afs_mount() 547 if (IS_ERR(candidate)) { in afs_mount() 548 ret = PTR_ERR(candidate); in afs_mount() 552 as->volume = candidate; in afs_mount()
|
/Linux-v4.19/drivers/dma/ |
D | of-dma.c | 341 struct dma_chan *chan, *candidate = NULL; in of_dma_xlate_by_chan_id() local 348 candidate = chan; in of_dma_xlate_by_chan_id() 352 if (!candidate) in of_dma_xlate_by_chan_id() 355 return dma_get_slave_channel(candidate); in of_dma_xlate_by_chan_id()
|
/Linux-v4.19/kernel/power/ |
D | suspend_test.c | 131 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm() local 133 if (!candidate->ops->set_alarm) in has_wakealarm() 135 if (!device_may_wakeup(candidate->dev.parent)) in has_wakealarm()
|
/Linux-v4.19/security/tomoyo/ |
D | domain.c | 686 const struct tomoyo_path_info *candidate; in tomoyo_find_next_domain() local 716 candidate = &exename; in tomoyo_find_next_domain() 722 candidate = ptr->aggregated_name; in tomoyo_find_next_domain() 728 retval = tomoyo_execute_permission(&ee->r, candidate); in tomoyo_find_next_domain() 740 candidate = ee->r.param.path.matched_path; in tomoyo_find_next_domain() 778 candidate)) { in tomoyo_find_next_domain() 783 candidate->name); in tomoyo_find_next_domain() 794 old_domain->ns->name, candidate->name); in tomoyo_find_next_domain() 816 old_domain->domainname->name, candidate->name); in tomoyo_find_next_domain()
|
/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 1171 struct node *candidate = NULL; in sparsebit_next_set() local 1184 candidate = nodep; in sparsebit_next_set() 1185 if (candidate->idx <= lowest_possible) { in sparsebit_next_set() 1194 if (!candidate) in sparsebit_next_set() 1197 assert(candidate->mask != 0); in sparsebit_next_set() 1206 assert(candidate->idx > lowest_possible); in sparsebit_next_set() 1208 return node_first_set(candidate, 0); in sparsebit_next_set() 1219 start = lowest_possible - candidate->idx; in sparsebit_next_set() 1221 if (start < MASK_BITS && candidate->mask >= (1 << start)) in sparsebit_next_set() 1222 return node_first_set(candidate, start); in sparsebit_next_set() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 2008 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_roaming_candidate() argument 2041 if (*candidate != NULL && (*candidate)->network.Rssi >= competitor->network.Rssi) in rtw_check_roaming_candidate() 2045 *candidate = competitor; in rtw_check_roaming_candidate() 2059 struct wlan_network *candidate = NULL; in rtw_select_roaming_candidate() local 2089 rtw_check_roaming_candidate(mlme, &candidate, pnetwork); in rtw_select_roaming_candidate() 2093 if (candidate == NULL) { in rtw_select_roaming_candidate() 2099 candidate->network.Ssid.Ssid, MAC_ARG(candidate->network.MacAddress), in rtw_select_roaming_candidate() 2100 candidate->network.Configuration.DSConfig); in rtw_select_roaming_candidate() 2102 mlme->roam_network = candidate; in rtw_select_roaming_candidate() 2104 if (!memcmp(candidate->network.MacAddress, mlme->roam_tgt_addr, ETH_ALEN)) in rtw_select_roaming_candidate() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme.c | 1425 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_join_candidate() argument 1454 if (*candidate == NULL || (*candidate)->network.Rssi < competitor->network.Rssi) { in rtw_check_join_candidate() 1455 *candidate = competitor; in rtw_check_join_candidate() 1462 (*candidate)->network.Ssid.Ssid, in rtw_check_join_candidate() 1463 (*candidate)->network.MacAddress, in rtw_check_join_candidate() 1464 (int)(*candidate)->network.Rssi); in rtw_check_join_candidate() 1486 struct wlan_network *candidate = NULL; in rtw_select_and_join_from_scanned_queue() local 1501 rtw_check_join_candidate(pmlmepriv, &candidate, pnetwork); in rtw_select_and_join_from_scanned_queue() 1503 if (!candidate) { in rtw_select_and_join_from_scanned_queue() 1509 candidate->network.Ssid.Ssid, candidate->network.MacAddress, in rtw_select_and_join_from_scanned_queue() [all …]
|
/Linux-v4.19/Documentation/block/ |
D | deadline-iosched.txt | 63 request, or it fits at the front. That is called either a back merge candidate 64 or a front merge candidate. Due to the way files are typically laid out,
|
/Linux-v4.19/arch/sparc/mm/ |
D | init_64.c | 1160 u64 arc, candidate, best_latency = ~(u64)0; in scan_arcs_for_cfg_handle() local 1162 candidate = MDESC_NODE_NULL; in scan_arcs_for_cfg_handle() 1176 candidate = target; in scan_arcs_for_cfg_handle() 1181 if (candidate == MDESC_NODE_NULL) in scan_arcs_for_cfg_handle() 1184 return scan_pio_for_cfg_handle(md, candidate, cfg_handle); in scan_arcs_for_cfg_handle() 1422 struct mdesc_mlgroup *candidate = NULL; in numa_attach_mlgroup() local 1432 candidate = m; in numa_attach_mlgroup() 1436 if (!candidate) in numa_attach_mlgroup() 1448 n->mask = candidate->mask; in numa_attach_mlgroup() 1449 n->match = candidate->match; in numa_attach_mlgroup() [all …]
|
/Linux-v4.19/tools/testing/selftests/tc-testing/ |
D | tdc.py | 556 candidate = os.path.abspath(os.path.join(root, filename)) 557 if candidate not in testdirs: 558 flist.append(candidate)
|
/Linux-v4.19/sound/pci/emu10k1/ |
D | memory.c | 115 struct list_head *candidate = &emu->mapped_link_head; in search_empty_map_area() local 130 candidate = pos; in search_empty_map_area() 140 *nextp = candidate; in search_empty_map_area()
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-block-dm | 32 reasonable merge candidate can be queued on the request
|
/Linux-v4.19/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 983 const struct fb_videomode *candidate = NULL; in radeon_match_mode() local 1029 candidate = &db[i]; in radeon_match_mode() 1043 if (candidate != NULL) { in radeon_match_mode() 1044 radeon_videomode_to_var(dest, candidate); in radeon_match_mode()
|
/Linux-v4.19/net/batman-adv/ |
D | distributed-arp-table.c | 476 struct batadv_orig_node *candidate, in batadv_is_orig_node_eligible() argument 483 if (!test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)) in batadv_is_orig_node_eligible() 488 if (res[j].orig_node == candidate) in batadv_is_orig_node_eligible() 505 batadv_compare_eth(candidate->orig, max_orig_node->orig)) in batadv_is_orig_node_eligible()
|