score 80 arch/powerpc/kernel/smp-tbsync.c int i, score=0; score 107 arch/powerpc/kernel/smp-tbsync.c score += tbsync->race_result; score 110 arch/powerpc/kernel/smp-tbsync.c return score; score 115 arch/powerpc/kernel/smp-tbsync.c int i, score, score2, old, min=0, max=5000, offset=1000; score 131 arch/powerpc/kernel/smp-tbsync.c score = start_contest(kSetAndTest, offset, NUM_ITER); score 133 arch/powerpc/kernel/smp-tbsync.c pr_debug("score %d, offset %d\n", score, offset ); score 135 arch/powerpc/kernel/smp-tbsync.c if( score > 0 ) score 141 arch/powerpc/kernel/smp-tbsync.c score = start_contest(kSetAndTest, min, NUM_ITER); score 145 arch/powerpc/kernel/smp-tbsync.c min, score, max, score2); score 146 arch/powerpc/kernel/smp-tbsync.c score = abs(score); score 148 arch/powerpc/kernel/smp-tbsync.c offset = (score < score2) ? min : max; score 156 arch/powerpc/kernel/smp-tbsync.c if (score2 <= score || score2 < 20) score 126 drivers/acpi/glue.c int score; score 153 drivers/acpi/glue.c score = find_child_checks(adev, check_children); score 154 drivers/acpi/glue.c if (score == FIND_CHILD_MAX_SCORE) { score 156 drivers/acpi/glue.c } else if (score > ret_score) { score 158 drivers/acpi/glue.c ret_score = score; score 437 drivers/gpu/drm/drm_client_modeset.c int my_score, best_score, score; score 490 drivers/gpu/drm/drm_client_modeset.c score = my_score + drm_client_pick_crtcs(client, connectors, connector_count, score 492 drivers/gpu/drm/drm_client_modeset.c if (score > best_score) { score 493 drivers/gpu/drm/drm_client_modeset.c best_score = score; score 1332 drivers/gpu/drm/drm_edid.c int i, score = 0; score 1336 drivers/gpu/drm/drm_edid.c score++; score 1338 drivers/gpu/drm/drm_edid.c return score; score 1394 drivers/gpu/drm/drm_edid.c int score = drm_edid_header_is_valid(raw_edid); score 1395 drivers/gpu/drm/drm_edid.c if (score == 8) { score 1398 drivers/gpu/drm/drm_edid.c } else if (score >= edid_fixup) { score 57 drivers/gpu/drm/i915/gt/intel_reset.c unsigned int score; score 61 drivers/gpu/drm/i915/gt/intel_reset.c score = I915_CLIENT_SCORE_CONTEXT_BAN; score 63 drivers/gpu/drm/i915/gt/intel_reset.c score = 0; score 67 drivers/gpu/drm/i915/gt/intel_reset.c score += I915_CLIENT_SCORE_HANG_FAST; score 69 drivers/gpu/drm/i915/gt/intel_reset.c if (score) { score 70 drivers/gpu/drm/i915/gt/intel_reset.c atomic_add(score, &file_priv->ban_score); score 73 drivers/gpu/drm/i915/gt/intel_reset.c ctx->name, score, score 35 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c int score; score 56 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c int score = 1; score 91 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c score += 1; score 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c score += 1; score 96 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c score += 3; score 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c score += 3; score 105 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c score += shadow_image(bios, idx + 1, offset + image.size, mthd); score 106 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c return score; score 123 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c mthd->score = shadow_image(bios, 0, 0, mthd); score 126 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c nvkm_debug(subdev, "scored %d\n", mthd->score); score 132 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c return mthd->score; score 206 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best->score) { score 214 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best || !best->score) { score 216 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!mthd->skip || best->score < mthd->skip) { score 218 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (mthd->score > best->score) score 231 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best->score) { score 979 drivers/gpu/drm/radeon/radeon_uvd.c unsigned vclk_div, dclk_div, score; score 1002 drivers/gpu/drm/radeon/radeon_uvd.c score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); score 1005 drivers/gpu/drm/radeon/radeon_uvd.c if (score < optimal_score) { score 1009 drivers/gpu/drm/radeon/radeon_uvd.c optimal_score = score; score 412 drivers/mtd/rfd_ftl.c int block, best_block, score, old_sector_block; score 418 drivers/mtd/rfd_ftl.c score = 0x7fffffff; /* MAX_INT */ score 452 drivers/mtd/rfd_ftl.c if (this_score < score) { score 454 drivers/mtd/rfd_ftl.c score = this_score; score 209 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c unsigned int score, delta, i, shift = 1; score 214 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c score = MLXSW_THERMAL_TEMP_SCORE_MAX; score 219 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c score = delta * shift; score 225 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (score > thermal->tz_highest_score) { score 226 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c thermal->tz_highest_score = score; score 1584 drivers/net/wireless/st/cw1200/wsm.c unsigned score, best = -1; score 1597 drivers/net/wireless/st/cw1200/wsm.c score = ((edca->aifns + edca->cwmin) << 16) + score 1600 drivers/net/wireless/st/cw1200/wsm.c if (score < best && (winner < 0 || i != 3)) { score 1601 drivers/net/wireless/st/cw1200/wsm.c best = score; score 515 drivers/of/base.c int index = 0, score = 0; score 523 drivers/of/base.c score = INT_MAX/2 - (index << 2); score 527 drivers/of/base.c if (!score) score 535 drivers/of/base.c score += 2; score 542 drivers/of/base.c score++; score 545 drivers/of/base.c return score; score 571 drivers/of/base.c unsigned int tmp, score = 0; score 578 drivers/of/base.c if (tmp > score) score 579 drivers/of/base.c score = tmp; score 583 drivers/of/base.c return score; score 1112 drivers/of/base.c int score, best_score = 0; score 1118 drivers/of/base.c score = __of_device_is_compatible(node, matches->compatible, score 1120 drivers/of/base.c if (score > best_score) { score 1122 drivers/of/base.c best_score = score; score 731 drivers/of/fdt.c unsigned long l, score = 0; score 737 drivers/of/fdt.c score++; score 739 drivers/of/fdt.c return score; score 763 drivers/of/fdt.c unsigned int tmp, score = 0; score 770 drivers/of/fdt.c if (tmp && (score == 0 || (tmp < score))) score 771 drivers/of/fdt.c score = tmp; score 775 drivers/of/fdt.c return score; score 822 drivers/of/fdt.c unsigned int best_score = ~1, score = 0; score 826 drivers/of/fdt.c score = of_flat_dt_match(dt_root, compat); score 827 drivers/of/fdt.c if (score > 0 && score < best_score) { score 829 drivers/of/fdt.c best_score = score; score 778 drivers/video/fbdev/core/modedb.c int score = abs(db[i].refresh - refresh); score 781 drivers/video/fbdev/core/modedb.c score += abs(db_interlace - interlace); score 789 drivers/video/fbdev/core/modedb.c if (score < diff) { score 790 drivers/video/fbdev/core/modedb.c diff = score; score 1302 kernel/sched/fair.c unsigned long score = 0; score 1357 kernel/sched/fair.c score += faults; score 1360 kernel/sched/fair.c return score; score 2055 kernel/sched/fair.c unsigned long score, max_score = 0; score 2061 kernel/sched/fair.c score = group_weight(p, node, dist); score 2062 kernel/sched/fair.c if (score > max_score) { score 2063 kernel/sched/fair.c max_score = score; score 232 net/ipv4/inet_hashtables.c int score = -1; score 242 net/ipv4/inet_hashtables.c score = sk->sk_family == PF_INET ? 2 : 1; score 244 net/ipv4/inet_hashtables.c score++; score 246 net/ipv4/inet_hashtables.c return score; score 267 net/ipv4/inet_hashtables.c int score, hiscore = 0; score 272 net/ipv4/inet_hashtables.c score = compute_score(sk, net, hnum, daddr, score 274 net/ipv4/inet_hashtables.c if (score > hiscore) { score 284 net/ipv4/inet_hashtables.c hiscore = score; score 358 net/ipv4/udp.c int score; score 370 net/ipv4/udp.c score = (sk->sk_family == PF_INET) ? 2 : 1; score 376 net/ipv4/udp.c score += 4; score 382 net/ipv4/udp.c score += 4; score 389 net/ipv4/udp.c score += 4; score 392 net/ipv4/udp.c score++; score 393 net/ipv4/udp.c return score; score 417 net/ipv4/udp.c int score, badness; score 423 net/ipv4/udp.c score = compute_score(sk, net, saddr, sport, score 425 net/ipv4/udp.c if (score > badness) { score 435 net/ipv4/udp.c badness = score; score 1515 net/ipv6/addrconf.c struct ipv6_saddr_score *score, score 1521 net/ipv6/addrconf.c if (i <= score->rule) { score 1524 net/ipv6/addrconf.c ret = score->scopedist; score 1527 net/ipv6/addrconf.c ret = score->matchlen; score 1530 net/ipv6/addrconf.c ret = !!test_bit(i, score->scorebits); score 1538 net/ipv6/addrconf.c ret = !!score->ifa; score 1542 net/ipv6/addrconf.c ret = ipv6_addr_equal(&score->ifa->addr, dst->addr); score 1566 net/ipv6/addrconf.c ret = __ipv6_addr_src_scope(score->addr_type); score 1571 net/ipv6/addrconf.c score->scopedist = ret; score 1578 net/ipv6/addrconf.c if (!ipv6_use_optimistic_addr(net, score->ifa->idev)) score 1580 net/ipv6/addrconf.c ret = ipv6_saddr_preferred(score->addr_type) || score 1581 net/ipv6/addrconf.c !(score->ifa->flags & avoid); score 1589 net/ipv6/addrconf.c ret = !(score->ifa->flags & IFA_F_HOMEADDRESS) ^ prefhome; score 1596 net/ipv6/addrconf.c dst->ifindex == score->ifa->idev->dev->ifindex); score 1601 net/ipv6/addrconf.c &score->ifa->addr, score->addr_type, score 1602 net/ipv6/addrconf.c score->ifa->idev->dev->ifindex) == dst->label; score 1611 net/ipv6/addrconf.c score->ifa->idev->cnf.use_tempaddr >= 2; score 1612 net/ipv6/addrconf.c ret = (!(score->ifa->flags & IFA_F_TEMPORARY)) ^ preftmp; score 1619 net/ipv6/addrconf.c ret = !(ipv6_addr_orchid(&score->ifa->addr) ^ score 1624 net/ipv6/addrconf.c ret = ipv6_addr_diff(&score->ifa->addr, dst->addr); score 1625 net/ipv6/addrconf.c if (ret > score->ifa->prefix_len) score 1626 net/ipv6/addrconf.c ret = score->ifa->prefix_len; score 1627 net/ipv6/addrconf.c score->matchlen = ret; score 1634 net/ipv6/addrconf.c ret = !(score->ifa->flags & IFA_F_OPTIMISTIC); score 1642 net/ipv6/addrconf.c __set_bit(i, score->scorebits); score 1643 net/ipv6/addrconf.c score->rule = i; score 1654 net/ipv6/addrconf.c struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; score 1656 net/ipv6/addrconf.c list_for_each_entry_rcu(score->ifa, &idev->addr_list, if_list) { score 1669 net/ipv6/addrconf.c if ((score->ifa->flags & IFA_F_TENTATIVE) && score 1670 net/ipv6/addrconf.c (!(score->ifa->flags & IFA_F_OPTIMISTIC))) score 1673 net/ipv6/addrconf.c score->addr_type = __ipv6_addr_type(&score->ifa->addr); score 1675 net/ipv6/addrconf.c if (unlikely(score->addr_type == IPV6_ADDR_ANY || score 1676 net/ipv6/addrconf.c score->addr_type & IPV6_ADDR_MULTICAST)) { score 1682 net/ipv6/addrconf.c score->rule = -1; score 1683 net/ipv6/addrconf.c bitmap_zero(score->scorebits, IPV6_SADDR_RULE_MAX); score 1689 net/ipv6/addrconf.c miniscore = ipv6_get_saddr_eval(net, score, dst, i); score 1693 net/ipv6/addrconf.c score->scopedist > 0) { score 1706 net/ipv6/addrconf.c swap(hiscore, score); score 1710 net/ipv6/addrconf.c score->ifa = hiscore->ifa; score 77 net/ipv6/ila/ila_xlat.c int score = 0; score 80 net/ipv6/ila/ila_xlat.c score += 1 << 1; score 82 net/ipv6/ila/ila_xlat.c return score; score 97 net/ipv6/inet6_hashtables.c int score = -1; score 107 net/ipv6/inet6_hashtables.c score = 1; score 109 net/ipv6/inet6_hashtables.c score++; score 111 net/ipv6/inet6_hashtables.c return score; score 125 net/ipv6/inet6_hashtables.c int score, hiscore = 0; score 130 net/ipv6/inet6_hashtables.c score = compute_score(sk, net, hnum, daddr, dif, sdif, score 132 net/ipv6/inet6_hashtables.c if (score > hiscore) { score 142 net/ipv6/inet6_hashtables.c hiscore = score; score 129 net/ipv6/ip6_gre.c int score, cand_score = 4; score 142 net/ipv6/ip6_gre.c score = 0; score 144 net/ipv6/ip6_gre.c score |= 1; score 146 net/ipv6/ip6_gre.c score |= 2; score 147 net/ipv6/ip6_gre.c if (score == 0) score 150 net/ipv6/ip6_gre.c if (score < cand_score) { score 152 net/ipv6/ip6_gre.c cand_score = score; score 166 net/ipv6/ip6_gre.c score = 0; score 168 net/ipv6/ip6_gre.c score |= 1; score 170 net/ipv6/ip6_gre.c score |= 2; score 171 net/ipv6/ip6_gre.c if (score == 0) score 174 net/ipv6/ip6_gre.c if (score < cand_score) { score 176 net/ipv6/ip6_gre.c cand_score = score; score 192 net/ipv6/ip6_gre.c score = 0; score 194 net/ipv6/ip6_gre.c score |= 1; score 196 net/ipv6/ip6_gre.c score |= 2; score 197 net/ipv6/ip6_gre.c if (score == 0) score 200 net/ipv6/ip6_gre.c if (score < cand_score) { score 202 net/ipv6/ip6_gre.c cand_score = score; score 215 net/ipv6/ip6_gre.c score = 0; score 217 net/ipv6/ip6_gre.c score |= 1; score 219 net/ipv6/ip6_gre.c score |= 2; score 220 net/ipv6/ip6_gre.c if (score == 0) score 223 net/ipv6/ip6_gre.c if (score < cand_score) { score 225 net/ipv6/ip6_gre.c cand_score = score; score 106 net/ipv6/udp.c int score; score 118 net/ipv6/udp.c score = 0; score 124 net/ipv6/udp.c score++; score 130 net/ipv6/udp.c score++; score 136 net/ipv6/udp.c score++; score 139 net/ipv6/udp.c score++; score 141 net/ipv6/udp.c return score; score 152 net/ipv6/udp.c int score, badness; score 158 net/ipv6/udp.c score = compute_score(sk, net, saddr, sport, score 160 net/ipv6/udp.c if (score > badness) { score 172 net/ipv6/udp.c badness = score; score 266 sound/soc/codecs/tlv320aic23.c int score; score 271 sound/soc/codecs/tlv320aic23.c score = get_score(adc, adc_l, adc_h, need_adc, score 273 sound/soc/codecs/tlv320aic23.c if (best_score > score) { score 274 sound/soc/codecs/tlv320aic23.c best_score = score; score 279 sound/soc/codecs/tlv320aic23.c score = get_score((adc >> 1), adc_l, adc_h, need_adc, score 282 sound/soc/codecs/tlv320aic23.c if ((score != UINT_MAX) && (best_score >= score)) { score 283 sound/soc/codecs/tlv320aic23.c best_score = score; score 593 sound/usb/pcm.c int score = 0; score 610 sound/usb/pcm.c score++; score 614 sound/usb/pcm.c if (!score) { score 622 sound/usb/pcm.c score++; score 625 sound/usb/pcm.c "%s: (fmt @%p) score %d\n", __func__, fp, score); score 627 sound/usb/pcm.c return score; score 656 sound/usb/pcm.c int score = match_endpoint_audioformats(subs, score 660 sound/usb/pcm.c if (score > cur_score) { score 662 sound/usb/pcm.c cur_score = score; score 392 tools/testing/selftests/cgroup/cgroup_util.c int set_oom_adj_score(int pid, int score) score 403 tools/testing/selftests/cgroup/cgroup_util.c len = dprintf(fd, "%d", score); score 45 tools/testing/selftests/cgroup/cgroup_util.h extern int set_oom_adj_score(int pid, int score);