/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl02.c | 83 SAFE_PTHREAD_CREATE(&pth[0], NULL, do_read, in do_test() 85 SAFE_PTHREAD_CREATE(&pth[1], NULL, do_revoke, in do_test() 87 SAFE_PTHREAD_CREATE(&pth[2], NULL, do_read, in do_test() 89 SAFE_PTHREAD_CREATE(&pth[3], NULL, do_revoke, in do_test()
|
/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/ |
D | rt_tgsigqueueinfo01.c | 76 SAFE_PTHREAD_CREATE(&pt, NULL, send_rcv_func, NULL); in verify_signal_self() 110 SAFE_PTHREAD_CREATE(&pt, NULL, receiver_func, &tid); in verify_signal_parent_thread() 148 SAFE_PTHREAD_CREATE(&pt1, NULL, receiver_func, &tid); in verify_signal_inter_thread() 152 SAFE_PTHREAD_CREATE(&pt2, NULL, sender_func, &tid); in verify_signal_inter_thread()
|
/external/ltp/testcases/kernel/security/dirtyc0w/ |
D | dirtyc0w_child.c | 120 SAFE_PTHREAD_CREATE(&pth1, NULL, madvise_thread, NULL); in main() 121 SAFE_PTHREAD_CREATE(&pth2, NULL, proc_self_mem_thread, NULL); in main()
|
/external/ltp/testcases/cve/ |
D | cve-2017-17052.c | 91 SAFE_PTHREAD_CREATE(&t, NULL, mmap_thread, NULL); in do_test_fork() 92 SAFE_PTHREAD_CREATE(&t, NULL, fork_thread, NULL); in do_test_fork()
|
/external/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill03.c | 53 SAFE_PTHREAD_CREATE(&child_thread, NULL, child_thread_func, NULL); in setup() 57 SAFE_PTHREAD_CREATE(&defunct_thread, NULL, defunct_thread_func, NULL); in setup()
|
D | tgkill02.c | 49 SAFE_PTHREAD_CREATE(&thread, NULL, thread_func, &tid); in run()
|
D | tgkill01.c | 54 SAFE_PTHREAD_CREATE(&thread->thread, NULL, thread_func, thread); in start_thread()
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_latency_rt.c | 126 SAFE_PTHREAD_CREATE(&cfs_thread, &cfs_thread_attrs, cfs_fn, NULL); in run() 127 SAFE_PTHREAD_CREATE(&rt_thread, &rt_thread_attrs, rt_fn, NULL); in run()
|
D | sched_latency_dl.c | 144 SAFE_PTHREAD_CREATE(&cfs_thread, &cfs_thread_attrs, cfs_fn, NULL); in run() 145 SAFE_PTHREAD_CREATE(&dl_thread, &dl_thread_attrs, dl_fn, NULL); in run()
|
D | sugov_stale_util.c | 214 SAFE_PTHREAD_CREATE(&burn_thread, NULL, burn_fn, NULL); in run() 215 SAFE_PTHREAD_CREATE(&event_thread, NULL, event_fn, NULL); in run()
|
D | eas_one_small_task.c | 103 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
|
D | eas_one_big_task.c | 120 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
|
D | eas_two_big_three_small.c | 126 SAFE_PTHREAD_CREATE(&tasks[i], NULL, task_fn, &task_tids[i]); in run()
|
D | eas_big_to_small.c | 155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
|
D | eas_small_to_big.c | 155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
|
D | sched_boost.c | 161 SAFE_PTHREAD_CREATE(&test_thread, NULL, test_fn, NULL); in run()
|
D | sched_dl_runtime.c | 182 SAFE_PTHREAD_CREATE(&dl_thread, NULL, dl_fn, NULL); in run()
|
/external/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 115 SAFE_PTHREAD_CREATE(&sender, NULL, sender_thread, NULL); in run() 116 SAFE_PTHREAD_CREATE(&receiver, NULL, receiver_thread, NULL); in run()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 332 SAFE_PTHREAD_CREATE(id0 + i, NULL, f0, (void *)&p0[i]); in test_fn() 333 SAFE_PTHREAD_CREATE(id1 + i, NULL, f1, (void *)&p1[i]); in test_fn() 334 SAFE_PTHREAD_CREATE(id2 + i, NULL, f2, (void *)&p2[i]); in test_fn()
|
D | fcntl34.c | 52 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, (void *)i); in spawn_threads()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap1.c | 220 SAFE_PTHREAD_CREATE(&thid[0], NULL, map_write_unmap, &fd); in run() 221 SAFE_PTHREAD_CREATE(&thid[1], NULL, read_mem, &fd); in run()
|
/external/ltp/include/ |
D | tst_safe_pthread.h | 38 #define SAFE_PTHREAD_CREATE(thread_id, attr, thread_fn, arg) \ macro
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify11.c | 84 SAFE_PTHREAD_CREATE(&p_id, NULL, thread_create_file, NULL); in test01()
|
/external/ltp/testcases/kernel/fs/fs_fill/ |
D | fs_fill.c | 83 SAFE_PTHREAD_CREATE(&threads[i], NULL, worker, &workers[i]); in testrun()
|
/external/ltp/testcases/kernel/mem/mtest07/ |
D | mallocstress.c | 211 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, in stress_malloc()
|