| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | monitor_mwait_test.c | 26 #define GUEST_ASSERT_MONITOR_MWAIT(insn, testcase, vector) \ argument 28 bool fault_wanted = ((testcase) & MWAIT_QUIRK_DISABLED) && \ 29 ((testcase) & MWAIT_DISABLED); \ 34 testcase, ex_str(vector)); \ 38 testcase, ex_str(vector)); \ 43 int testcase = (int) (long) arg; in guest_monitor_wait() local 47 if (!(testcase & MWAIT_DISABLED)) in guest_monitor_wait() 51 __GUEST_ASSERT(this_cpu_has(X86_FEATURE_MWAIT) == !(testcase & MWAIT_DISABLED), in guest_monitor_wait() 53 (testcase & MWAIT_DISABLED) ? "cleared" : "set"); in guest_monitor_wait() 60 GUEST_ASSERT_MONITOR_MWAIT("MONITOR", testcase, vector); in guest_monitor_wait() [all …]
|
| /linux/tools/testing/selftests/net/can/ |
| H A D | test_raw_filter.c | 28 static int send_can_frames(int sock, int testcase) in send_can_frames() argument 33 frame.data[0] = testcase; in send_can_frames() 97 int testcase; in FIXTURE_VARIANT() local 106 .testcase = 1, in FIXTURE_VARIANT_ADD() 120 .testcase = 2, in FIXTURE_VARIANT_ADD() 134 .testcase = 3, in FIXTURE_VARIANT_ADD() 148 .testcase = 4, in FIXTURE_VARIANT_ADD() 162 .testcase = 5, in FIXTURE_VARIANT_ADD() 174 .testcase = 6, in FIXTURE_VARIANT_ADD() 186 .testcase = 7, in FIXTURE_VARIANT_ADD() [all …]
|
| /linux/fs/fat/ |
| H A D | fat_test.c | 135 struct fat_timestamp_testcase *testcase = in fat_time_fat2unix_test() local 139 fake_sb.options.time_offset = testcase->time_offset; in fat_time_fat2unix_test() 142 testcase->time, in fat_time_fat2unix_test() 143 testcase->date, in fat_time_fat2unix_test() 144 testcase->cs); in fat_time_fat2unix_test() 146 testcase->ts.tv_sec, in fat_time_fat2unix_test() 150 testcase->ts.tv_nsec, in fat_time_fat2unix_test() 160 struct fat_timestamp_testcase *testcase = in fat_time_unix2fat_test() local 164 fake_sb.options.time_offset = testcase->time_offset; in fat_time_unix2fat_test() 166 fat_time_unix2fat(&fake_sb, &testcase->ts, in fat_time_unix2fat_test() [all …]
|
| /linux/drivers/of/unittest-data/ |
| H A D | testcases.dtso | 9 * testcase data that intentionally results in an error is located here 13 testcase-data { 14 testcase-device2 { 15 compatible = "testcase-device";
|
| H A D | tests-phandle.dtsi | 5 testcase-alias = &testcase; 8 testcase: testcase-data { label
|
| H A D | overlay_common.dtsi | 7 * Do not add any nodes other than "/testcase-data-2" in node "/". 13 testcase-data-2 {
|
| H A D | tests-lifecycle.dtsi | 4 testcase-data {
|
| H A D | overlay_0.dtso | 7 &{/testcase-data/overlay-node/test-bus/test-unittest0} {
|
| H A D | overlay_1.dtso | 7 &{/testcase-data/overlay-node/test-bus/test-unittest1} {
|
| H A D | overlay_13.dtso | 7 &{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13} {
|
| H A D | overlay_12.dtso | 7 &{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12} {
|
| H A D | testcases_common.dtsi | 4 testcase-data {
|
| H A D | tests-match.dtsi | 4 testcase-data {
|
| H A D | overlay_bad_add_dup_node.dtso | 7 * /testcase-data-2/substation@100/motor-1
|
| H A D | tests-platform.dtsi | 4 testcase-data {
|
| H A D | tests-overlay.dtsi | 4 testcase-data {
|
| H A D | overlay_bad_add_dup_prop.dtso | 7 * /testcase-data-2/substation@100/motor-1/electric
|
| /linux/tools/testing/selftests/mm/ |
| H A D | va_high_addr_switch.c | 26 struct testcase { struct 35 static struct testcase *testcases; argument 36 static struct testcase *hugetlb_testcases; 58 struct testcase t[] = { in testcases_init() 184 struct testcase ht[] = { in testcases_init() 260 static int run_test(struct testcase *test, int count) in run_test() 266 struct testcase *t = test + i; in run_test()
|
| H A D | uffd-wp-mremap.c | 247 struct testcase { struct 255 static const struct testcase testcases[] = { argument 364 const struct testcase *tc = &testcases[i]; in main()
|
| /linux/tools/testing/selftests/powerpc/stringloops/ |
| H A D | memcmp.c | 74 static int testcase(bool islarge) in testcase() function 160 testcase(0); in testcases() 161 testcase(1); in testcases()
|
| H A D | strlen.c | 51 static int testcase(void) in testcase() function 126 return test_harness(testcase, "strlen"); in main()
|
| /linux/tools/testing/selftests/net/ |
| H A D | udpgso.c | 64 struct testcase { struct 83 struct testcase testcases_v4[] = { argument 199 struct testcase testcases_v6[] = { 429 static void run_one(struct testcase *test, int fdt, int fdr, in run_one() 499 struct testcase *tests, *test; in run_all()
|
| /linux/tools/perf/tests/ |
| H A D | backward-ring-buffer.c | 20 static void testcase(void) in testcase() function 76 testcase(); in do_test()
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | Makefile | 188 testcase-targets := $(addsuffix .o,$(addprefix $(SCXOBJ_DIR)/,$(auto-test-targets))) 199 $(testcase-targets): $(SCXOBJ_DIR)/%.o: %.c $(SCXOBJ_DIR)/runner.o $(all_test_bpfprogs) | $(SCXOBJ_… 206 $(OUTPUT)/runner: $(SCXOBJ_DIR)/runner.o $(SCXOBJ_DIR)/util.o $(BPFOBJ) $(testcase-targets)
|
| /linux/tools/testing/selftests/ftrace/ |
| H A D | ftracetest | 307 testcase() { # testfile function 443 testcase $1
|