Home
last modified time | relevance | path

Searched refs:__NR_gettid (Results 1 - 25 of 47) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/clone/
H A Dclone02.c192 if ((sprintf(file_name, "parent_file_%ld", syscall(__NR_gettid))) <= 0) in setup()
261 child_pid = syscall(__NR_gettid); in child_fn()
458 if ((syscall(__NR_gettid)) == child_pid) in sig_child_defined_handler()
/third_party/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/
H A Drt_tgsigqueueinfo01.c57 syscall(__NR_gettid), SIGUSR1, &uinfo)); in send_rcv_func()
85 *tid = syscall(__NR_gettid); in receiver_func()
/third_party/ltp/testcases/kernel/syscalls/tgkill/
H A Dtgkill.h19 return tst_syscall(__NR_gettid); in sys_gettid()
/third_party/ltp/testcases/kernel/syscalls/tkill/
H A Dtkill01.c42 tid = tst_syscall(__NR_gettid); in run()
/third_party/ltp/testcases/kernel/syscalls/gettid/
H A Dgettid01.c45 return (pid_t) syscall(__NR_gettid); in my_gettid()
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl05.c66 tid = tst_syscall(__NR_gettid); in verify_prctl()
/third_party/ltp/lib/
H A Dtst_capability.c50 .pid = tst_syscall(__NR_gettid), in tst_cap_action()
H A Dtst_memutils.c111 .pid = tst_syscall(__NR_gettid), in has_caps()
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
H A Drt_sigqueueinfo01.c49 tid = tst_syscall(__NR_gettid); in handle_thread()
/third_party/musl/libc-test/src/functional/
H A Dtest-malloc-stats-common.h123 thread_data->self_id = syscall(__NR_gettid); in allocate_wait_free()
H A Dtest-malloc-info-stats-print.h81 snprintf(test_results.threads[0], MAX_TID_LEN, "%d", (pid_t) syscall(__NR_gettid)); in get_main_thread_test_results()
/third_party/ltp/testcases/realtime/func/pi-tests/
H A Dtestpi-2.c75 return syscall(__NR_gettid); in gettid()
H A Dtestpi-4.c74 return syscall(__NR_gettid); in gettid()
H A Dtestpi-1.c73 return syscall(__NR_gettid); in gettid()
/third_party/ltp/testcases/network/nfs/nfs_stress/
H A Dnfs05_make_tree.c54 #define gettid() syscall(__NR_gettid)
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
H A Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/ltp/testcases/kernel/io/direct_io/
H A Ddiotest3.c237 sprintf(filename, "testdata-3.%ld", syscall(__NR_gettid)); in main()
H A Ddiotest2.c144 sprintf(filename, "testdata-2.%ld", syscall(__NR_gettid)); in main()
H A Ddiotest5.c174 sprintf(filename, "testdata-5.%ld", syscall(__NR_gettid)); in main()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl31.c201 tst_own_ex.pid = tst_syscall(__NR_gettid); in setownex_tid_test()
/third_party/selinux/libselinux/src/
H A Dprocattr.c42 return syscall(__NR_gettid); in selinux_gettid()

Completed in 14 milliseconds

12