Home
last modified time | relevance | path

Searched refs:__NR_gettid (Results 1 – 13 of 13) 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/libc/private/
Dbionic_inline_raise.h42 pid_t tid = syscall(__NR_gettid);
/bionic/tests/
Dunistd_test.cpp513 pid_t gettid_syscall_result = syscall(__NR_gettid); in AssertGetTidCorrect()
521 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TestGetTidCachingWithFork()
527 EXPECT_EQ(syscall(__NR_getpid), syscall(__NR_gettid)); in TestGetTidCachingWithFork()
528 EXPECT_EQ(getpid(), GetTidForTest()) << "real tid is " << syscall(__NR_gettid) in TestGetTidCachingWithFork()
616 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TEST()
Dpthread_test.cpp1717 ASSERT_EQ(getpid(), syscall(__NR_gettid)); in TEST()
1845 ASSERT_EQ(getpid(), syscall(__NR_gettid)); in TEST()
/bionic/libc/kernel/uapi/asm-x86/asm/
Dunistd_64.h207 #define __NR_gettid 186 macro
Dunistd_32.h243 #define __NR_gettid 224 macro
Dunistd_x32.h185 #define __NR_gettid (__X32_SYSCALL_BIT + 186) macro
/bionic/libc/kernel/uapi/asm-generic/
Dunistd.h247 #define __NR_gettid 178 macro
/bionic/libc/include/bits/
Dglibc-syscalls.h402 #if defined(__NR_gettid)
403 #define SYS_gettid __NR_gettid
/bionic/libc/kernel/uapi/asm-arm/asm/
Dunistd-common.h202 #define __NR_gettid (__NR_SYSCALL_BASE + 224) macro