/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 34 #define TEST_FAIL 1 macro 71 return TEST_FAIL; in start_trace() 76 return TEST_FAIL; in start_trace() 88 return TEST_FAIL; in stop_trace() 100 return TEST_FAIL; in cont_trace() 153 return TEST_FAIL; in show_tar_registers() 186 return TEST_FAIL; in show_tar_registers() 199 return TEST_FAIL; in write_tar_registers() 230 return TEST_FAIL; in write_tar_registers() 242 return TEST_FAIL; in show_tm_checkpointed_state() [all …]
|
D | core-pkey.c | 170 return TEST_FAIL; in child() 182 return TEST_FAIL; in try_core_file() 185 return buf.st_mtime >= info->core_time ? buf.st_size : TEST_FAIL; in try_core_file() 283 return TEST_FAIL; in parent() 286 return TEST_FAIL; in parent() 294 return TEST_FAIL; in parent() 299 ret = TEST_FAIL; in parent() 306 ret = TEST_FAIL; in parent() 313 if (core_size != TEST_FAIL) in parent() 319 ret = TEST_FAIL; in parent() [all …]
|
D | ptrace-vsx.h | 25 return TEST_FAIL; in validate_vsx() 49 return TEST_FAIL; in validate_vmx() 63 return TEST_FAIL; in validate_vmx() 83 return TEST_FAIL; in compare_vsx_vmx() 92 return TEST_FAIL; in compare_vsx_vmx() 100 return TEST_FAIL; in compare_vsx_vmx() 105 return TEST_FAIL; in compare_vsx_vmx()
|
D | ptrace-gpr.c | 85 return TEST_FAIL; in ptrace_gpr() 100 return TEST_FAIL; in ptrace_gpr() 110 return TEST_FAIL; in ptrace_gpr() 113 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_gpr()
|
D | ptrace-vsx.c | 79 return TEST_FAIL; in ptrace_vsx() 95 return TEST_FAIL; in ptrace_vsx() 105 return TEST_FAIL; in ptrace_vsx() 108 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_vsx()
|
D | ptrace-gpr.h | 38 return TEST_FAIL; in validate_gpr() 55 return TEST_FAIL; in validate_fpr() 72 return TEST_FAIL; in validate_fpr_float()
|
D | ptrace-tm-gpr.c | 124 return TEST_FAIL; in ptrace_tm_gpr() 137 return TEST_FAIL; in ptrace_tm_gpr() 146 return TEST_FAIL; in ptrace_tm_gpr() 149 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_gpr()
|
D | ptrace-tm-spr.c | 126 return TEST_FAIL; in ptrace_tm_spr() 145 return TEST_FAIL; in ptrace_tm_spr() 155 return TEST_FAIL; in ptrace_tm_spr() 158 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spr()
|
D | ptrace-tm-spd-gpr.c | 130 return TEST_FAIL; in ptrace_tm_spd_gpr() 148 return TEST_FAIL; in ptrace_tm_spd_gpr() 157 return TEST_FAIL; in ptrace_tm_spd_gpr() 160 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_gpr()
|
D | ptrace-tm-vsx.c | 132 return TEST_FAIL; in ptrace_tm_vsx() 148 return TEST_FAIL; in ptrace_tm_vsx() 156 return TEST_FAIL; in ptrace_tm_vsx() 159 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_vsx()
|
D | ptrace-tm-spd-vsx.c | 149 return TEST_FAIL; in ptrace_tm_spd_vsx() 165 return TEST_FAIL; in ptrace_tm_spd_vsx() 173 return TEST_FAIL; in ptrace_tm_spd_vsx() 176 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_vsx()
|
D | ptrace-tm-tar.c | 140 return TEST_FAIL; in ptrace_tm_tar() 148 return TEST_FAIL; in ptrace_tm_tar() 151 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_tar()
|
D | ptrace-tm-spd-tar.c | 153 return TEST_FAIL; in ptrace_tm_spd_tar() 162 return TEST_FAIL; in ptrace_tm_spd_tar() 165 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_tar()
|
D | ptrace-tar.c | 89 return TEST_FAIL; in ptrace_tar() 126 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tar()
|
/Linux-v4.19/lib/ |
D | test-kstrtox.c | 26 #define TEST_FAIL(fn, type, fmt, test) \ macro 234 TEST_FAIL(kstrtoull, unsigned long long, "%llu", test_ull_fail); in test_kstrtoull_fail() 287 TEST_FAIL(kstrtoll, long long, "%lld", test_ll_fail); in test_kstrtoll_fail() 338 TEST_FAIL(kstrtou64, u64, "%llu", test_u64_fail); in test_kstrtou64_fail() 390 TEST_FAIL(kstrtos64, s64, "%lld", test_s64_fail); in test_kstrtos64_fail() 441 TEST_FAIL(kstrtou32, u32, "%u", test_u32_fail); in test_kstrtou32_fail() 493 TEST_FAIL(kstrtos32, s32, "%d", test_s32_fail); in test_kstrtos32_fail() 544 TEST_FAIL(kstrtou16, u16, "%hu", test_u16_fail); in test_kstrtou16_fail() 598 TEST_FAIL(kstrtos16, s16, "%hd", test_s16_fail); in test_kstrtos16_fail() 649 TEST_FAIL(kstrtou8, u8, "%hhu", test_u8_fail); in test_kstrtou8_fail() [all …]
|
/Linux-v4.19/tools/perf/arch/x86/tests/ |
D | bp-modify.c | 69 return TEST_FAIL; in bp_modify1() 108 return TEST_FAIL; in bp_modify1() 124 return TEST_FAIL; in bp_modify1() 127 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1() 146 return TEST_FAIL; in bp_modify2() 184 return TEST_FAIL; in bp_modify2() 200 return TEST_FAIL; in bp_modify2() 203 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
|
D | intel-cqm.c | 49 int err = TEST_FAIL; in test__intel_cqm_count_nmi_context() 56 return TEST_FAIL; in test__intel_cqm_count_nmi_context()
|
/Linux-v4.19/tools/perf/tests/ |
D | bpf.c | 121 int i, ret = TEST_FAIL, err = 0, count = 0; in do_test() 134 return TEST_FAIL; in do_test() 145 return TEST_FAIL; in do_test() 235 return TEST_FAIL; in __test__bpf() 247 ret = TEST_FAIL; in __test__bpf() 262 ret = TEST_FAIL; in __test__bpf() 269 ret = TEST_FAIL; in __test__bpf() 273 ret = TEST_FAIL; in __test__bpf() 275 ret = TEST_FAIL; in __test__bpf() 331 return TEST_FAIL; in test__bpf()
|
D | bp_signal_overflow.c | 52 return TEST_FAIL; in bp_count() 75 return TEST_FAIL; in test__bp_signal_overflow() 99 return TEST_FAIL; in test__bp_signal_overflow() 133 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
|
D | bp_signal.c | 132 return TEST_FAIL; in __event() 162 return TEST_FAIL; in bp_count() 180 return TEST_FAIL; in test__bp_signal() 186 return TEST_FAIL; in test__bp_signal() 289 TEST_OK : TEST_FAIL; in test__bp_signal()
|
D | event-times.c | 48 return perf_evlist__start_workload(evlist) == 1 ? TEST_OK : TEST_FAIL; in attach__enable_on_exec() 80 return perf_evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled() 100 return err == 0 ? TEST_OK : TEST_FAIL; in attach__current_enabled() 158 return err ? TEST_FAIL : TEST_OK; in attach__cpu_enabled() 208 return !err ? TEST_OK : TEST_FAIL; in test_times()
|
D | backward-ring-buffer.c | 50 return TEST_FAIL; in count_samples() 68 return TEST_FAIL; in do_test() 105 return TEST_FAIL; in test__backward_ring_buffer() 135 ret = TEST_FAIL; in test__backward_ring_buffer()
|
D | llvm.c | 18 return TEST_FAIL; in test__bpf_parsing() 66 int err, old_verbose, ret = TEST_FAIL; in test_llvm__fetch_bpf_obj() 69 return TEST_FAIL; in test_llvm__fetch_bpf_obj() 144 return TEST_FAIL; in test__llvm()
|
D | perf-hooks.c | 42 return TEST_FAIL; in test__perf_hooks() 47 return TEST_FAIL; in test__perf_hooks()
|
D | hists_filter.c | 102 return TEST_FAIL; in add_hist_entries() 107 int err = TEST_FAIL; in test__hists_filter() 121 err = TEST_FAIL; in test__hists_filter()
|