Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl02.c71 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/
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.c108 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/
Dcve-2017-17052.c74 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/
Dpreadv203.c209 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/
Dtgkill03.c55 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()
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.c212 SAFE_PTHREAD_CREATE(&burn_thread, NULL, burn_fn, NULL); in run()
213 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()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c97 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/
Dmmap1.c234 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/
Dfcntl36.c317 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/
Daf_alg02.c44 SAFE_PTHREAD_CREATE(&thr, NULL, verify_encrypt, NULL); 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/rt_sigqueueinfo/
Drt_sigqueueinfo01.c64 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_sigqueueinfo()
/external/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c51 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_pidfd_send_signal()
/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.c71 SAFE_PTHREAD_CREATE(&threads[i], NULL, worker, &workers[i]); in testrun()
/external/ltp/testcases/kernel/sound/
Dsnd_timer01.c97 SAFE_PTHREAD_CREATE(&th, &thread_attr, ioctl_thread, NULL); in run()
/external/ltp/testcases/kernel/mem/mtest07/
Dmallocstress.c157 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, in stress_malloc()
/external/ltp/testcases/kernel/syscalls/userfaultfd/
Duserfaultfd01.c108 SAFE_PTHREAD_CREATE(&thr, NULL, in run()

12