/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 1022 struct ia_css_binary_info *candidate = &xcandidate->sp; in __ia_css_binary_find() local 1027 candidate, candidate->pipeline.mode, candidate->id); in __ia_css_binary_find() 1034 if (!candidate->enable.continuous && in __ia_css_binary_find() 1038 __LINE__, candidate->enable.continuous, in __ia_css_binary_find() 1043 if (striped && candidate->iterator.num_stripes == 1) { in __ia_css_binary_find() 1050 if (candidate->pipeline.isp_pipe_version != isp_pipe_version && in __ia_css_binary_find() 1057 candidate->pipeline.isp_pipe_version, isp_pipe_version); in __ia_css_binary_find() 1060 if (!candidate->enable.reduced_pipe && enable_reduced_pipe) { in __ia_css_binary_find() 1064 candidate->enable.reduced_pipe, in __ia_css_binary_find() 1068 if (!candidate->enable.dvs_6axis && enable_dvs_6axis) { in __ia_css_binary_find() [all …]
|
/linux-6.6.21/fs/fscache/ |
D | cache.c | 61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache() local 86 candidate = fscache_alloc_cache(name); in fscache_lookup_cache() 87 if (!candidate) in fscache_lookup_cache() 117 list_add_tail(&candidate->cache_link, &fscache_caches); in fscache_lookup_cache() 118 trace_fscache_cache(candidate->debug_id, in fscache_lookup_cache() 119 refcount_read(&candidate->ref), in fscache_lookup_cache() 122 return candidate; in fscache_lookup_cache() 129 cache->name = candidate->name; in fscache_lookup_cache() 130 candidate->name = NULL; in fscache_lookup_cache() 133 kfree(candidate->name); in fscache_lookup_cache() [all …]
|
D | volume.c | 141 static void fscache_wait_on_volume_collision(struct fscache_volume *candidate, in fscache_wait_on_volume_collision() argument 144 wait_on_bit_timeout(&candidate->flags, FSCACHE_VOLUME_ACQUIRE_PENDING, in fscache_wait_on_volume_collision() 146 if (fscache_is_acquire_pending(candidate)) { in fscache_wait_on_volume_collision() 148 candidate->debug_id, collidee_debug_id); in fscache_wait_on_volume_collision() 150 wait_on_bit(&candidate->flags, FSCACHE_VOLUME_ACQUIRE_PENDING, in fscache_wait_on_volume_collision() 160 static bool fscache_hash_volume(struct fscache_volume *candidate) in fscache_hash_volume() argument 167 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1); in fscache_hash_volume() 172 if (fscache_volume_same(candidate, cursor)) { in fscache_hash_volume() 177 set_bit(FSCACHE_VOLUME_ACQUIRE_PENDING, &candidate->flags); in fscache_hash_volume() 183 hlist_bl_add_head(&candidate->hash_link, h); in fscache_hash_volume() [all …]
|
D | cookie.c | 382 static void fscache_wait_on_collision(struct fscache_cookie *candidate, in fscache_wait_on_collision() argument 391 candidate->debug_id, wait_for->debug_id); in fscache_wait_on_collision() 401 static bool fscache_hash_cookie(struct fscache_cookie *candidate) in fscache_hash_cookie() argument 408 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie() 413 if (fscache_cookie_same(candidate, cursor)) { in fscache_hash_cookie() 422 fscache_get_volume(candidate->volume, fscache_volume_get_cookie); in fscache_hash_cookie() 423 atomic_inc(&candidate->volume->n_cookies); in fscache_hash_cookie() 424 hlist_bl_add_head(&candidate->hash_link, h); in fscache_hash_cookie() 425 set_bit(FSCACHE_COOKIE_IS_HASHED, &candidate->flags); in fscache_hash_cookie() 429 fscache_wait_on_collision(candidate, wait_for); in fscache_hash_cookie() [all …]
|
/linux-6.6.21/fs/afs/ |
D | server.c | 139 struct afs_server *candidate) in afs_install_server() argument 147 _enter("%p", candidate); in afs_install_server() 158 diff = memcmp(&candidate->uuid, &server->uuid, sizeof(uuid_t)); in afs_install_server() 178 rcu_assign_pointer(server->uuid_next, candidate); in afs_install_server() 179 candidate->uuid_prev = server; in afs_install_server() 180 server = candidate; in afs_install_server() 185 server = candidate; in afs_install_server() 288 struct afs_server *server, *candidate; in afs_lookup_server() local 303 candidate = afs_alloc_server(cell, uuid, alist); in afs_lookup_server() 304 if (!candidate) { in afs_lookup_server() [all …]
|
D | volume.c | 123 struct afs_volume *candidate, *volume; in afs_lookup_volume() local 125 candidate = afs_alloc_volume(params, vldb, type_mask); in afs_lookup_volume() 126 if (IS_ERR(candidate)) in afs_lookup_volume() 127 return candidate; in afs_lookup_volume() 129 volume = afs_insert_volume_into_cell(params->cell, candidate); in afs_lookup_volume() 130 if (volume != candidate) in afs_lookup_volume() 131 afs_put_volume(params->net, candidate, afs_volume_trace_put_cell_dup); in afs_lookup_volume()
|
D | cell.c | 238 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-6.6.21/security/keys/ |
D | key.c | 53 struct key_user *candidate = NULL, *user; in key_user_lookup() local 75 if (!candidate) { in key_user_lookup() 81 candidate = kmalloc(sizeof(struct key_user), GFP_KERNEL); in key_user_lookup() 82 if (unlikely(!candidate)) in key_user_lookup() 93 refcount_set(&candidate->usage, 1); 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() [all …]
|
/linux-6.6.21/fs/erofs/ |
D | namei.c | 95 void *candidate = ERR_PTR(-ENOENT); in erofs_find_target_block() local 140 if (!IS_ERR(candidate)) in erofs_find_target_block() 149 candidate = de; in erofs_find_target_block() 154 if (!IS_ERR(candidate)) in erofs_find_target_block() 158 return candidate; in erofs_find_target_block()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8192e.c | 1256 int i, candidate; in rtl8192eu_phy_iq_calibrate() local 1263 candidate = -1; in rtl8192eu_phy_iq_calibrate() 1275 candidate = 0; in rtl8192eu_phy_iq_calibrate() 1284 candidate = 0; in rtl8192eu_phy_iq_calibrate() 1291 candidate = 1; in rtl8192eu_phy_iq_calibrate() 1293 candidate = 3; in rtl8192eu_phy_iq_calibrate() 1306 if (candidate >= 0) { in rtl8192eu_phy_iq_calibrate() 1307 reg_e94 = result[candidate][0]; in rtl8192eu_phy_iq_calibrate() 1309 reg_e9c = result[candidate][1]; in rtl8192eu_phy_iq_calibrate() 1311 reg_ea4 = result[candidate][2]; in rtl8192eu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_8723b.c | 1122 int i, candidate; in rtl8723bu_phy_iq_calibrate() local 1133 candidate = -1; in rtl8723bu_phy_iq_calibrate() 1147 candidate = 0; in rtl8723bu_phy_iq_calibrate() 1156 candidate = 0; in rtl8723bu_phy_iq_calibrate() 1163 candidate = 1; in rtl8723bu_phy_iq_calibrate() 1169 candidate = 3; in rtl8723bu_phy_iq_calibrate() 1171 candidate = -1; in rtl8723bu_phy_iq_calibrate() 1187 if (candidate >= 0) { in rtl8723bu_phy_iq_calibrate() 1188 reg_e94 = result[candidate][0]; in rtl8723bu_phy_iq_calibrate() 1190 reg_e9c = result[candidate][1]; in rtl8723bu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_8188f.c | 1223 int i, candidate; in rtl8188fu_phy_iq_calibrate() local 1236 candidate = -1; in rtl8188fu_phy_iq_calibrate() 1246 candidate = 0; in rtl8188fu_phy_iq_calibrate() 1254 candidate = 0; in rtl8188fu_phy_iq_calibrate() 1260 candidate = 1; in rtl8188fu_phy_iq_calibrate() 1266 candidate = 3; in rtl8188fu_phy_iq_calibrate() 1268 candidate = -1; in rtl8188fu_phy_iq_calibrate() 1284 if (candidate >= 0) { in rtl8188fu_phy_iq_calibrate() 1285 reg_e94 = result[candidate][0]; in rtl8188fu_phy_iq_calibrate() 1287 reg_e9c = result[candidate][1]; in rtl8188fu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_8192f.c | 1468 int i, candidate; in rtl8192fu_phy_iq_calibrate() local 1481 candidate = -1; in rtl8192fu_phy_iq_calibrate() 1492 candidate = 0; in rtl8192fu_phy_iq_calibrate() 1500 candidate = 0; in rtl8192fu_phy_iq_calibrate() 1506 candidate = 1; in rtl8192fu_phy_iq_calibrate() 1512 candidate = 3; in rtl8192fu_phy_iq_calibrate() 1514 candidate = -1; in rtl8192fu_phy_iq_calibrate() 1519 if (candidate >= 0) { in rtl8192fu_phy_iq_calibrate() 1520 reg_e94 = result[candidate][0]; in rtl8192fu_phy_iq_calibrate() 1521 reg_e9c = result[candidate][1]; in rtl8192fu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_8188e.c | 926 int i, candidate; in rtl8188eu_phy_iq_calibrate() local 938 candidate = -1; in rtl8188eu_phy_iq_calibrate() 949 candidate = 0; in rtl8188eu_phy_iq_calibrate() 958 candidate = 0; in rtl8188eu_phy_iq_calibrate() 965 candidate = 1; in rtl8188eu_phy_iq_calibrate() 967 candidate = 3; in rtl8188eu_phy_iq_calibrate() 971 if (candidate >= 0) { in rtl8188eu_phy_iq_calibrate() 972 reg_e94 = result[candidate][0]; in rtl8188eu_phy_iq_calibrate() 974 reg_e9c = result[candidate][1]; in rtl8188eu_phy_iq_calibrate() 976 reg_ea4 = result[candidate][2]; in rtl8188eu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_8710b.c | 1426 int i, candidate; in rtl8710bu_phy_iq_calibrate() local 1437 candidate = -1; in rtl8710bu_phy_iq_calibrate() 1447 candidate = 0; in rtl8710bu_phy_iq_calibrate() 1455 candidate = 0; in rtl8710bu_phy_iq_calibrate() 1461 candidate = 1; in rtl8710bu_phy_iq_calibrate() 1467 candidate = 3; in rtl8710bu_phy_iq_calibrate() 1469 candidate = -1; in rtl8710bu_phy_iq_calibrate() 1474 if (candidate >= 0) { in rtl8710bu_phy_iq_calibrate() 1475 reg_e94 = result[candidate][0]; in rtl8710bu_phy_iq_calibrate() 1476 reg_e9c = result[candidate][1]; in rtl8710bu_phy_iq_calibrate() [all …]
|
D | rtl8xxxu_core.c | 2734 int result[][8], int candidate, bool tx_only) in rtl8xxxu_fill_iqk_matrix_a() argument 2746 x = result[candidate][0]; in rtl8xxxu_fill_iqk_matrix_a() 2762 y = result[candidate][1]; in rtl8xxxu_fill_iqk_matrix_a() 2788 reg = result[candidate][2]; in rtl8xxxu_fill_iqk_matrix_a() 2795 reg = result[candidate][3] & 0x3F; in rtl8xxxu_fill_iqk_matrix_a() 2802 reg = (result[candidate][3] >> 6) & 0xF; in rtl8xxxu_fill_iqk_matrix_a() 2811 int result[][8], int candidate, bool tx_only) in rtl8xxxu_fill_iqk_matrix_b() argument 2823 x = result[candidate][4]; in rtl8xxxu_fill_iqk_matrix_b() 2839 y = result[candidate][5]; in rtl8xxxu_fill_iqk_matrix_b() 2865 reg = result[candidate][6]; in rtl8xxxu_fill_iqk_matrix_b() [all …]
|
/linux-6.6.21/net/rxrpc/ |
D | peer_object.c | 326 struct rxrpc_peer *peer, *candidate; in rxrpc_lookup_peer() local 343 candidate = rxrpc_create_peer(local, srx, hash_key, gfp); in rxrpc_lookup_peer() 344 if (!candidate) { in rxrpc_lookup_peer() 357 &candidate->hash_link, hash_key); in rxrpc_lookup_peer() 358 list_add_tail(&candidate->keepalive_link, in rxrpc_lookup_peer() 365 rxrpc_free_peer(candidate); in rxrpc_lookup_peer() 367 peer = candidate; in rxrpc_lookup_peer()
|
D | conn_client.c | 245 struct rxrpc_bundle *bundle, *candidate; in rxrpc_look_up_bundle() local 284 candidate = rxrpc_alloc_bundle(call, gfp); in rxrpc_look_up_bundle() 285 if (!candidate) in rxrpc_look_up_bundle() 311 rb_link_node(&candidate->local_node, parent, pp); in rxrpc_look_up_bundle() 312 rb_insert_color(&candidate->local_node, &local->client_bundles); in rxrpc_look_up_bundle() 313 call->bundle = rxrpc_get_bundle(candidate, rxrpc_bundle_get_client_call); in rxrpc_look_up_bundle() 319 rxrpc_free_bundle(candidate); in rxrpc_look_up_bundle()
|
/linux-6.6.21/drivers/dma/ |
D | of-dma.c | 355 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-6.6.21/kernel/power/ |
D | suspend_test.c | 130 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-6.6.21/security/tomoyo/ |
D | domain.c | 708 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() 803 candidate)) { in tomoyo_find_next_domain() 808 candidate->name); in tomoyo_find_next_domain() 819 old_domain->ns->name, candidate->name); in tomoyo_find_next_domain() 841 old_domain->domainname->name, candidate->name); in tomoyo_find_next_domain()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 1169 struct node *candidate = NULL; in sparsebit_next_set() local 1182 candidate = nodep; in sparsebit_next_set() 1183 if (candidate->idx <= lowest_possible) { in sparsebit_next_set() 1192 if (!candidate) in sparsebit_next_set() 1195 assert(candidate->mask != 0); in sparsebit_next_set() 1204 assert(candidate->idx > lowest_possible); in sparsebit_next_set() 1206 return node_first_set(candidate, 0); in sparsebit_next_set() 1217 start = lowest_possible - candidate->idx; in sparsebit_next_set() 1219 if (start < MASK_BITS && candidate->mask >= (1 << start)) in sparsebit_next_set() 1220 return node_first_set(candidate, start); in sparsebit_next_set() [all …]
|
/linux-6.6.21/drivers/iio/ |
D | industrialio-gts-helper.c | 223 int candidate = gains[time_idx][j]; in gain_to_scaletables() local 226 if (candidate > all_gains[new_idx - 1]) { in gain_to_scaletables() 227 all_gains[new_idx] = candidate; in gain_to_scaletables() 233 if (candidate <= all_gains[chk]) in gain_to_scaletables() 236 if (candidate == all_gains[chk]) in gain_to_scaletables() 241 all_gains[chk] = candidate; in gain_to_scaletables()
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 1699 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_roaming_candidate() argument 1723 if (*candidate && (*candidate)->network.rssi >= competitor->network.rssi) in rtw_check_roaming_candidate() 1727 *candidate = competitor; in rtw_check_roaming_candidate() 1740 struct wlan_network *candidate = NULL; in rtw_select_roaming_candidate() local 1755 rtw_check_roaming_candidate(mlme, &candidate, pnetwork); in rtw_select_roaming_candidate() 1759 if (!candidate) { in rtw_select_roaming_candidate() 1763 mlme->roam_network = candidate; in rtw_select_roaming_candidate() 1765 if (!memcmp(candidate->network.mac_address, mlme->roam_tgt_addr, ETH_ALEN)) in rtw_select_roaming_candidate() 1782 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_join_candidate() argument 1811 if (!*candidate || (*candidate)->network.rssi < competitor->network.rssi) { in rtw_check_join_candidate() [all …]
|
/linux-6.6.21/drivers/phy/renesas/ |
D | phy-rcar-gen3-usb2.c | 628 enum usb_dr_mode candidate = USB_DR_MODE_UNKNOWN; in rcar_gen3_get_dr_mode() local 640 if (candidate == USB_DR_MODE_UNKNOWN) in rcar_gen3_get_dr_mode() 641 candidate = mode; in rcar_gen3_get_dr_mode() 642 else if (candidate != mode) in rcar_gen3_get_dr_mode() 647 return candidate; in rcar_gen3_get_dr_mode()
|