Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H 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()
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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H 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()
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/drivers/acpi/
H 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/sound/usb/
H A Dimplicit.c410 int i, score; in match_endpoint_audioformats() local
430 score = 1; in match_endpoint_audioformats()
432 score++; in match_endpoint_audioformats()
434 return score; in match_endpoint_audioformats()
465 int score, high_score; in snd_usb_find_implicit_fb_sync_format() local
479 score = match_endpoint_audioformats(subs, fp, in snd_usb_find_implicit_fb_sync_format()
483 if (score > high_score) { in snd_usb_find_implicit_fb_sync_format()
485 high_score = score; in snd_usb_find_implicit_fb_sync_format()
/linux/sound/soc/codecs/
H 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/mm/damon/
H A Dcore.c1568 unsigned long score);
1980 unsigned long score) in damon_feed_loop_next_input() argument
1986 bool over_achieving = score > goal; in damon_feed_loop_next_input()
1988 if (score == goal) in damon_feed_loop_next_input()
1990 if (score >= goal * 2) in damon_feed_loop_next_input()
1994 score_goal_diff = score - goal; in damon_feed_loop_next_input()
1996 score_goal_diff = goal - score; in damon_feed_loop_next_input()
2146 unsigned long score = damos_quota_score(quota); in damos_set_effective_quota() local
2150 score); in damos_set_effective_quota()
2189 unsigned int score, max_score = 0; in damos_adjust_quota() local
[all …]
/linux/drivers/gpu/drm/scheduler/
H A Dsched_main.c209 atomic_inc(rq->sched->score); in drm_sched_rq_add_entity()
231 atomic_dec(rq->sched->score); in drm_sched_rq_remove_entity()
373 atomic_dec(sched->score); in drm_sched_job_done()
1190 num_score = atomic_read(sched->score); in drm_sched_pick_best()
1324 sched->score = args->score ? args->score : &sched->_score; in drm_sched_init()
H A Dsched_entity.c591 atomic_inc(entity->rq->sched->score); in drm_sched_entity_push_job()
/linux/mm/
H A Dcompaction.c2184 unsigned long score; in fragmentation_score_zone_weighted() local
2186 score = zone->present_pages * fragmentation_score_zone(zone); in fragmentation_score_zone_weighted()
2187 return div64_ul(score, zone->zone_pgdat->node_present_pages + 1); in fragmentation_score_zone_weighted()
2199 unsigned int score = 0; in fragmentation_score_node() local
2208 score += fragmentation_score_zone_weighted(zone); in fragmentation_score_node()
2211 return score; in fragmentation_score_node()
2261 int score, wmark_low; in __compact_finished() local
2268 score = fragmentation_score_zone(cc->zone); in __compact_finished()
2271 if (score > wmark_low) in __compact_finished()
3211 unsigned int prev_score, score; in kcompactd() local
[all …]
/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.h
H A Dcgroup_util.c
H A Dtest_memcontrol.c84 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() argument
95 len = dprintf(fd, "%d", score); in set_oom_adj_score()
/linux/net/ipv6/ila/
H A Dila_xlat.c76 int score = 0; in ila_order() local
79 score += 1 << 1; in ila_order()
81 return score; in ila_order()
/linux/net/ipv4/
H A Dudp.c373 int score; in compute_score() local
385 score = (sk->sk_family == PF_INET) ? 2 : 1; in compute_score()
391 score += 4; in compute_score()
397 score += 4; in compute_score()
405 score += 4; in compute_score()
408 score++; in compute_score()
409 return score; in compute_score()
451 int score, badness = 0; in udp4_lib_lookup1() local
454 score = compute_score(sk, net, in udp4_lib_lookup1()
456 if (score > badness) { in udp4_lib_lookup1()
[all …]
H A Dfib_semantics.c2171 int score = -1; in fib_select_multipath() local
2197 if (score < nh_score) { in fib_select_multipath()
2202 score = nh_score; in fib_select_multipath()
/linux/drivers/gpu/drm/xe/
H A Dxe_gpu_scheduler.h18 atomic_t *score, const char *name,
/linux/Documentation/devicetree/bindings/cpu/
H A Dcpu-capacity.txt37 max frequency (with caches enabled). The obtained DMIPS score is then divided
40 score obtained in the system.
/linux/Documentation/usb/
H A Diuu_phoenix.rst64 the speed to a score 10 to 20% better than the simple clockmode=3 !!!
/linux/net/ipv6/
H A Dip6_gre.c117 int score = 0; in ip6gre_tunnel_match() local
124 score |= 1; in ip6gre_tunnel_match()
126 score |= 2; in ip6gre_tunnel_match()
127 if (score == 0) { in ip6gre_tunnel_match()
132 if (score < *cand_score) { in ip6gre_tunnel_match()
134 *cand_score = score; in ip6gre_tunnel_match()
/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.c1582 unsigned score, best = -1; in cw1200_get_prio_queue() local
1595 score = ((edca->aifns + edca->cwmin) << 16) + in cw1200_get_prio_queue()
1598 if (score < best && (winner < 0 || i != 3)) { in cw1200_get_prio_queue()
1599 best = score; in cw1200_get_prio_queue()
/linux/Documentation/admin-guide/hw-vuln/
H A Dindirect-target-selection.rst10 ITS is assigned CVE-2024-28956 with a CVSS score of 4.7 (Medium).
/linux/Documentation/filesystems/
H A Dproc.rst38 score
39 3.2 /proc/<pid>/oom_score - Display current oom-killer score
1730 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1740 For example, if a task is using all allowed memory, its badness score will be
1741 1000. If it is using half of its allowed memory, its score will be 500.
1752 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1758 report a badness score of 0.
1769 be used to tune the badness score. Its acceptable values range from -16
1779 3.2 /proc/<pid>/oom_score - Display current oom-killer score
1782 This file can be used to check the current score used by the oom-killer for
/linux/kernel/sched/
H A Dfair.c1668 unsigned long score = 0; in score_nearby_nodes() local
1724 score += faults; in score_nearby_nodes()
1727 return score; in score_nearby_nodes()
2794 unsigned long score, max_score = 0; in preferred_group_nid() local
2800 score = group_weight(p, node, dist); in preferred_group_nid()
2801 if (score > max_score) { in preferred_group_nid()
2802 max_score = score; in preferred_group_nid()
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst431 These protections are added to score to judge whether this zone should be used
762 score, and name. This is helpful to determine why the OOM killer was
/linux/lib/
H A DKconfig.debug2214 DMIPS (Dhrystone MIPS) obtained when the Dhrystone score is divided