Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c193 if ((sprintf(file_name, "parent_file_%ld", syscall(__NR_gettid))) <= 0) in setup()
262 child_pid = syscall(__NR_gettid); in child_fn()
459 if ((syscall(__NR_gettid)) == child_pid) in sig_child_defined_handler()
/external/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()
/external/strace/tests-m32/
Dgettid.c9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
Dlocaltime.c47 pid = syscall(__NR_gettid); in main()
Dattach-f-p.c65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
/external/strace/tests/
Dgettid.c9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
Dlocaltime.c47 pid = syscall(__NR_gettid); in main()
Dattach-f-p.c65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
/external/strace/tests-mx32/
Dgettid.c9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
Dlocaltime.c47 pid = syscall(__NR_gettid); in main()
Dattach-f-p.c65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill.h19 return tst_syscall(__NR_gettid); in sys_gettid()
/external/ltp/testcases/kernel/sched/eas/
Dutil.h22 #define gettid() syscall(__NR_gettid)
/external/ltp/testcases/kernel/syscalls/gettid/
Dgettid01.c45 return (pid_t) syscall(__NR_gettid); in my_gettid()
/external/ltp/testcases/kernel/syscalls/tkill/
Dtkill01.c92 TEST(tid = ltp_syscall(__NR_gettid)); in main()
/external/llvm-project/compiler-rt/test/xray/TestCases/Posix/
Dfork_basic_logging.cpp32 asm volatile("syscall" : "=a"(retval) : "a"(__NR_gettid) : "rcx", "r11", in syscall_gettid()
/external/bcc/src/cc/
Dperf_reader.c71 pid_t tid = syscall(__NR_gettid); in perf_reader_free()
167 reader->rb_read_tid = syscall(__NR_gettid); in perf_reader_event_read()
/external/perfetto/include/perfetto/base/
Dthread_utils.h50 return static_cast<pid_t>(syscall(__NR_gettid));
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl05.c71 tid = tst_syscall(__NR_gettid); in verify_prctl()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper_unittest_helper.cc61 *thread_id = syscall(__NR_gettid); in thread_function()
/external/tensorflow/tensorflow/core/platform/default/
Denv.cc237 #elif defined(__NR_gettid) in GetCurrentThreadIdInternal()
238 return static_cast<int32>(syscall(__NR_gettid)); in GetCurrentThreadIdInternal()
/external/grpc-grpc/src/core/lib/gpr/
Dlog_linux.cc43 static long sys_gettid(void) { return syscall(__NR_gettid); } in sys_gettid()
/external/kmod/testsuite/
Dinit_module.c358 if (__sysno == __NR_gettid) { in syscall()
376 return nextlib_syscall(__NR_gettid); in syscall()
/external/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
Drt_sigqueueinfo01.c49 tid = tst_syscall(__NR_gettid); in handle_thread()
/external/webrtc/rtc_base/
Dplatform_thread_types.cc41 return syscall(__NR_gettid); in CurrentThreadId()

1234