Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dmonitor_mwait_test.c19 static void guest_monitor_wait(int testcase) in guest_monitor_wait() argument
25 bool fault_wanted = (testcase & MWAIT_QUIRK_DISABLED) && in guest_monitor_wait()
26 (testcase & MWAIT_DISABLED); in guest_monitor_wait()
29 GUEST_SYNC(testcase); in guest_monitor_wait()
37 GUEST_ASSERT_2(vector == UD_VECTOR, testcase, vector); in guest_monitor_wait()
39 GUEST_ASSERT_2(!vector, testcase, vector); in guest_monitor_wait()
43 GUEST_ASSERT_2(vector == UD_VECTOR, testcase, vector); in guest_monitor_wait()
45 GUEST_ASSERT_2(!vector, testcase, vector); in guest_monitor_wait()
70 int testcase; in main() local
92 testcase = uc.args[1]; in main()
[all …]
/linux-6.1.9/fs/fat/
Dfat_test.c135 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-6.1.9/drivers/of/unittest-data/
Dtestcases.dts9 * testcase data that intentionally results in an error is located here
13 testcase-data {
14 testcase-device2 {
15 compatible = "testcase-device";
Dtests-phandle.dtsi5 testcase-alias = &testcase;
8 testcase: testcase-data { label
Dtests-interrupts.dtsi4 testcase-data {
78 testcase-device1 {
79 compatible = "testcase-device";
85 * testcase data that intentionally results in an error is
Doverlay_common.dtsi7 * Do not add any nodes other than "/testcase-data-2" in node "/".
13 testcase-data-2 {
Doverlay_0.dts9 target-path = "/testcase-data/overlay-node/test-bus/test-unittest0";
Doverlay_1.dts9 target-path = "/testcase-data/overlay-node/test-bus/test-unittest1";
Doverlay_12.dts9 target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12";
Doverlay_13.dts9 target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13";
Dtestcases_common.dtsi4 testcase-data {
Dtests-match.dtsi4 testcase-data {
Dtests-platform.dtsi4 testcase-data {
Doverlay_bad_add_dup_node.dts7 * /testcase-data-2/substation@100/motor-1
Dtests-address.dtsi7 testcase-data {
Doverlay_bad_add_dup_prop.dts7 * /testcase-data-2/substation@100/motor-1/electric
/linux-6.1.9/tools/testing/selftests/vm/
Dva_128TBswitch.c33 struct testcase { struct
42 static struct testcase testcases[] = { argument
167 static struct testcase hugetlb_testcases[] = {
231 static int run_test(struct testcase *test, int count) in run_test()
237 struct testcase *t = test + i; in run_test()
/linux-6.1.9/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c74 static int testcase(bool islarge) in testcase() function
160 testcase(0); in testcases()
161 testcase(1); in testcases()
Dstrlen.c51 static int testcase(void) in testcase() function
126 return test_harness(testcase, "strlen"); in main()
/linux-6.1.9/Documentation/translations/zh_CN/devicetree/
Dof_unittest.rst120 testcase-data
138 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
160 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
/linux-6.1.9/drivers/dma/xilinx/
Dxilinx_dpdma.c285 enum xilinx_dpdma_testcases testcase; member
308 dpdma_debugfs.testcase = DPDMA_TC_NONE; in xilinx_dpdma_debugfs_desc_done_irq_read()
340 dpdma_debugfs.testcase = DPDMA_TC_INTR_DONE; in xilinx_dpdma_debugfs_desc_done_irq_write()
360 enum xilinx_dpdma_testcases testcase; in xilinx_dpdma_debugfs_read() local
369 dpdma_debugfs.testcase = DPDMA_TC_NONE; in xilinx_dpdma_debugfs_read()
373 testcase = READ_ONCE(dpdma_debugfs.testcase); in xilinx_dpdma_debugfs_read()
374 if (testcase != DPDMA_TC_NONE) { in xilinx_dpdma_debugfs_read()
375 ret = dpdma_debugfs_reqs[testcase].read(kern_buff); in xilinx_dpdma_debugfs_read()
401 char *testcase; in xilinx_dpdma_debugfs_write() local
409 if (dpdma_debugfs.testcase != DPDMA_TC_NONE) in xilinx_dpdma_debugfs_write()
[all …]
/linux-6.1.9/tools/perf/tests/
Dbackward-ring-buffer.c20 static void testcase(void) in testcase() function
76 testcase(); in do_test()
/linux-6.1.9/tools/testing/selftests/net/
Dudpgso.c64 struct testcase { struct
75 struct testcase testcases_v4[] = { argument
178 struct testcase testcases_v6[] = {
505 static void run_one(struct testcase *test, int fdt, int fdr, in run_one()
559 struct testcase *tests, *test; in run_all()
/linux-6.1.9/Documentation/devicetree/
Dof_unittest.rst148 testcase-data
163 replaces the current child and turns it into its sibling. So, when the testcase
169 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
191 testcase-data -> child1 -> sibling2 -> sibling3 -> sibling4 -> null
200 Figure 3: Live device tree structure after attaching the testcase-data.
/linux-6.1.9/tools/testing/selftests/ftrace/
Dftracetest264 testcase() { # testfile function
373 testcase $1

12