/Linux-v4.19/arch/powerpc/kernel/ |
D | smp-tbsync.c | 80 int i, score=0; in start_contest() local 107 score += tbsync->race_result; in start_contest() 110 return score; in start_contest() 115 int i, score, score2, old, min=0, max=5000, offset=1000; in smp_generic_give_timebase() local 131 score = start_contest(kSetAndTest, offset, NUM_ITER); in smp_generic_give_timebase() 133 pr_debug("score %d, offset %d\n", score, offset ); in smp_generic_give_timebase() 135 if( score > 0 ) in smp_generic_give_timebase() 141 score = start_contest(kSetAndTest, min, NUM_ITER); in smp_generic_give_timebase() 145 min, score, max, score2); in smp_generic_give_timebase() 146 score = abs(score); in smp_generic_give_timebase() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | shadow.c | 35 int score; member 56 int score = 1; in shadow_image() local 91 score += 1; in shadow_image() 92 score += 1; in shadow_image() 96 score += 3; in shadow_image() 100 score += 3; in shadow_image() 105 score += shadow_image(bios, idx + 1, offset + image.size, mthd); in shadow_image() 106 return score; in shadow_image() 123 mthd->score = shadow_image(bios, 0, 0, mthd); in shadow_method() 126 nvkm_debug(subdev, "scored %d\n", mthd->score); in shadow_method() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | inet6_hashtables.c | 101 int score = -1; in compute_score() local 106 score = 1; in compute_score() 110 score++; in compute_score() 119 score++; in compute_score() 122 score++; in compute_score() 124 return score; in compute_score() 138 int score, hiscore = 0; in inet6_lhash2_lookup() local 143 score = compute_score(sk, net, hnum, daddr, dif, sdif, in inet6_lhash2_lookup() 145 if (score > hiscore) { in inet6_lhash2_lookup() 155 hiscore = score; in inet6_lhash2_lookup() [all …]
|
D | ip6_gre.c | 134 int score, cand_score = 4; in ip6gre_tunnel_lookup() local 147 score = 0; in ip6gre_tunnel_lookup() 149 score |= 1; in ip6gre_tunnel_lookup() 151 score |= 2; in ip6gre_tunnel_lookup() 152 if (score == 0) in ip6gre_tunnel_lookup() 155 if (score < cand_score) { in ip6gre_tunnel_lookup() 157 cand_score = score; in ip6gre_tunnel_lookup() 171 score = 0; in ip6gre_tunnel_lookup() 173 score |= 1; in ip6gre_tunnel_lookup() 175 score |= 2; in ip6gre_tunnel_lookup() [all …]
|
D | udp.c | 118 int score; in compute_score() local 126 score = 0; in compute_score() 132 score++; in compute_score() 138 score++; in compute_score() 144 score++; in compute_score() 154 score++; in compute_score() 158 score++; in compute_score() 160 return score; in compute_score() 171 int score, badness; in udp6_lib_lookup2() local 177 score = compute_score(sk, net, saddr, sport, in udp6_lib_lookup2() [all …]
|
D | addrconf.c | 1462 struct ipv6_saddr_score *score, in ipv6_get_saddr_eval() argument 1468 if (i <= score->rule) { in ipv6_get_saddr_eval() 1471 ret = score->scopedist; in ipv6_get_saddr_eval() 1474 ret = score->matchlen; in ipv6_get_saddr_eval() 1477 ret = !!test_bit(i, score->scorebits); in ipv6_get_saddr_eval() 1485 ret = !!score->ifa; in ipv6_get_saddr_eval() 1489 ret = ipv6_addr_equal(&score->ifa->addr, dst->addr); in ipv6_get_saddr_eval() 1513 ret = __ipv6_addr_src_scope(score->addr_type); in ipv6_get_saddr_eval() 1518 score->scopedist = ret; in ipv6_get_saddr_eval() 1525 if (!ipv6_use_optimistic_addr(net, score->ifa->idev)) in ipv6_get_saddr_eval() [all …]
|
/Linux-v4.19/sound/soc/codecs/ |
D | tlv320aic23.c | 271 int score; in find_rate() local 276 score = get_score(adc, adc_l, adc_h, need_adc, in find_rate() 278 if (best_score > score) { in find_rate() 279 best_score = score; in find_rate() 284 score = get_score((adc >> 1), adc_l, adc_h, need_adc, in find_rate() 287 if ((score != UINT_MAX) && (best_score >= score)) { in find_rate() 288 best_score = score; in find_rate()
|
/Linux-v4.19/drivers/of/ |
D | fdt.c | 97 unsigned long l, score = 0; in of_fdt_is_compatible() local 103 score++; in of_fdt_is_compatible() 105 return score; in of_fdt_is_compatible() 152 unsigned int tmp, score = 0; in of_fdt_match() local 159 if (tmp && (score == 0 || (tmp < score))) in of_fdt_match() 160 score = tmp; in of_fdt_match() 164 return score; in of_fdt_match() 861 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local 865 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine() 866 if (score > 0 && score < best_score) { in of_flat_dt_match_machine() [all …]
|
D | base.c | 462 int index = 0, score = 0; in __of_device_is_compatible() local 470 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible() 474 if (!score) in __of_device_is_compatible() 482 score += 2; in __of_device_is_compatible() 489 score++; in __of_device_is_compatible() 492 return score; in __of_device_is_compatible() 518 unsigned int tmp, score = 0; in of_device_compatible_match() local 525 if (tmp > score) in of_device_compatible_match() 526 score = tmp; in of_device_compatible_match() 530 return score; in of_device_compatible_match() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | inet_hashtables.c | 230 int score = -1; in compute_score() local 236 score = sk->sk_family == PF_INET ? 2 : 1; in compute_score() 240 score += 4; in compute_score() 249 score += 4; in compute_score() 252 score++; in compute_score() 254 return score; in compute_score() 275 int score, hiscore = 0; in inet_lhash2_lookup() local 280 score = compute_score(sk, net, hnum, daddr, in inet_lhash2_lookup() 282 if (score > hiscore) { in inet_lhash2_lookup() 292 hiscore = score; in inet_lhash2_lookup() [all …]
|
D | udp.c | 372 int score; in compute_score() local 380 score = (sk->sk_family == PF_INET) ? 2 : 1; in compute_score() 386 score += 4; in compute_score() 392 score += 4; in compute_score() 398 score += 4; in compute_score() 408 score += 4; in compute_score() 412 score++; in compute_score() 413 return score; in compute_score() 437 int score, badness; in udp4_lib_lookup2() local 443 score = compute_score(sk, net, saddr, sport, in udp4_lib_lookup2() [all …]
|
/Linux-v4.19/drivers/acpi/ |
D | glue.c | 127 int score; in acpi_find_child_device() local 154 score = find_child_checks(adev, check_children); in acpi_find_child_device() 155 if (score == FIND_CHILD_MAX_SCORE) { in acpi_find_child_device() 157 } else if (score > ret_score) { in acpi_find_child_device() 159 ret_score = score; in acpi_find_child_device()
|
/Linux-v4.19/drivers/staging/rtlwifi/phydm/ |
D | phydm.c | 1297 u32 score = 0; in odm_update_power_training_state() local 1342 score = 2; in odm_update_power_training_state() 1344 score = 1; /* unknown state */ in odm_update_power_training_state() 1355 score = 0; in odm_update_power_training_state() 1358 score = 1; in odm_update_power_training_state() 1360 score = 2; in odm_update_power_training_state() 1372 __func__, dm->nhm_cnt_0, score); in odm_update_power_training_state() 1375 dm->PT_score = (score << 4) + (dm->PT_score >> 1) + (dm->PT_score >> 2); in odm_update_power_training_state() 1376 score = (dm->PT_score + 32) >> 6; in odm_update_power_training_state() 1379 __func__, dm->PT_score, score); in odm_update_power_training_state() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.h | 70 struct score { struct
|
/Linux-v4.19/tools/testing/selftests/cgroup/ |
D | cgroup_util.h | 43 extern int set_oom_adj_score(int pid, int score);
|
D | cgroup_util.c | 352 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() argument 363 len = dprintf(fd, "%d", score); in set_oom_adj_score()
|
/Linux-v4.19/sound/usb/ |
D | pcm.c | 581 int score = 0; in match_endpoint_audioformats() local 598 score++; in match_endpoint_audioformats() 602 if (!score) { in match_endpoint_audioformats() 610 score++; in match_endpoint_audioformats() 613 "%s: (fmt @%p) score %d\n", __func__, fp, score); in match_endpoint_audioformats() 615 return score; in match_endpoint_audioformats() 644 int score = match_endpoint_audioformats(subs, in configure_sync_endpoint() local 648 if (score > cur_score) { in configure_sync_endpoint() 650 cur_score = score; in configure_sync_endpoint()
|
/Linux-v4.19/drivers/mtd/ |
D | rfd_ftl.c | 411 int block, best_block, score, old_sector_block; in reclaim_block() local 417 score = 0x7fffffff; /* MAX_INT */ in reclaim_block() 451 if (this_score < score) { in reclaim_block() 453 score = this_score; in reclaim_block()
|
/Linux-v4.19/net/ipv6/ila/ |
D | ila_xlat.c | 77 int score = 0; in ila_order() local 80 score += 1 << 1; in ila_order() 82 return score; in ila_order()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 979 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local 1002 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers() 1005 if (score < optimal_score) { in radeon_uvd_calc_upll_dividers() 1009 optimal_score = score; in radeon_uvd_calc_upll_dividers()
|
/Linux-v4.19/drivers/video/fbdev/core/ |
D | modedb.c | 835 int score = abs(db[i].refresh - refresh); in fb_find_mode() local 838 score += abs(db_interlace - interlace); in fb_find_mode() 846 if (score < diff) { in fb_find_mode() 847 diff = score; in fb_find_mode()
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/ |
D | cpu-capacity.txt | 37 max frequency (with caches enabled). The obtained DMIPS score is then divided 40 score obtained in the system.
|
/Linux-v4.19/Documentation/usb/ |
D | iuu_phoenix.txt | 55 the speed to a score 10 to 20% better than the simple clockmode=3 !!!
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 3144 unsigned int score; in intel_ppat_get() local 3146 score = ppat->match(ppat->entries[i].value, value); in intel_ppat_get() 3147 if (score > best_score) { in intel_ppat_get() 3149 if (score == INTEL_PPAT_PERFECT_MATCH) { in intel_ppat_get() 3153 best_score = score; in intel_ppat_get() 3228 unsigned int score = 0; in bdw_private_pat_match() local 3239 score |= CA_MATCH; in bdw_private_pat_match() 3242 score |= TC_MATCH; in bdw_private_pat_match() 3245 score |= AGE_MATCH; in bdw_private_pat_match() 3247 if (score == (AGE_MATCH | TC_MATCH | CA_MATCH)) in bdw_private_pat_match() [all …]
|
D | i915_gem.c | 2970 unsigned int score; in i915_gem_client_mark_guilty() local 2974 score = I915_CLIENT_SCORE_CONTEXT_BAN; in i915_gem_client_mark_guilty() 2976 score = 0; in i915_gem_client_mark_guilty() 2980 score += I915_CLIENT_SCORE_HANG_FAST; in i915_gem_client_mark_guilty() 2982 if (score) { in i915_gem_client_mark_guilty() 2983 atomic_add(score, &file_priv->ban_score); in i915_gem_client_mark_guilty() 2986 ctx->name, score, in i915_gem_client_mark_guilty() 2993 unsigned int score; in i915_gem_context_mark_guilty() local 2999 score = atomic_add_return(CONTEXT_SCORE_GUILTY, &ctx->ban_score); in i915_gem_context_mark_guilty() 3000 banned = score >= CONTEXT_SCORE_BAN_THRESHOLD; in i915_gem_context_mark_guilty() [all …]
|