Home
last modified time | relevance | path

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

12

/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.c145 int score; in check_one_child()
153 int score; in check_one_child()
173 * First, get the score for the previously found object and terminate in check_one_child()
176 if (!wd->score) { in check_one_child()
177 score = find_child_checks(wd->adev, wd->check_children); in check_one_child()
178 if (score == FIND_CHILD_MAX_SCORE) in check_one_child()
181 wd->score = score; in check_one_child()
184 * Second, if the object that has just been found has a better score, in check_one_child()
186 * the new score i in check_one_child()
131 int score; global() member
139 int score; check_one_child() local
[all...]
/linux/net/ipv6/
H A Dinet6_hashtables.c133 int score = -1; in compute_score()
144 score = sk->sk_bound_dev_if ? 2 : 1; in compute_score()
146 score++; in compute_score()
148 return score;
196 int score, hiscore = 0; in inet6_lhash2_lookup()
199 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
200 if (score > hiscore) { in inet6_lhash2_lookup()
207 hiscore = score; in inet6_lhash2_lookup()
131 int score = -1; compute_score() local
194 int score, hiscore = 0; inet6_lhash2_lookup() local
H A Dudp.c136 int bound_dev_if, score; in compute_score() local
148 score = 0; in compute_score()
154 score++; in compute_score()
160 score++; in compute_score()
168 score++; in compute_score()
171 score++; in compute_score()
173 return score; in compute_score()
194 * Return: socket with highest matching score if any, NULL if none
205 int score, badness = 0; in udp6_lib_lookup1() local
208 score in udp6_lib_lookup1()
227 int score, badness; udp6_lib_lookup2() local
[all...]
H A Daddrconf.c1609 struct ipv6_saddr_score *score, in ipv6_get_saddr_eval()
1615 if (i <= score->rule) { in ipv6_get_saddr_eval()
1618 ret = score->scopedist; in ipv6_get_saddr_eval()
1621 ret = score->matchlen; in ipv6_get_saddr_eval()
1624 ret = !!test_bit(i, score->scorebits); in ipv6_get_saddr_eval()
1632 ret = !!score->ifa; in ipv6_get_saddr_eval()
1636 ret = ipv6_addr_equal(&score->ifa->addr, dst->addr); in ipv6_get_saddr_eval()
1660 ret = __ipv6_addr_src_scope(score->addr_type); in ipv6_get_saddr_eval()
1665 score->scopedist = ret; in ipv6_get_saddr_eval()
1672 if (!ipv6_use_optimistic_addr(net, score in ipv6_get_saddr_eval()
1595 ipv6_get_saddr_eval(struct net * net,struct ipv6_saddr_score * score,struct ipv6_saddr_dst * dst,int i) ipv6_get_saddr_eval() argument
1734 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; __ipv6_dev_get_saddr() local
[all...]
H A Dip6_gre.c120 int score = 0; in ip6gre_tunnel_match()
127 score |= 1; in ip6gre_tunnel_match()
129 score |= 2; in ip6gre_tunnel_match()
130 if (score == 0) { in ip6gre_tunnel_match()
135 if (score < *cand_score) { in ip6gre_tunnel_match()
137 *cand_score = score; in ip6gre_tunnel_match()
117 int score = 0; ip6gre_tunnel_match() local
/linux/sound/usb/
H A Dimplicit.c411 int i, score; in match_endpoint_audioformats() local
431 score = 1; in match_endpoint_audioformats()
433 score++; in match_endpoint_audioformats()
435 return score; in match_endpoint_audioformats()
466 int score, high_score; in snd_usb_find_implicit_fb_sync_format() local
480 score = match_endpoint_audioformats(subs, fp, in snd_usb_find_implicit_fb_sync_format()
484 if (score > high_score) { in snd_usb_find_implicit_fb_sync_format()
486 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/drivers/of/
H A Dbase.c360 int index = 0, score = 0; in __of_device_is_compatible() local
368 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible()
372 if (!score) in __of_device_is_compatible()
380 score += 2; in __of_device_is_compatible()
387 score++; in __of_device_is_compatible()
390 return score; in __of_device_is_compatible()
416 unsigned int tmp, score = 0; in of_device_compatible_match() local
423 if (tmp > score) in of_device_compatible_match()
424 score = tmp; in of_device_compatible_match()
428 return score; in of_device_compatible_match()
[all …]
/linux/mm/damon/
H A Dcore.c312 * damon_nr_accesses_mvsum() - Returns moving sum access frequency score.
319 * frequency score of the region (@r). The value is calculated as a pseudo in damon_verify_new_region()
323 * Return: the pseudo moving sum access frequency score.
2395 unsigned long score); in damos_filter_match()
2906 * damon_feed_loop_next_input() - get next input to achieve a target score. in damos_calc_eligible_bytes()
2908 * @score Current score that made with @last_input. in damos_calc_eligible_bytes()
2910 * Calculate next input to achieve the target score, based on the last input in damos_calc_eligible_bytes()
2911 * and current score. Assuming the input and the score ar in damos_calc_eligible_bytes()
2752 damon_feed_loop_next_input(unsigned long last_input,unsigned long score) damon_feed_loop_next_input() argument
3069 unsigned long score = damos_quota_score(c, s); damos_goal_tune_esz_bp_consist() local
3079 unsigned long score = damos_quota_score(c, s); damos_goal_tune_esz_bp_temporal() local
3148 unsigned int score, max_score = 0; damos_adjust_quota() local
3331 unsigned int score, last_score, diff; damon_merge_regions_of() local
[all...]
/linux/drivers/gpu/drm/scheduler/
H A Dsched_rq.c275 atomic_inc(sched->score); in drm_sched_rq_add_entity()
311 atomic_dec(rq->sched->score); in drm_sched_rq_remove_entity()
H A Dsched_entity.c634 atomic_inc(entity->rq->sched->score); in drm_sched_entity_push_job()
/linux/drivers/mtd/
H A Drfd_ftl.c408 int block, best_block, score, old_sector_block; in reclaim_block() local
414 score = 0x7fffffff; /* MAX_INT */ in reclaim_block()
448 if (this_score < score) { in reclaim_block()
450 score = this_score; in reclaim_block()
/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.h
H A Dcgroup_util.c
H A Dtest_memcontrol.c107 int set_oom_adj_score(int pid, int score) in set_oom_adj_score()
118 len = dprintf(fd, "%d", score); in set_oom_adj_score()
104 set_oom_adj_score(int pid,int score) set_oom_adj_score() argument
/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.c368 int score; in compute_score()
380 score = (sk->sk_family == PF_INET) ? 2 : 1; in compute_score()
386 score += 4; in compute_score()
392 score += 4; in compute_score()
400 score += 4; in compute_score()
403 score++; in compute_score()
404 return score; in compute_score()
434 * Return: socket with highest matching score if any, NULL if none
445 int score, badness = 0; in udp4_lib_lookup1()
448 score in udp4_lib_lookup1()
367 int score; compute_score() local
444 int score, badness = 0; udp4_lib_lookup1() local
467 int score, badness; udp4_lib_lookup2() local
[all...]
H A Dfib_semantics.c2197 int score = -1; in fib_select_multipath() local
2225 if (score < nh_score) { in fib_select_multipath()
2230 score = nh_score; in fib_select_multipath()
/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/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
1756 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1766 For example, if a task is using all allowed memory, its badness score will be
1767 1000. If it is using half of its allowed memory, its score will be 500.
1778 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1784 report a badness score of 0.
1795 be used to tune the badness score. Its acceptable values range from -16
1805 3.2 /proc/<pid>/oom_score - Display current oom-killer score
1808 This file can be used to check the current score used by the oom-killer for

12