Home
last modified time | relevance | path

Searched refs:testcase (Results 1 – 25 of 39) sorted by relevance

12

/linux/tools/testing/selftests/kvm/x86/
H A Dmonitor_mwait_test.c26 #define GUEST_ASSERT_MONITOR_MWAIT(insn, testcase, vector) \ argument
28 bool fault_wanted = ((testcase) & MWAIT_QUIRK_DISABLED) && \
29 ((testcase) & MWAIT_DISABLED); \
34 testcase, vector); \
38 testcase, 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 Dtest_raw_filter.c28 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/drivers/of/unittest-data/
H A Dtestcases.dtso9 * testcase data that intentionally results in an error is located here
13 testcase-data {
14 testcase-device2 {
15 compatible = "testcase-device";
H A Dtests-phandle.dtsi5 testcase-alias = &testcase;
8 testcase: testcase-data { label
H A Doverlay_common.dtsi7 * Do not add any nodes other than "/testcase-data-2" in node "/".
13 testcase-data-2 {
H A Dtests-lifecycle.dtsi4 testcase-data {
H A Doverlay_0.dtso7 &{/testcase-data/overlay-node/test-bus/test-unittest0} {
H A Doverlay_13.dtso7 &{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13} {
H A Doverlay_12.dtso7 &{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12} {
H A Dtestcases_common.dtsi4 testcase-data {
H A Dtests-match.dtsi4 testcase-data {
H A Doverlay_bad_add_dup_node.dtso7 * /testcase-data-2/substation@100/motor-1
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_csum_diff.c8 struct testcase { struct
19 struct testcase push_tests[NUM_PUSH_TESTS] = { argument
133 struct testcase pull_tests[NUM_PULL_TESTS] = {
247 struct testcase diff_tests[NUM_DIFF_TESTS] = {
304 struct testcase edge_tests[NUM_EDGE_TESTS] = {
365 static void test_csum_diff(struct testcase *tests, int num_tests) in test_csum_diff()
/linux/tools/perf/tests/shell/
H A Dperftool-testsuite_report.sh12 for testcase in setup.sh test_*; do # skip setup.sh if not present or not executab…
13 test -x "$testcase" || continue
14 ./"$testcase"
H A Dperftool-testsuite_probe.sh13 for testcase in setup.sh test_*; do # skip setup.sh if not present or not executab…
14 test -x "$testcase" || continue
15 ./"$testcase"
/linux/tools/testing/selftests/mm/
H A Dva_high_addr_switch.c26 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 Duffd-wp-mremap.c251 struct testcase { struct
259 static const struct testcase testcases[] = { argument
367 const struct testcase *tc = &testcases[i]; in main()
/linux/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c74 static int testcase(bool islarge) in testcase() function
160 testcase(0); in testcases()
161 testcase(1); in testcases()
H A Dstrlen.c51 static int testcase(void) in testcase() function
126 return test_harness(testcase, "strlen"); in main()
/linux/Documentation/translations/zh_CN/devicetree/
H A Dof_unittest.rst120 testcase-data
138 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
160 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
/linux/tools/testing/selftests/net/
H A Dudpgso.c64 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/drivers/dma/xilinx/
H A Dxilinx_dpdma.c286 enum xilinx_dpdma_testcases testcase; member
309 dpdma_debugfs.testcase = DPDMA_TC_NONE; in xilinx_dpdma_debugfs_desc_done_irq_read()
341 dpdma_debugfs.testcase = DPDMA_TC_INTR_DONE; in xilinx_dpdma_debugfs_desc_done_irq_write()
361 enum xilinx_dpdma_testcases testcase; in xilinx_dpdma_debugfs_read() local
370 dpdma_debugfs.testcase = DPDMA_TC_NONE; in xilinx_dpdma_debugfs_read()
374 testcase = READ_ONCE(dpdma_debugfs.testcase); in xilinx_dpdma_debugfs_read()
375 if (testcase != DPDMA_TC_NONE) { in xilinx_dpdma_debugfs_read()
376 ret = dpdma_debugfs_reqs[testcase].read(kern_buff); in xilinx_dpdma_debugfs_read()
402 char *testcase; in xilinx_dpdma_debugfs_write() local
410 if (dpdma_debugfs.testcase != DPDMA_TC_NONE) in xilinx_dpdma_debugfs_write()
[all …]
/linux/tools/perf/tests/
H A Dbackward-ring-buffer.c20 static void testcase(void) in testcase() function
76 testcase(); in do_test()
/linux/tools/testing/selftests/sched_ext/
H A DMakefile187 testcase-targets := $(addsuffix .o,$(addprefix $(SCXOBJ_DIR)/,$(auto-test-targets)))
198 $(testcase-targets): $(SCXOBJ_DIR)/%.o: %.c $(SCXOBJ_DIR)/runner.o $(all_test_bpfprogs) | $(SCXOBJ_…
205 $(OUTPUT)/runner: $(SCXOBJ_DIR)/runner.o $(SCXOBJ_DIR)/util.o $(BPFOBJ) $(testcase-targets)
/linux/Documentation/devicetree/
H A Dof_unittest.rst146 testcase-data
161 replaces the current child and turns it into its sibling. So, when the testcase
167 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
189 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
198 Figure 3: Live device tree structure after attaching the testcase-data.

12