| /tools/testing/selftests/powerpc/dexcr/ |
| D | dexcr_test.c | 16 static int dexcr_prctl_onexec_test_child(unsigned long which, const char *status) in dexcr_prctl_onexec_test_child() argument 19 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_onexec_test_child() 20 int ctrl = pr_get_dexcr(which); in dexcr_prctl_onexec_test_child() 48 static int dexcr_prctl_aspect_test(unsigned long which) in dexcr_prctl_aspect_test() argument 50 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_aspect_test() 57 SKIP_IF_MSG(!pr_dexcr_aspect_supported(which), "DEXCR aspect not supported"); in dexcr_prctl_aspect_test() 58 SKIP_IF_MSG(!pr_dexcr_aspect_editable(which), "DEXCR aspect not editable with prctl"); in dexcr_prctl_aspect_test() 61 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET | PR_PPC_DEXCR_CTRL_CLEAR); in dexcr_prctl_aspect_test() 66 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET_ONEXEC | PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC); in dexcr_prctl_aspect_test() 72 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET); in dexcr_prctl_aspect_test() [all …]
|
| 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()
|
| 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/ |
| 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/ |
| 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 …]
|
| 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/timers/ |
| D | posix_timers.c | 99 static void check_itimer(int which, const char *name) in check_itimer() argument 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() 118 if (setitimer(which, &val, NULL) < 0) 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() 134 static void check_timer_create(int which, const char *name) in check_timer_create() argument 144 if (timer_create(which, NULL, &id) < 0) in check_timer_create() [all …]
|
| /tools/testing/selftests/powerpc/scripts/ |
| D | hmi.sh | 12 elif which getscom > /dev/null; then 13 GETSCOM=$(which getscom) 14 PUTSCOM=$(which putscom)
|
| /tools/power/cpupower/lib/ |
| 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()
|
| 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()
|
| D | acpi_cppc.h | 19 enum acpi_cppc_value which);
|
| /tools/testing/selftests/riscv/hwprobe/ |
| D | Makefile | 7 TEST_GEN_PROGS := hwprobe cbo which-cpus 17 $(OUTPUT)/which-cpus: which-cpus.c sys_hwprobe.S
|
| D | .gitignore | 3 which-cpus
|
| /tools/power/cpupower/utils/helpers/ |
| 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/ |
| 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/testing/selftests/turbostat/ |
| D | defcolumns.py | 5 from shutil import which 7 turbostat = which('turbostat') 12 timeout = which('timeout')
|
| D | smi_aperf_mperf.py | 5 from shutil import which 24 perf = which('perf') 85 turbostat = which('turbostat') 90 timeout = which('timeout')
|
| 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/ |
| D | Makefile | 8 HAVE_SWIG := $(shell if which swig >/dev/null 2>&1; then echo 1; else echo 0; fi) 9 HAVE_PYCONFIG := $(shell if which python-config >/dev/null 2>&1; then echo 1; else echo 0; fi)
|
| /tools/perf/Documentation/ |
| 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 176 …f the probe point definition. In addition, '@SRC' specifies a source file which has that function. 179 'SDTEVENT' and 'PROVIDER' is the pre-defined event name which is defined by user SDT (Statically De… 180 Note that before using the SDT event, the target binary (on which SDT events are defined) must be s… [all …]
|
| 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
|
| D | db-export.txt | 13 which export data to a SQLite3 or PostgreSQL database. 15 The export process provides records with unique sequential ids which allows the 36 arguments which old scripts will ignore.
|
| /tools/testing/selftests/ftrace/ |
| 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/rcutorture/bin/ |
| D | jitterstop.sh | 18 echo jitterstop.sh: Missing directory in which to place jittering file.
|
| /tools/testing/selftests/hid/tests/ |
| D | test_gamepad.py | 105 def _get_libevdev_abs_events(self, which): argument 107 abs_map = self.uhdev.axes_map[which] 117 def _test_joystick_press(self, which, data): argument 120 libevdev_axes = self._get_libevdev_abs_events(which) 123 if which == "left_stick":
|