/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl02.c | 71 SAFE_PTHREAD_CREATE(&pth[0], NULL, do_read, in do_test() 73 SAFE_PTHREAD_CREATE(&pth[1], NULL, do_revoke, in do_test() 75 SAFE_PTHREAD_CREATE(&pth[2], NULL, do_read, in do_test() 77 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 | 108 SAFE_PTHREAD_CREATE(&pth1, NULL, madvise_thread, NULL); in main() 109 SAFE_PTHREAD_CREATE(&pth2, NULL, proc_self_mem_thread, NULL); in main()
|
/external/ltp/testcases/cve/ |
D | cve-2017-17052.c | 74 SAFE_PTHREAD_CREATE(&t, NULL, mmap_thread, NULL); in do_test_fork() 75 SAFE_PTHREAD_CREATE(&t, NULL, fork_thread, NULL); in do_test_fork()
|
/external/ltp/testcases/kernel/syscalls/preadv2/ |
D | preadv203.c | 209 SAFE_PTHREAD_CREATE(&dropper, NULL, cache_dropper, NULL); in verify_preadv2() 210 SAFE_PTHREAD_CREATE(&reader, NULL, nowait_reader, NULL); in verify_preadv2() 211 SAFE_PTHREAD_CREATE(&writer, NULL, writer_thread, NULL); in verify_preadv2()
|
/external/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill03.c | 55 SAFE_PTHREAD_CREATE(&child_thread, NULL, child_thread_func, NULL); in setup() 59 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 | 212 SAFE_PTHREAD_CREATE(&burn_thread, NULL, burn_fn, NULL); in run() 213 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()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept02.c | 97 SAFE_PTHREAD_CREATE(&server_thr, NULL, server_thread, NULL); in run() 99 SAFE_PTHREAD_CREATE(&client_thr, NULL, client_thread, NULL); in run()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap1.c | 234 SAFE_PTHREAD_CREATE(&thid[0], NULL, map_write_unmap, &fd); in run() 235 SAFE_PTHREAD_CREATE(&thid[1], NULL, read_mem, &fd); in run()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 317 SAFE_PTHREAD_CREATE(id0 + i, NULL, f0, (void *)&p0[i]); in test_fn() 318 SAFE_PTHREAD_CREATE(id1 + i, NULL, f1, (void *)&p1[i]); in test_fn() 319 SAFE_PTHREAD_CREATE(id2 + i, NULL, f2, (void *)&p2[i]); in test_fn()
|
/external/ltp/testcases/kernel/crypto/ |
D | af_alg02.c | 44 SAFE_PTHREAD_CREATE(&thr, NULL, verify_encrypt, NULL); 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/rt_sigqueueinfo/ |
D | rt_sigqueueinfo01.c | 64 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_sigqueueinfo()
|
/external/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
D | pidfd_send_signal01.c | 51 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_pidfd_send_signal()
|
/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 | 71 SAFE_PTHREAD_CREATE(&threads[i], NULL, worker, &workers[i]); in testrun()
|
/external/ltp/testcases/kernel/sound/ |
D | snd_timer01.c | 97 SAFE_PTHREAD_CREATE(&th, &thread_attr, ioctl_thread, NULL); in run()
|
/external/ltp/testcases/kernel/mem/mtest07/ |
D | mallocstress.c | 157 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, in stress_malloc()
|
/external/ltp/testcases/kernel/syscalls/userfaultfd/ |
D | userfaultfd01.c | 108 SAFE_PTHREAD_CREATE(&thr, NULL, in run()
|