Home
last modified time | relevance | path

Searched refs:score (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.3-rc2/arch/powerpc/kernel/
A Dsmp-tbsync.c80 int i, score=0; in start_contest() local
107 score += tbsync->race_result; in start_contest()
110 return score; in start_contest()
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()
148 offset = (score < score2) ? min : max; in smp_generic_give_timebase()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dshadow.c35 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()
106 return score; in shadow_image()
132 return mthd->score; in shadow_method()
206 if (!best->score) { in nvbios_shadow()
218 if (mthd->score > best->score) in nvbios_shadow()
[all …]
/linux-6.3-rc2/drivers/acpi/
A Dglue.c131 int score; member
139 int score; in check_one_child() local
162 if (!wd->score) { in check_one_child()
163 score = find_child_checks(wd->adev, wd->check_children); in check_one_child()
164 if (score == FIND_CHILD_MAX_SCORE) in check_one_child()
167 wd->score = score; in check_one_child()
174 score = find_child_checks(adev, wd->check_children); in check_one_child()
175 if (score > wd->score) { in check_one_child()
177 if (score == FIND_CHILD_MAX_SCORE) in check_one_child()
180 wd->score = score; in check_one_child()
[all …]
/linux-6.3-rc2/net/ipv6/
A Dinet6_hashtables.c97 int score = -1; in compute_score() local
107 score = sk->sk_bound_dev_if ? 2 : 1; in compute_score()
109 score++; in compute_score()
111 return score; in compute_score()
141 int score, hiscore = 0; in inet6_lhash2_lookup() local
144 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
145 if (score > hiscore) { in inet6_lhash2_lookup()
152 hiscore = score; in inet6_lhash2_lookup()
A Dip6_gre.c143 score = 0; in ip6gre_tunnel_lookup()
145 score |= 1; in ip6gre_tunnel_lookup()
147 score |= 2; in ip6gre_tunnel_lookup()
167 score = 0; in ip6gre_tunnel_lookup()
169 score |= 1; in ip6gre_tunnel_lookup()
171 score |= 2; in ip6gre_tunnel_lookup()
193 score = 0; in ip6gre_tunnel_lookup()
195 score |= 1; in ip6gre_tunnel_lookup()
197 score |= 2; in ip6gre_tunnel_lookup()
216 score = 0; in ip6gre_tunnel_lookup()
[all …]
A Daddrconf.c1528 if (i <= score->rule) { in ipv6_get_saddr_eval()
1531 ret = score->scopedist; in ipv6_get_saddr_eval()
1534 ret = score->matchlen; in ipv6_get_saddr_eval()
1545 ret = !!score->ifa; in ipv6_get_saddr_eval()
1578 score->scopedist = ret; in ipv6_get_saddr_eval()
1608 &score->ifa->addr, score->addr_type, in ipv6_get_saddr_eval()
1634 score->matchlen = ret; in ipv6_get_saddr_eval()
1650 score->rule = i; in ipv6_get_saddr_eval()
1680 score->addr_type = __ipv6_addr_type(&score->ifa->addr); in __ipv6_dev_get_saddr()
1689 score->rule = -1; in __ipv6_dev_get_saddr()
[all …]
A Dudp.c122 int bound_dev_if, score; in compute_score() local
134 score = 0; in compute_score()
140 score++; in compute_score()
146 score++; in compute_score()
154 score++; in compute_score()
157 score++; in compute_score()
159 return score; in compute_score()
188 int score, badness; in udp6_lib_lookup2() local
193 score = compute_score(sk, net, saddr, sport, in udp6_lib_lookup2()
195 if (score > badness) { in udp6_lib_lookup2()
[all …]
/linux-6.3-rc2/sound/usb/
A Dimplicit.c409 int i, score; in match_endpoint_audioformats() local
429 score = 1; in match_endpoint_audioformats()
431 score++; in match_endpoint_audioformats()
433 return score; in match_endpoint_audioformats()
464 int score, high_score; in snd_usb_find_implicit_fb_sync_format() local
478 score = match_endpoint_audioformats(subs, fp, in snd_usb_find_implicit_fb_sync_format()
482 if (score > high_score) { in snd_usb_find_implicit_fb_sync_format()
484 high_score = score; in snd_usb_find_implicit_fb_sync_format()
/linux-6.3-rc2/sound/soc/codecs/
A Dtlv320aic23.c266 int score; in find_rate() local
271 score = get_score(adc, adc_l, adc_h, need_adc, in find_rate()
273 if (best_score > score) { in find_rate()
274 best_score = score; in find_rate()
279 score = get_score((adc >> 1), adc_l, adc_h, need_adc, in find_rate()
282 if ((score != UINT_MAX) && (best_score >= score)) { in find_rate()
283 best_score = score; in find_rate()
/linux-6.3-rc2/drivers/of/
A Dfdt.c772 unsigned long l, score = 0; in of_fdt_is_compatible() local
778 score++; in of_fdt_is_compatible()
780 return score; in of_fdt_is_compatible()
804 unsigned int tmp, score = 0; in of_flat_dt_match() local
811 if (tmp && (score == 0 || (tmp < score))) in of_flat_dt_match()
812 score = tmp; in of_flat_dt_match()
816 return score; in of_flat_dt_match()
854 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local
858 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine()
859 if (score > 0 && score < best_score) { in of_flat_dt_match_machine()
[all …]
A Dbase.c511 int index = 0, score = 0; in __of_device_is_compatible() local
523 if (!score) in __of_device_is_compatible()
531 score += 2; in __of_device_is_compatible()
538 score++; in __of_device_is_compatible()
541 return score; in __of_device_is_compatible()
574 if (tmp > score) in of_device_compatible_match()
575 score = tmp; in of_device_compatible_match()
579 return score; in of_device_compatible_match()
1134 int score, best_score = 0; in __of_match_node() local
1142 if (score > best_score) { in __of_match_node()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/scheduler/
A Dsched_main.c148 atomic_inc(rq->sched->score); in drm_sched_rq_add_entity()
170 atomic_dec(rq->sched->score); in drm_sched_rq_remove_entity()
266 atomic_dec(sched->score); in drm_sched_job_done()
943 num_score = atomic_read(sched->score); in drm_sched_pick_best()
1065 atomic_t *score, const char *name, struct device *dev) in drm_sched_init() argument
1074 sched->score = score ? score : &sched->_score; in drm_sched_init()
/linux-6.3-rc2/mm/damon/
A Dcore.c971 unsigned int score, max_score = 0; in damos_adjust_quota() local
996 score = c->ops.get_scheme_score(c, t, r, s); in damos_adjust_quota()
997 quota->histogram[score] += damon_sz_region(r); in damos_adjust_quota()
998 if (score > max_score) in damos_adjust_quota()
999 max_score = score; in damos_adjust_quota()
1004 for (cumulated_sz = 0, score = max_score; ; score--) { in damos_adjust_quota()
1005 cumulated_sz += quota->histogram[score]; in damos_adjust_quota()
1006 if (cumulated_sz >= quota->esz || !score) in damos_adjust_quota()
1009 quota->min_score = score; in damos_adjust_quota()
/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c316 int score = -1; in compute_score() local
325 score = sk->sk_bound_dev_if ? 2 : 1; in compute_score()
328 score++; in compute_score()
330 score++; in compute_score()
332 return score; in compute_score()
367 int score, hiscore = 0; in inet_lhash2_lookup() local
370 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
371 if (score > hiscore) { in inet_lhash2_lookup()
378 hiscore = score; in inet_lhash2_lookup()
/linux-6.3-rc2/mm/
A Dcompaction.c2014 unsigned long score; in fragmentation_score_zone_weighted() local
2016 score = zone->present_pages * fragmentation_score_zone(zone); in fragmentation_score_zone_weighted()
2029 unsigned int score = 0; in fragmentation_score_node() local
2038 score += fragmentation_score_zone_weighted(zone); in fragmentation_score_node()
2041 return score; in fragmentation_score_node()
2095 int score, wmark_low; in __compact_finished() local
2102 score = fragmentation_score_zone(cc->zone); in __compact_finished()
2105 if (score > wmark_low) in __compact_finished()
2990 unsigned int prev_score, score; in kcompactd() local
2994 score = fragmentation_score_node(pgdat); in kcompactd()
[all …]
/linux-6.3-rc2/include/drm/
A Dgpu_scheduler.h505 atomic_t *score; member
516 atomic_t *score, const char *name, struct device *dev);
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_reset.c42 unsigned int score; in client_mark_guilty() local
47 score = 0; in client_mark_guilty()
49 score = I915_CLIENT_SCORE_CONTEXT_BAN; in client_mark_guilty()
53 score += I915_CLIENT_SCORE_HANG_FAST; in client_mark_guilty()
55 if (score) { in client_mark_guilty()
56 atomic_add(score, &file_priv->ban_score); in client_mark_guilty()
60 ctx->name, score, in client_mark_guilty()
/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dcgroup_util.h52 extern int set_oom_adj_score(int pid, int score);
A Dcgroup_util.c522 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() argument
533 len = dprintf(fd, "%d", score); in set_oom_adj_score()
/linux-6.3-rc2/drivers/mtd/
A Drfd_ftl.c409 int block, best_block, score, old_sector_block; in reclaim_block() local
415 score = 0x7fffffff; /* MAX_INT */ in reclaim_block()
449 if (this_score < score) { in reclaim_block()
451 score = this_score; in reclaim_block()
/linux-6.3-rc2/net/ipv6/ila/
A Dila_xlat.c77 int score = 0; in ila_order() local
80 score += 1 << 1; in ila_order()
82 return score; in ila_order()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_uvd.c969 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local
992 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers()
995 if (score < optimal_score) { in radeon_uvd_calc_upll_dividers()
999 optimal_score = score; in radeon_uvd_calc_upll_dividers()
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dmodedb.c778 int score = abs(db[i].refresh - refresh); in fb_find_mode() local
781 score += abs(db_interlace - interlace); in fb_find_mode()
789 if (score < diff) { in fb_find_mode()
790 diff = score; in fb_find_mode()
/linux-6.3-rc2/Documentation/devicetree/bindings/cpu/
A Dcpu-capacity.txt37 max frequency (with caches enabled). The obtained DMIPS score is then divided
40 score obtained in the system.
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_client_modeset.c495 int my_score, best_score, score; in drm_client_pick_crtcs() local
548 score = my_score + drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_pick_crtcs()
550 if (score > best_score) { in drm_client_pick_crtcs()
551 best_score = score; in drm_client_pick_crtcs()

Completed in 63 milliseconds

12