/tools/perf/trace/beauty/ |
D | sched_policy.c | 24 int policy = arg->val, in syscall_arg__scnprintf_sched_policy() local 25 flags = policy & ~SCHED_POLICY_MASK; in syscall_arg__scnprintf_sched_policy() 27 policy &= SCHED_POLICY_MASK; in syscall_arg__scnprintf_sched_policy() 28 if (policy <= SCHED_DEADLINE) in syscall_arg__scnprintf_sched_policy() 29 printed = scnprintf(bf, size, "%s", policies[policy]); in syscall_arg__scnprintf_sched_policy() 31 printed = scnprintf(bf, size, "%#x", policy); in syscall_arg__scnprintf_sched_policy()
|
/tools/power/cpupower/lib/ |
D | cpufreq.c | 230 struct cpufreq_policy *policy; in cpufreq_get_policy() local 232 policy = malloc(sizeof(struct cpufreq_policy)); in cpufreq_get_policy() 233 if (!policy) in cpufreq_get_policy() 236 policy->governor = sysfs_cpufreq_get_one_string(cpu, SCALING_GOVERNOR); in cpufreq_get_policy() 237 if (!policy->governor) { in cpufreq_get_policy() 238 free(policy); in cpufreq_get_policy() 241 policy->min = sysfs_cpufreq_get_one_value(cpu, SCALING_MIN_FREQ); in cpufreq_get_policy() 242 policy->max = sysfs_cpufreq_get_one_value(cpu, SCALING_MAX_FREQ); in cpufreq_get_policy() 243 if ((!policy->min) || (!policy->max)) { in cpufreq_get_policy() 244 free(policy->governor); in cpufreq_get_policy() [all …]
|
D | cpufreq.h | 114 void cpufreq_put_policy(struct cpufreq_policy *policy); 189 int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy);
|
/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 60 struct cpufreq_policy *policy; in proc_cpufreq_output() local 69 policy = cpufreq_get_policy(cpu); in proc_cpufreq_output() 70 if (!policy) in proc_cpufreq_output() 76 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 77 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 80 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 81 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() 83 cpufreq_put_policy(policy); in proc_cpufreq_output() 329 struct cpufreq_policy *policy = cpufreq_get_policy(cpu); in get_policy() local 330 if (!policy) { in get_policy() [all …]
|
/tools/testing/selftests/cpufreq/ |
D | cpufreq.sh | 32 for policy in $policies; do 33 $@ $policy 40 for policy in $policies; do 41 $@ $policy &
|
D | special-tests.sh | 68 echo ondemand | sudo tee $CPUFREQROOT/policy*/scaling_governor & 69 echo userspace | sudo tee $CPUFREQROOT/policy*/scaling_governor &
|
/tools/testing/selftests/netfilter/ |
D | conntrack_icmp_related.sh | 135 type filter hook forward priority 0; policy accept; 150 type filter hook input priority 0; policy accept; 166 type filter hook input priority 0; policy accept; 174 type filter hook output priority 0; policy accept; 191 type nat hook postrouting priority 0; policy accept; 197 type nat hook postrouting priority 0; policy accept;
|
D | nft_nat.sh | 152 type nat hook output priority 0; policy accept; 220 type nat hook output priority 0; policy accept; 360 type nat hook postrouting priority 0; policy accept; 449 type nat hook postrouting priority 0; policy accept; 536 type nat hook prerouting priority 0; policy accept; 612 type nat hook prerouting priority 0; policy accept; 709 type filter hook input priority 0; policy accept; 714 type filter hook output priority 0; policy accept;
|
/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi_signal_restart.c | 54 int policy, int prio) in create_rt_thread() argument 69 ret = pthread_attr_setschedpolicy(&attr, policy); in create_rt_thread()
|
D | futex_requeue_pi.c | 75 int policy, int prio) in create_rt_thread() argument 90 ret = pthread_attr_setschedpolicy(&attr, policy); in create_rt_thread()
|
/tools/power/cpupower/po/ |
D | de.po | 335 msgid " current policy: frequency should be within " 421 msgid " -p, --policy Gets the currently used cpufreq policy *\n" 422 msgstr " -p, --policy Findet die momentane Taktik heraus *\n" 632 "- Trying to set an invalid policy?\n" 683 " -b, --perf-bias [VAL] Sets CPU's power vs performance policy on some\n" 690 " -m, --sched-mc [VAL] Sets the kernel's multi core scheduler policy.\n" 697 "policy.\n" 738 " -b, --perf-bias Gets CPU's power vs performance policy on some\n" 744 msgid " -m, --sched-mc Gets the kernel's multi core scheduler policy.\n" 745 msgstr " -p, --policy Findet die momentane Taktik heraus *\n" [all …]
|
D | it.po | 334 msgid " current policy: frequency should be within " 417 msgid " -p, --policy Gets the currently used cpufreq policy *\n" 419 " -p, --policy Mostra il gestore cpufreq attualmente in uso *\n" 627 "- Trying to set an invalid policy?\n" 680 " -b, --perf-bias [VAL] Sets CPU's power vs performance policy on some\n" 687 " -m, --sched-mc [VAL] Sets the kernel's multi core scheduler policy.\n" 694 "policy.\n" 735 " -b, --perf-bias Gets CPU's power vs performance policy on some\n" 741 msgid " -m, --sched-mc Gets the kernel's multi core scheduler policy.\n" 743 " -p, --policy Mostra il gestore cpufreq attualmente in uso *\n" [all …]
|
D | cs.po | 339 msgid " current policy: frequency should be within " 421 msgid " -p, --policy Gets the currently used cpufreq policy *\n" 422 msgstr " -p, --policy Zjistí aktuální taktiku cpufreq *\n" 621 "- Trying to set an invalid policy?\n" 672 " -b, --perf-bias [VAL] Sets CPU's power vs performance policy on some\n" 679 " -m, --sched-mc [VAL] Sets the kernel's multi core scheduler policy.\n" 686 "policy.\n" 727 " -b, --perf-bias Gets CPU's power vs performance policy on some\n" 733 msgid " -m, --sched-mc Gets the kernel's multi core scheduler policy.\n" 734 msgstr " -p, --policy Zjistí aktuální taktiku cpufreq *\n" [all …]
|
D | fr.po | 334 msgid " current policy: frequency should be within " 416 msgid " -p, --policy Gets the currently used cpufreq policy *\n" 417 msgstr " -p, --policy Affiche la tactique actuelle de cpufreq *\n" 618 "- Trying to set an invalid policy?\n" 672 " -b, --perf-bias [VAL] Sets CPU's power vs performance policy on some\n" 679 " -m, --sched-mc [VAL] Sets the kernel's multi core scheduler policy.\n" 686 "policy.\n" 727 " -b, --perf-bias Gets CPU's power vs performance policy on some\n" 733 msgid " -m, --sched-mc Gets the kernel's multi core scheduler policy.\n" 734 msgstr " -p, --policy Affiche la tactique actuelle de cpufreq *\n" [all …]
|
D | pt.po | 333 msgid " current policy: frequency should be within " 419 msgid " -p, --policy Gets the currently used cpufreq policy *\n" 421 "--p, --policy Obtem a política do cpufreq em uso no momento *\n" 628 "- Trying to set an invalid policy?\n" 682 " -b, --perf-bias [VAL] Sets CPU's power vs performance policy on some\n" 689 " -m, --sched-mc [VAL] Sets the kernel's multi core scheduler policy.\n" 696 "policy.\n" 737 " -b, --perf-bias Gets CPU's power vs performance policy on some\n" 743 msgid " -m, --sched-mc Gets the kernel's multi core scheduler policy.\n" 745 "--p, --policy Obtem a política do cpufreq em uso no momento *\n" [all …]
|