Home
last modified time | relevance | path

Searched refs:test_data_two_threads (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/testing/selftests/sync/
Dsync_stress_parallelism.c38 } test_data_two_threads; variable
43 int timeline = test_data_two_threads.timeline; in test_stress_two_threads_shared_timeline_thread()
44 int iterations = test_data_two_threads.iterations; in test_stress_two_threads_shared_timeline_thread()
61 ASSERT(test_data_two_threads.counter == i * 2 + thread_id, in test_stress_two_threads_shared_timeline_thread()
63 test_data_two_threads.counter++; in test_stress_two_threads_shared_timeline_thread()
84 test_data_two_threads.iterations = 1 << 16; in test_stress_two_threads_shared_timeline()
85 test_data_two_threads.counter = 0; in test_stress_two_threads_shared_timeline()
86 test_data_two_threads.timeline = timeline; in test_stress_two_threads_shared_timeline()
104 ASSERT(test_data_two_threads.counter == in test_stress_two_threads_shared_timeline()
105 test_data_two_threads.iterations * 2, in test_stress_two_threads_shared_timeline()