/tools/perf/trace/beauty/ |
D | sched_policy.c | 26 int policy = arg->val, in syscall_arg__scnprintf_sched_policy() local 27 flags = policy & ~SCHED_POLICY_MASK; in syscall_arg__scnprintf_sched_policy() 29 policy &= SCHED_POLICY_MASK; in syscall_arg__scnprintf_sched_policy() 30 if (policy <= SCHED_DEADLINE) in syscall_arg__scnprintf_sched_policy() 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); in syscall_arg__scnprintf_sched_policy() 33 printed = scnprintf(bf, size, "%#x", policy); in syscall_arg__scnprintf_sched_policy()
|
/tools/testing/selftests/net/ |
D | xfrm_policy.sh | 39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu… 76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 82 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block 108 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block 113 …ip -net $ns xfrm policy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fw… 123 ip -net $ns xfrm policy get src $lnet dst $rnet dir out > /dev/null 130 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null 146 ip -net $ns xfrm policy add dst $plain dir out priority 10 action allow [all …]
|
D | l2tp.sh | 234 run_cmd host-1 ip xfrm policy add \ 238 run_cmd host-1 ip xfrm policy add \ 242 run_cmd host-2 ip xfrm policy add \ 246 run_cmd host-2 ip xfrm policy add \ 273 run_cmd host-1 ip -6 xfrm policy add \ 277 run_cmd host-1 ip -6 xfrm policy add \ 281 run_cmd host-2 ip -6 xfrm policy add \ 285 run_cmd host-2 ip -6 xfrm policy add \ 313 run_cmd host-1 ip xfrm policy flush 315 run_cmd host-2 ip xfrm policy flush
|
D | pmtu.sh | 469 …run_cmd ${ns_a} ip -${proto} xfrm policy add dir out mark 10 tmpl src ${veth_a_addr} dst ${veth_b_… 470 …run_cmd ${ns_a} ip -${proto} xfrm policy add dir in mark 10 tmpl src ${veth_b_addr} dst ${veth_a_a… 474 …run_cmd ${ns_b} ip -${proto} xfrm policy add dir out mark 10 tmpl src ${veth_b_addr} dst ${veth_a_… 475 …run_cmd ${ns_b} ip -${proto} xfrm policy add dir in mark 10 tmpl src ${veth_a_addr} dst ${veth_b_a…
|
/tools/power/cpupower/lib/ |
D | cpufreq.c | 229 struct cpufreq_policy *policy; in cpufreq_get_policy() local 231 policy = malloc(sizeof(struct cpufreq_policy)); in cpufreq_get_policy() 232 if (!policy) in cpufreq_get_policy() 235 policy->governor = sysfs_cpufreq_get_one_string(cpu, SCALING_GOVERNOR); in cpufreq_get_policy() 236 if (!policy->governor) { in cpufreq_get_policy() 237 free(policy); in cpufreq_get_policy() 240 policy->min = sysfs_cpufreq_get_one_value(cpu, SCALING_MIN_FREQ); in cpufreq_get_policy() 241 policy->max = sysfs_cpufreq_get_one_value(cpu, SCALING_MAX_FREQ); in cpufreq_get_policy() 242 if ((!policy->min) || (!policy->max)) { in cpufreq_get_policy() 243 free(policy->governor); in cpufreq_get_policy() [all …]
|
D | cpufreq.h | 102 void cpufreq_put_policy(struct cpufreq_policy *policy); 177 int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy);
|
/tools/lib/bpf/ |
D | nlattr.c | 45 struct libbpf_nla_policy *policy) in validate_nla() argument 54 pt = &policy[type]; in validate_nla() 104 int len, struct libbpf_nla_policy *policy) in libbpf_nla_parse() argument 117 if (policy) { in libbpf_nla_parse() 118 err = validate_nla(nla, maxtype, policy); in libbpf_nla_parse() 150 struct libbpf_nla_policy *policy) in libbpf_nla_parse_nested() argument 153 libbpf_nla_len(nla), policy); in libbpf_nla_parse_nested()
|
D | nlattr.h | 99 int len, struct libbpf_nla_policy *policy); 102 struct libbpf_nla_policy *policy);
|
/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 59 struct cpufreq_policy *policy; in proc_cpufreq_output() local 68 policy = cpufreq_get_policy(cpu); in proc_cpufreq_output() 69 if (!policy) in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() 82 cpufreq_put_policy(policy); in proc_cpufreq_output() 348 struct cpufreq_policy *policy = cpufreq_get_policy(cpu); in get_policy() local 349 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_flowtable.sh | 133 type filter hook forward priority 0; policy drop; 287 type nat hook postrouting priority 0; policy accept; 346 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 348 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
|
D | nft_nat.sh | 187 type nat hook output priority 0; policy accept; 262 type nat hook output priority 0; policy accept; 414 type nat hook postrouting priority 0; policy accept; 515 type nat hook postrouting priority 0; policy accept; 614 type nat hook prerouting priority 0; policy accept; 696 type nat hook prerouting priority 0; policy accept; 798 type filter hook input priority 0; policy accept; 803 type filter hook output priority 0; policy accept;
|
/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi_signal_restart.c | 50 int policy, int prio) in create_rt_thread() argument 65 ret = pthread_attr_setschedpolicy(&attr, policy); in create_rt_thread()
|
D | futex_requeue_pi.c | 71 int policy, int prio) in create_rt_thread() argument 86 ret = pthread_attr_setschedpolicy(&attr, policy); in create_rt_thread()
|
/tools/include/uapi/linux/ |
D | fscrypt.h | 81 } policy; /* output */ member
|
D | kvm.h | 1505 __u32 policy; member 1534 __u32 policy; member
|
/tools/testing/selftests/bpf/ |
D | test_tunnel.sh | 569 ip xfrm policy add src 10.1.1.100/32 dst 10.1.1.200/32 dir out \ 578 ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir in \ 593 ip xfrm policy add src 10.1.1.100/32 dst 10.1.1.200/32 dir in \ 600 ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir out \ 658 ip xfrm policy delete dir out src 10.1.1.200/32 dst 10.1.1.100/32 2> /dev/null 659 ip xfrm policy delete dir in src 10.1.1.100/32 dst 10.1.1.200/32 2> /dev/null
|
/tools/testing/selftests/kexec/ |
D | kexec_common_lib.sh | 205 local ima_policy=$SECURITYFS/ima/policy
|
/tools/power/cpupower/po/ |
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 | 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 | 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 …]
|
D | de.po | 348 msgid " current policy: frequency should be within " 431 msgid " -p, --policy Gets the currently used cpufreq policy *\n" 432 msgstr " -p, --policy Findet die momentane Taktik heraus *\n" 641 "- Trying to set an invalid policy?\n" 696 " -b, --perf-bias [VAL] Sets CPU's power vs performance policy on some\n" 703 " -m, --sched-mc [VAL] Sets the kernel's multi core scheduler policy.\n" 712 "policy.\n" 753 " -b, --perf-bias Gets CPU's power vs performance policy on some\n" 759 msgid " -m, --sched-mc Gets the kernel's multi core scheduler policy.\n" 766 " -s, --sched-smt Gets the kernel's thread sibling scheduler policy.\n"
|