Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/kernel/
Dsmp-tbsync.c79 int i, score=0; in start_contest() local
106 score += tbsync->race_result; in start_contest()
109 return score; in start_contest()
114 int i, score, score2, old, min=0, max=5000, offset=1000; in smp_generic_give_timebase() local
130 score = start_contest(kSetAndTest, offset, NUM_ITER); in smp_generic_give_timebase()
132 pr_debug("score %d, offset %d\n", score, offset ); in smp_generic_give_timebase()
134 if( score > 0 ) in smp_generic_give_timebase()
140 score = start_contest(kSetAndTest, min, NUM_ITER); in smp_generic_give_timebase()
144 min, score, max, score2); in smp_generic_give_timebase()
145 score = abs(score); in smp_generic_give_timebase()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadow.c37 int score; member
95 int score = 1; in shadow_image() local
114 score += 1; in shadow_image()
115 score += 1; in shadow_image()
117 score += 3; in shadow_image()
121 score += 3; in shadow_image()
126 score += shadow_image(bios, idx + 1, mthd); in shadow_image()
127 return score; in shadow_image()
134 int score; in shadow_score() local
136 score = shadow_image(bios, 0, mthd); in shadow_score()
[all …]
/linux-4.1.27/arch/score/
DMakefile10 CROSS_COMPILE := score-linux-
28 head-y := arch/score/kernel/head.o
29 libs-y += arch/score/lib/
30 core-y += arch/score/kernel/ arch/score/mm/
32 boot := arch/score/boot
DKconfig.debug25 include/asm-score/debug.h for debugging macros.
DKconfig97 source "arch/score/Kconfig.debug"
/linux-4.1.27/net/ipv6/
Dinet6_hashtables.c101 int score = -1; in compute_score() local
106 score = 1; in compute_score()
110 score++; in compute_score()
115 score++; in compute_score()
118 return score; in compute_score()
129 int score, hiscore, matches = 0, reuseport = 0; in inet6_lookup_listener() local
139 score = compute_score(sk, net, hnum, daddr, dif); in inet6_lookup_listener()
140 if (score > hiscore) { in inet6_lookup_listener()
141 hiscore = score; in inet6_lookup_listener()
149 } else if (score == hiscore && reuseport) { in inet6_lookup_listener()
Dudp.c150 int score; in compute_score() local
158 score = 0; in compute_score()
164 score++; in compute_score()
170 score++; in compute_score()
176 score++; in compute_score()
182 score++; in compute_score()
185 return score; in compute_score()
194 int score; in compute_score2() local
205 score = 0; in compute_score2()
211 score++; in compute_score2()
[all …]
Dip6_gre.c126 int score, cand_score = 4; in ip6gre_tunnel_lookup() local
139 score = 0; in ip6gre_tunnel_lookup()
141 score |= 1; in ip6gre_tunnel_lookup()
143 score |= 2; in ip6gre_tunnel_lookup()
144 if (score == 0) in ip6gre_tunnel_lookup()
147 if (score < cand_score) { in ip6gre_tunnel_lookup()
149 cand_score = score; in ip6gre_tunnel_lookup()
163 score = 0; in ip6gre_tunnel_lookup()
165 score |= 1; in ip6gre_tunnel_lookup()
167 score |= 2; in ip6gre_tunnel_lookup()
[all …]
Daddrconf.c1237 struct ipv6_saddr_score *score, in ipv6_get_saddr_eval() argument
1243 if (i <= score->rule) { in ipv6_get_saddr_eval()
1246 ret = score->scopedist; in ipv6_get_saddr_eval()
1249 ret = score->matchlen; in ipv6_get_saddr_eval()
1252 ret = !!test_bit(i, score->scorebits); in ipv6_get_saddr_eval()
1260 ret = !!score->ifa; in ipv6_get_saddr_eval()
1264 ret = ipv6_addr_equal(&score->ifa->addr, dst->addr); in ipv6_get_saddr_eval()
1288 ret = __ipv6_addr_src_scope(score->addr_type); in ipv6_get_saddr_eval()
1293 score->scopedist = ret; in ipv6_get_saddr_eval()
1300 if (!ipv6_use_optimistic_addr(score->ifa->idev)) in ipv6_get_saddr_eval()
[all …]
/linux-4.1.27/drivers/of/
Dfdt.c94 unsigned long l, score = 0; in of_fdt_is_compatible() local
100 score++; in of_fdt_is_compatible()
102 return score; in of_fdt_is_compatible()
136 unsigned int tmp, score = 0; in of_fdt_match() local
143 if (tmp && (score == 0 || (tmp < score))) in of_fdt_match()
144 score = tmp; in of_fdt_match()
148 return score; in of_fdt_match()
712 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local
716 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine()
717 if (score > 0 && score < best_score) { in of_flat_dt_match_machine()
[all …]
Dbase.c449 int index = 0, score = 0; in __of_device_is_compatible() local
457 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible()
461 if (!score) in __of_device_is_compatible()
469 score += 2; in __of_device_is_compatible()
476 score++; in __of_device_is_compatible()
479 return score; in __of_device_is_compatible()
955 int score, best_score = 0; in __of_match_node() local
961 score = __of_device_is_compatible(node, matches->compatible, in __of_match_node()
963 if (score > best_score) { in __of_match_node()
965 best_score = score; in __of_match_node()
/linux-4.1.27/sound/soc/codecs/
Dtlv320aic23.c272 int score; in find_rate() local
277 score = get_score(adc, adc_l, adc_h, need_adc, in find_rate()
279 if (best_score > score) { in find_rate()
280 best_score = score; in find_rate()
285 score = get_score((adc >> 1), adc_l, adc_h, need_adc, in find_rate()
288 if ((score != UINT_MAX) && (best_score >= score)) { in find_rate()
289 best_score = score; in find_rate()
/linux-4.1.27/net/ipv4/
Dinet_hashtables.c176 int score = -1; in compute_score() local
182 score = sk->sk_family == PF_INET ? 2 : 1; in compute_score()
186 score += 4; in compute_score()
191 score += 4; in compute_score()
194 return score; in compute_score()
215 int score, hiscore, matches = 0, reuseport = 0; in __inet_lookup_listener() local
223 score = compute_score(sk, net, hnum, daddr, dif); in __inet_lookup_listener()
224 if (score > hiscore) { in __inet_lookup_listener()
226 hiscore = score; in __inet_lookup_listener()
233 } else if (score == hiscore && reuseport) { in __inet_lookup_listener()
Dudp.c344 int score; in compute_score() local
352 score = (sk->sk_family == PF_INET) ? 2 : 1; in compute_score()
358 score += 4; in compute_score()
364 score += 4; in compute_score()
370 score += 4; in compute_score()
376 score += 4; in compute_score()
379 return score; in compute_score()
389 int score; in compute_score2() local
402 score = (sk->sk_family == PF_INET) ? 2 : 1; in compute_score2()
407 score += 4; in compute_score2()
[all …]
/linux-4.1.27/drivers/acpi/
Dglue.c115 int score; in acpi_find_child_device() local
142 score = find_child_checks(adev, check_children); in acpi_find_child_device()
143 if (score == FIND_CHILD_MAX_SCORE) { in acpi_find_child_device()
145 } else if (score > ret_score) { in acpi_find_child_device()
147 ret_score = score; in acpi_find_child_device()
/linux-4.1.27/arch/score/mm/
DMakefile6 tlb-miss.o tlb-score.o pgtable.o
/linux-4.1.27/arch/score/kernel/
Dvmlinux.lds.S30 OUTPUT_ARCH(score)
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Dtcm-sita.h72 struct score { struct
Dtcm-sita.c62 struct score *best);
280 struct score best = {{0}, {0}, {0}, 0}; in scan_r2l_t2b()
354 struct score best = {{0}, {0}, {0}, 0}; in scan_l2r_t2b()
604 struct score *best) in update_candidate()
606 struct score me; /* score for area */ in update_candidate()
/linux-4.1.27/sound/usb/
Dpcm.c542 int score = 0; in match_endpoint_audioformats() local
559 score++; in match_endpoint_audioformats()
563 if (!score) { in match_endpoint_audioformats()
571 score++; in match_endpoint_audioformats()
574 "%s: (fmt @%p) score %d\n", __func__, fp, score); in match_endpoint_audioformats()
576 return score; in match_endpoint_audioformats()
605 int score = match_endpoint_audioformats(subs, in configure_sync_endpoint() local
609 if (score > cur_score) { in configure_sync_endpoint()
611 cur_score = score; in configure_sync_endpoint()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_uvd.c930 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local
953 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers()
956 if (score < optimal_score) { in radeon_uvd_calc_upll_dividers()
960 optimal_score = score; in radeon_uvd_calc_upll_dividers()
/linux-4.1.27/drivers/mtd/
Drfd_ftl.c447 int block, best_block, score, old_sector_block; in reclaim_block() local
453 score = 0x7fffffff; /* MAX_INT */ in reclaim_block()
487 if (this_score < score) { in reclaim_block()
489 score = this_score; in reclaim_block()
/linux-4.1.27/Documentation/usb/
Diuu_phoenix.txt55 the speed to a score 10 to 20% better than the simple clockmode=3 !!!
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_ringbuffer.h91 int score; member
Di915_irq.c2894 ring->hangcheck.score += BUSY; in i915_hangcheck_elapsed()
2922 ring->hangcheck.score += BUSY; in i915_hangcheck_elapsed()
2925 ring->hangcheck.score += KICK; in i915_hangcheck_elapsed()
2928 ring->hangcheck.score += HUNG; in i915_hangcheck_elapsed()
2939 if (ring->hangcheck.score > 0) in i915_hangcheck_elapsed()
2940 ring->hangcheck.score--; in i915_hangcheck_elapsed()
2951 if (ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG) { in i915_hangcheck_elapsed()
Di915_gpu_error.c919 ering->hangcheck_score = ring->hangcheck.score; in i915_record_ring_state()
Di915_gem.c2549 ring_hung = ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG; in i915_gem_reset_ring_status()
Di915_debugfs.c1279 seq_printf(m, "\tscore = %d\n", ring->hangcheck.score); in i915_hangcheck_info()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fb_helper.c1555 int my_score, best_score, score; in drm_pick_crtcs() local
1611 score = my_score + drm_pick_crtcs(fb_helper, crtcs, modes, n + 1, in drm_pick_crtcs()
1613 if (score > best_score) { in drm_pick_crtcs()
1614 best_score = score; in drm_pick_crtcs()
Ddrm_edid.c1003 int i, score = 0; in drm_edid_header_is_valid() local
1007 score++; in drm_edid_header_is_valid()
1009 return score; in drm_edid_header_is_valid()
1062 int score = drm_edid_header_is_valid(raw_edid); in drm_edid_block_valid() local
1063 if (score == 8) ; in drm_edid_block_valid()
1064 else if (score >= edid_fixup) { in drm_edid_block_valid()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dwsm.c1589 unsigned score, best = -1; in cw1200_get_prio_queue() local
1602 score = ((edca->aifns + edca->cwmin) << 16) + in cw1200_get_prio_queue()
1605 if (score < best && (winner < 0 || i != 3)) { in cw1200_get_prio_queue()
1606 best = score; in cw1200_get_prio_queue()
/linux-4.1.27/Documentation/filesystems/
Dproc.txt37 score
38 3.2 /proc/<pid>/oom_score - Display current oom-killer score
1422 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1432 For example, if a task is using all allowed memory, its badness score will be
1433 1000. If it is using half of its allowed memory, its score will be 500.
1435 There is an additional factor included in the badness score: the current memory
1447 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1453 report a badness score of 0.
1464 be used to tune the badness score. Its acceptable values range from -16
1479 3.2 /proc/<pid>/oom_score - Display current oom-killer score
[all …]
/linux-4.1.27/drivers/net/irda/
Ddonauboe.c659 toshoboe_dumprx (struct toshoboe_cb *self, int score) in toshoboe_dumprx() argument
662 PROBE_DEBUG(" %d\nRX:",score); in toshoboe_dumprx()
/linux-4.1.27/kernel/sched/
Dfair.c943 unsigned long score = 0; in score_nearby_nodes() local
998 score += faults; in score_nearby_nodes()
1001 return score; in score_nearby_nodes()
1720 unsigned long score, max_score = 0; in preferred_group_nid() local
1726 score = group_weight(p, node, dist); in preferred_group_nid()
1727 if (score > max_score) { in preferred_group_nid()
1728 max_score = score; in preferred_group_nid()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt338 These protections are added to score to judge whether this zone should be used
572 score, and name. This is helpful to determine why the OOM killer was
/linux-4.1.27/
DMAINTAINERS8679 F: arch/score/