Home
last modified time | relevance | path

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

/external/ltp/testcases/cve/
Dcve-2016-7117.c95 static struct tst_fzsync_pair fzsync_pair; variable
100 fzsync_pair.min_samples = 10000; in setup()
104 tst_fzsync_pair_init(&fzsync_pair); in setup()
112 tst_fzsync_pair_cleanup(&fzsync_pair); in cleanup()
117 while (tst_fzsync_run_b(&fzsync_pair)) { in send_and_close()
119 tst_fzsync_wait_b(&fzsync_pair); in send_and_close()
125 tst_fzsync_start_race_b(&fzsync_pair); in send_and_close()
127 tst_fzsync_end_race_b(&fzsync_pair); in send_and_close()
138 tst_fzsync_pair_reset(&fzsync_pair, send_and_close); in run()
139 while (tst_fzsync_run_a(&fzsync_pair)) { in run()
[all …]
Dcve-2017-2671.c57 static struct tst_fzsync_pair fzsync_pair; variable
78 tst_fzsync_pair_init(&fzsync_pair); in setup()
83 tst_fzsync_pair_cleanup(&fzsync_pair); in cleanup()
95 while (tst_fzsync_run_b(&fzsync_pair)) { in connect_b()
96 tst_fzsync_start_race_b(&fzsync_pair); in connect_b()
98 tst_fzsync_end_race_b(&fzsync_pair); in connect_b()
106 tst_fzsync_pair_reset(&fzsync_pair, connect_b); in run()
107 while (tst_fzsync_run_a(&fzsync_pair)) { in run()
111 tst_fzsync_start_race_a(&fzsync_pair); in run()
113 tst_fzsync_end_race_a(&fzsync_pair); in run()
Dcve-2014-0196.c59 static struct tst_fzsync_pair fzsync_pair; variable
71 fzsync_pair.exec_loops = 50000; in setup()
73 tst_fzsync_pair_init(&fzsync_pair); in setup()
83 while(tst_fzsync_run_b(&fzsync_pair)) { in overwrite_thread_fn()
84 tst_fzsync_start_race_b(&fzsync_pair); in overwrite_thread_fn()
88 tst_fzsync_end_race_b(&fzsync_pair); in overwrite_thread_fn()
100 tst_fzsync_pair_reset(&fzsync_pair, overwrite_thread_fn); in run()
101 while (tst_fzsync_run_a(&fzsync_pair)) { in run()
117 tst_fzsync_start_race_a(&fzsync_pair); in run()
119 tst_fzsync_end_race_a(&fzsync_pair); in run()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl05.c35 static struct tst_fzsync_pair fzsync_pair; variable
45 while (tst_fzsync_run_b(&fzsync_pair)) { in thrproc()
46 tst_fzsync_start_race_b(&fzsync_pair); in thrproc()
49 tst_fzsync_end_race_b(&fzsync_pair); in thrproc()
60 tst_fzsync_pair_init(&fzsync_pair); in setup()
69 tst_fzsync_pair_reset(&fzsync_pair, thrproc); in do_test()
70 while (tst_fzsync_run_a(&fzsync_pair)) { in do_test()
76 tst_fzsync_start_race_a(&fzsync_pair); in do_test()
82 tst_fzsync_end_race_a(&fzsync_pair); in do_test()
102 tst_fzsync_pair_cleanup(&fzsync_pair); in cleanup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify09.c53 static struct tst_fzsync_pair fzsync_pair; variable
60 while (tst_fzsync_run_b(&fzsync_pair)) { in write_seek()
61 tst_fzsync_start_race_b(&fzsync_pair); in write_seek()
64 tst_fzsync_end_race_b(&fzsync_pair); in write_seek()
72 tst_fzsync_pair_init(&fzsync_pair); in setup()
80 tst_fzsync_pair_cleanup(&fzsync_pair); in cleanup()
92 tst_fzsync_pair_reset(&fzsync_pair, write_seek); in verify_inotify()
93 while (tst_fzsync_run_a(&fzsync_pair)) { in verify_inotify()
98 tst_fzsync_start_race_a(&fzsync_pair); in verify_inotify()
100 tst_fzsync_end_race_a(&fzsync_pair); in verify_inotify()