Home
last modified time | relevance | path

Searched refs:__NR_gettid (Results 1 – 25 of 63) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/clone/
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/
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/
Dtgkill.h19 return tst_syscall(__NR_gettid); in sys_gettid()
/third_party/ltp/testcases/kernel/syscalls/tkill/
Dtkill01.c42 tid = tst_syscall(__NR_gettid); in run()
/third_party/ltp/testcases/kernel/syscalls/gettid/
Dgettid01.c45 return (pid_t) syscall(__NR_gettid); in my_gettid()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl05.c59 tid = tst_syscall(__NR_gettid); in verify_prctl()
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
Drt_sigqueueinfo01.c49 tid = tst_syscall(__NR_gettid); in handle_thread()
/third_party/musl/libc-test/src/functional/
Dtest-malloc-stats-common.h123 thread_data->self_id = syscall(__NR_gettid); in allocate_wait_free()
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/lib/
Dtst_capability.c50 .pid = tst_syscall(__NR_gettid), in tst_cap_action()
Dtst_memutils.c102 .pid = tst_syscall(__NR_gettid), in has_caps()
/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-4.c74 return syscall(__NR_gettid); in gettid()
Dtestpi-2.c75 return syscall(__NR_gettid); in gettid()
Dtestpi-1.c73 return syscall(__NR_gettid); in gettid()
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c54 #define gettid() syscall(__NR_gettid)
/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest2.c144 sprintf(filename, "testdata-2.%ld", syscall(__NR_gettid)); in main()
Ddiotest5.c174 sprintf(filename, "testdata-5.%ld", syscall(__NR_gettid)); in main()
Ddiotest3.c237 sprintf(filename, "testdata-3.%ld", syscall(__NR_gettid)); in main()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/selinux/libselinux/src/
Dprocattr.c42 return syscall(__NR_gettid); in selinux_gettid()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl31.c213 tst_own_ex.pid = ltp_syscall(__NR_gettid); in setownex_tid_test()
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
Dsyscall.h201 #define __NR_gettid 224 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
Dsyscall.h201 #define __NR_gettid 224 macro

123