Searched refs:__NR_gettid (Results 1 – 15 of 15) sorted by relevance
41 self->tid = syscall(__NR_gettid); in gettid()44 return syscall(__NR_gettid); in gettid()
50 self->tid = syscall(__NR_gettid); in __start_thread()122 self->tid = syscall(__NR_gettid); in clone()
38 pid_t tid = syscall(__NR_gettid); in raise()
37 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_gettid_syscall, syscall(__NR_gettid));
72 return syscall(__NR_gettid); in gettid()
534 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()
1796 ASSERT_EQ(getpid(), syscall(__NR_gettid)); in TEST()1924 ASSERT_EQ(getpid(), syscall(__NR_gettid)); in TEST()
42 pid_t tid = syscall(__NR_gettid);
195 #define __NR_gettid 186 macro
231 #define __NR_gettid 224 macro
173 #define __NR_gettid (__X32_SYSCALL_BIT + 186) macro
235 #define __NR_gettid 178 macro
429 #if defined(__NR_gettid)430 #define SYS_gettid __NR_gettid
190 #define __NR_gettid (__NR_SYSCALL_BASE + 224) macro
202 #define __NR_gettid (__NR_SYSCALL_BASE + 224) macro