Home
last modified time | relevance | path

Searched refs:SAFE_PTHREAD_CREATE (Results 1 – 25 of 35) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl02.c83 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/
Drt_tgsigqueueinfo01.c76 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/
Ddirtyc0w_child.c120 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/
Dcve-2017-17052.c91 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/
Dtgkill03.c53 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()
Dtgkill02.c49 SAFE_PTHREAD_CREATE(&thread, NULL, thread_func, &tid); in run()
Dtgkill01.c54 SAFE_PTHREAD_CREATE(&thread->thread, NULL, thread_func, thread); in start_thread()
/external/ltp/testcases/kernel/sched/eas/
Dsched_latency_rt.c126 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()
Dsched_latency_dl.c144 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()
Dsugov_stale_util.c214 SAFE_PTHREAD_CREATE(&burn_thread, NULL, burn_fn, NULL); in run()
215 SAFE_PTHREAD_CREATE(&event_thread, NULL, event_fn, NULL); in run()
Deas_one_small_task.c103 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_one_big_task.c120 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_two_big_three_small.c126 SAFE_PTHREAD_CREATE(&tasks[i], NULL, task_fn, &task_tids[i]); in run()
Deas_big_to_small.c155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_small_to_big.c155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Dsched_boost.c161 SAFE_PTHREAD_CREATE(&test_thread, NULL, test_fn, NULL); in run()
Dsched_dl_runtime.c182 SAFE_PTHREAD_CREATE(&dl_thread, NULL, dl_fn, NULL); in run()
/external/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c115 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/
Dfcntl36.c332 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()
Dfcntl34.c52 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, (void *)i); in spawn_threads()
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap1.c220 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/
Dtst_safe_pthread.h38 #define SAFE_PTHREAD_CREATE(thread_id, attr, thread_fn, arg) \ macro
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify11.c84 SAFE_PTHREAD_CREATE(&p_id, NULL, thread_create_file, NULL); in test01()
/external/ltp/testcases/kernel/fs/fs_fill/
Dfs_fill.c83 SAFE_PTHREAD_CREATE(&threads[i], NULL, worker, &workers[i]); in testrun()
/external/ltp/testcases/kernel/mem/mtest07/
Dmallocstress.c211 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, in stress_malloc()

12