Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgettid.cpp41 self->tid = syscall(__NR_gettid); in gettid()
44 return syscall(__NR_gettid); in gettid()
Dclone.cpp50 self->tid = syscall(__NR_gettid); in __start_thread()
122 self->tid = syscall(__NR_gettid); in clone()
Draise.cpp38 pid_t tid = syscall(__NR_gettid); in raise()
/bionic/benchmarks/
Dunistd_benchmark.cpp37 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_gettid_syscall, syscall(__NR_gettid));
/bionic/tests/
Dutils.cpp72 return syscall(__NR_gettid); in gettid()
Dunistd_test.cpp534 pid_t gettid_syscall_result = syscall(__NR_gettid); in AssertGetTidCorrect()
542 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TestGetTidCachingWithFork()
548 EXPECT_EQ(syscall(__NR_getpid), syscall(__NR_gettid)); in TestGetTidCachingWithFork()
549 EXPECT_EQ(getpid(), GetTidForTest()) << "real tid is " << syscall(__NR_gettid) in TestGetTidCachingWithFork()
638 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TEST()
Dpthread_test.cpp1796 ASSERT_EQ(getpid(), syscall(__NR_gettid)); in TEST()
1924 ASSERT_EQ(getpid(), syscall(__NR_gettid)); in TEST()
/bionic/libc/private/
Dbionic_inline_raise.h42 pid_t tid = syscall(__NR_gettid);
/bionic/libc/kernel/uapi/asm-x86/asm/
Dunistd_64.h195 #define __NR_gettid 186 macro
Dunistd_32.h231 #define __NR_gettid 224 macro
Dunistd_x32.h173 #define __NR_gettid (__X32_SYSCALL_BIT + 186) macro
/bionic/libc/kernel/uapi/asm-generic/
Dunistd.h235 #define __NR_gettid 178 macro
/bionic/libc/include/bits/
Dglibc-syscalls.h429 #if defined(__NR_gettid)
430 #define SYS_gettid __NR_gettid
/bionic/libc/kernel/uapi/asm-arm/asm/
Dunistd-eabi.h190 #define __NR_gettid (__NR_SYSCALL_BASE + 224) macro
Dunistd-oabi.h202 #define __NR_gettid (__NR_SYSCALL_BASE + 224) macro