| /tools/testing/selftests/powerpc/dexcr/ |
| A D | dexcr_test.c | 20 int ctrl = pr_get_dexcr(which); in dexcr_prctl_onexec_test_child() 75 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 84 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 93 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 103 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 113 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 121 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 131 unsigned int ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 133 sprintf(which_str, "%lu", which); in dexcr_prctl_aspect_test() 155 sprintf(which_str, "%lu", which); in dexcr_prctl_aspect_test() [all …]
|
| A D | dexcr.c | 47 unsigned int pr_which_to_aspect(unsigned long which) in pr_which_to_aspect() argument 49 switch (which) { in pr_which_to_aspect() 63 int pr_get_dexcr(unsigned long which) in pr_get_dexcr() argument 65 return prctl(PR_PPC_GET_DEXCR, which, 0UL, 0UL, 0UL); in pr_get_dexcr() 68 int pr_set_dexcr(unsigned long which, unsigned long ctrl) in pr_set_dexcr() argument 70 return prctl(PR_PPC_SET_DEXCR, which, ctrl, 0UL, 0UL); in pr_set_dexcr() 73 bool pr_dexcr_aspect_supported(unsigned long which) in pr_dexcr_aspect_supported() argument 75 if (pr_get_dexcr(which) == -1) in pr_dexcr_aspect_supported() 81 bool pr_dexcr_aspect_editable(unsigned long which) in pr_dexcr_aspect_editable() argument 83 return pr_get_dexcr(which) & PR_PPC_DEXCR_CTRL_EDITABLE; in pr_dexcr_aspect_editable()
|
| A D | dexcr.h | 78 bool pr_dexcr_aspect_supported(unsigned long which); 80 bool pr_dexcr_aspect_editable(unsigned long which); 86 unsigned int pr_which_to_aspect(unsigned long which);
|
| /tools/testing/selftests/bpf/progs/ |
| A D | tailcall6.c | 13 int count, which; variable 19 if (__builtin_constant_p(which)) in classifier_0() 21 bpf_tail_call(skb, &jmp_table, which); in classifier_0() 28 if (__builtin_constant_p(which)) in entry() 30 bpf_tail_call(skb, &jmp_table, which); in entry()
|
| /tools/testing/kunit/test_data/ |
| A D | test_is_test_passed-no_tests_run_no_header.log | 39 Using a channel type which is configured out of UML 41 Using a channel type which is configured out of UML 43 Using a channel type which is configured out of UML 45 Using a channel type which is configured out of UML 47 Using a channel type which is configured out of UML 49 Using a channel type which is configured out of UML 51 Using a channel type which is configured out of UML 53 Using a channel type which is configured out of UML 55 Using a channel type which is configured out of UML 57 Using a channel type which is configured out of UML [all …]
|
| A D | test_output_isolated_correctly.log | 61 Using a channel type which is configured out of UML 63 Using a channel type which is configured out of UML 65 Using a channel type which is configured out of UML 67 Using a channel type which is configured out of UML 69 Using a channel type which is configured out of UML 71 Using a channel type which is configured out of UML 73 Using a channel type which is configured out of UML 75 Using a channel type which is configured out of UML 77 Using a channel type which is configured out of UML 79 Using a channel type which is configured out of UML [all …]
|
| /tools/testing/selftests/powerpc/scripts/ |
| A D | hmi.sh | 12 elif which getscom > /dev/null; then 13 GETSCOM=$(which getscom) 14 PUTSCOM=$(which putscom)
|
| /tools/power/cpupower/lib/ |
| A D | cpuidle.c | 137 enum idlestate_value which) in cpuidle_state_get_one_value() argument 144 if (which >= MAX_IDLESTATE_VALUE_FILES) in cpuidle_state_get_one_value() 148 idlestate_value_files[which], in cpuidle_state_get_one_value() 177 enum idlestate_string which) in cpuidle_state_get_one_string() argument 183 if (which >= MAX_IDLESTATE_STRING_FILES) in cpuidle_state_get_one_string() 187 idlestate_string_files[which], in cpuidle_state_get_one_string() 350 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument 356 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string() 359 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
|
| A D | acpi_cppc.c | 38 unsigned long acpi_cppc_get_data(unsigned int cpu, enum acpi_cppc_value which) in acpi_cppc_get_data() argument 45 if (which >= MAX_CPPC_VALUE_FILES) in acpi_cppc_get_data() 48 len = acpi_cppc_read_file(cpu, acpi_cppc_value_files[which], in acpi_cppc_get_data()
|
| /tools/testing/selftests/riscv/hwprobe/ |
| A D | Makefile | 7 TEST_GEN_PROGS := hwprobe cbo which-cpus 17 $(OUTPUT)/which-cpus: which-cpus.c sys_hwprobe.S
|
| A D | .gitignore | 3 which-cpus
|
| /tools/testing/selftests/timers/ |
| A D | posix_timers.c | 108 if (which == ITIMER_VIRTUAL) in check_itimer() 110 else if (which == ITIMER_PROF) in check_itimer() 112 else if (which == ITIMER_REAL) in check_itimer() 121 if (which == ITIMER_VIRTUAL) in check_itimer() 123 else if (which == ITIMER_PROF) in check_itimer() 125 else if (which == ITIMER_REAL) in check_itimer() 476 if (clock_gettime(which, &start)) in check_sigev_none() 480 if (clock_gettime(which, &now)) in check_sigev_none() 527 if (clock_gettime(which, &start)) in check_gettime() 531 if (clock_gettime(which, &now)) in check_gettime() [all …]
|
| /tools/power/cpupower/utils/helpers/ |
| A D | sysfs.c | 205 enum idlestate_value which) in sysfs_idlestate_get_one_value() argument 212 if (which >= MAX_IDLESTATE_VALUE_FILES) in sysfs_idlestate_get_one_value() 216 idlestate_value_files[which], in sysfs_idlestate_get_one_value() 245 enum idlestate_string which) in sysfs_idlestate_get_one_string() argument 251 if (which >= MAX_IDLESTATE_STRING_FILES) in sysfs_idlestate_get_one_string() 255 idlestate_string_files[which], in sysfs_idlestate_get_one_string() 412 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument 418 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string() 421 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
|
| /tools/testing/selftests/net/rds/ |
| A D | run.sh | 34 if ! which "$GCOV_CMD" > /dev/null 2>&1; then 47 if ! which "$GCOV_CMD" > /dev/null 2>&1; then 127 if ! which strace > /dev/null 2>&1; then 131 if ! which tcpdump > /dev/null 2>&1; then 136 if ! which python3 > /dev/null 2>&1; then
|
| /tools/include/nolibc/sys/ |
| A D | wait.h | 41 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid() argument 43 return my_syscall5(__NR_waitid, which, pid, infop, options, rusage); in sys_waitid() 47 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid() argument 49 return __sysret(sys_waitid(which, pid, infop, options, NULL)); in waitid()
|
| /tools/testing/selftests/module/ |
| A D | find_symbol.sh | 14 if ! which modprobe 2> /dev/null > /dev/null; then 19 if ! which kmod 2> /dev/null > /dev/null; then 24 if ! which perf 2> /dev/null > /dev/null; then
|
| /tools/testing/selftests/turbostat/ |
| A D | defcolumns.py | 5 from shutil import which 7 turbostat = which('turbostat') 12 timeout = which('timeout')
|
| A D | smi_aperf_mperf.py | 5 from shutil import which 24 perf = which('perf') 85 turbostat = which('turbostat') 90 timeout = which('timeout')
|
| A D | added_perf_counters.py | 5 from shutil import which 37 perf = which('perf') 74 turbostat = which('turbostat') 79 timeout = which('timeout')
|
| /tools/power/cpupower/bindings/python/ |
| A D | Makefile | 10 HAVE_SWIG := $(shell if which swig >/dev/null 2>&1; then echo 1; else echo 0; fi) 11 HAVE_PYCONFIG := $(shell if which python-config >/dev/null 2>&1; then echo 1; else echo 0; fi)
|
| /tools/perf/Documentation/ |
| A D | perf-probe.txt | 38 Specify vmlinux path which has debuginfo (Dwarf binary). 44 Specify module name in which perf-probe searches probe points 47 a module which has not been loaded yet). 81 Show source code lines which can be probed. This needs an argument 82 which specifies a range of the source code. (see LINE SYNTAX for detail) 95 which do not have instances are ignored. 125 (With --add) Cache the probes. Any events which successfully added 242 With --filter "foo* | bar*", perf probe -V shows variables which start with "foo" or "bar". 247 Display which lines in schedule() can be probed: 257 Add one or more probes which has the name start with "schedule". [all …]
|
| A D | perf-buildid-cache.txt | 19 record it along with the buildid-cache, which will be used by perf-probe. 33 /proc/kcore which requires root permissions to read. Be aware that 45 Remove a cached binary which has same build-id of specified file 49 Purge all cached binaries including older caches which have specified 61 (or remote) perf.data. Only if there is already a cache which has
|
| /tools/testing/selftests/ftrace/ |
| A D | README | 52 * PASS: The test succeeded as expected. The test which exits with 0 is 55 * FAIL: The test failed, but was expected to succeed. The test which exits 60 or the test depends on a previous test, which failed. 62 The test which is in above situation, must call exit_unresolved.
|
| /tools/testing/selftests/drivers/net/lib/sh/ |
| A D | lib_netcons.sh | 269 if ! which socat > /dev/null ; then 274 if ! which ip > /dev/null ; then 279 if ! which udevadm > /dev/null ; then 318 if ! which taskset > /dev/null ; then
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | jitterstop.sh | 18 echo jitterstop.sh: Missing directory in which to place jittering file.
|