Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Draise.cpp37 pid_t pid = syscall(__NR_getpid); in raise()
/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.cpp446 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()
467 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()
481 pid_t getpid_syscall_result = syscall(__NR_getpid); in AssertGetPidCorrect()
489 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TestGetPidCachingWithFork()
529 EXPECT_EQ(syscall(__NR_getpid), syscall(__NR_gettid)); in TestGetTidCachingWithFork()
531 << ", pid is " << syscall(__NR_getpid); in TestGetTidCachingWithFork()
601 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.h369 #if defined(__NR_getpid)
370 #define SYS_getpid __NR_getpid
/bionic/libc/kernel/uapi/asm-arm/asm/
Dunistd-common.h37 #define __NR_getpid (__NR_SYSCALL_BASE + 20) macro