Home
last modified time | relevance | path

Searched refs:__NR_getpid (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/bionic/
Draise.cpp37 pid_t pid = syscall(__NR_getpid); in raise()
Dfdsan.cpp144 if (cached_pid == 0 || cached_pid != syscall(__NR_getpid)) { in fdsan_error()
/bionic/benchmarks/
Dunistd_benchmark.cpp31 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_getpid_syscall, syscall(__NR_getpid));
/bionic/libc/private/
Dbionic_inline_raise.h41 pid_t pid = syscall(__NR_getpid);
/bionic/tests/
Dunistd_test.cpp444 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()
465 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()
479 pid_t getpid_syscall_result = syscall(__NR_getpid); in AssertGetPidCorrect()
487 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TestGetPidCachingWithFork()
527 EXPECT_EQ(syscall(__NR_getpid), syscall(__NR_gettid)); in TestGetTidCachingWithFork()
529 << ", pid is " << syscall(__NR_getpid); in TestGetTidCachingWithFork()
599 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TEST()
/bionic/libc/kernel/uapi/asm-x86/asm/
Dunistd_64.h60 #define __NR_getpid 39 macro
Dunistd_32.h41 #define __NR_getpid 20 macro
Dunistd_x32.h55 #define __NR_getpid (__X32_SYSCALL_BIT + 39) macro
/bionic/libc/kernel/uapi/asm-generic/
Dunistd.h241 #define __NR_getpid 172 macro
/bionic/libc/include/bits/
Dglibc-syscalls.h360 #if defined(__NR_getpid)
361 #define SYS_getpid __NR_getpid
/bionic/libc/kernel/uapi/asm-arm/asm/
Dunistd-common.h37 #define __NR_getpid (__NR_SYSCALL_BASE + 20) macro