Searched refs:__NR_getpid (Results 1 – 11 of 11) sorted by relevance
37 pid_t pid = syscall(__NR_getpid); in raise()
144 if (cached_pid == 0 || cached_pid != syscall(__NR_getpid)) { in fdsan_error()
31 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_getpid_syscall, syscall(__NR_getpid));
41 pid_t pid = syscall(__NR_getpid);
444 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()
60 #define __NR_getpid 39 macro
41 #define __NR_getpid 20 macro
55 #define __NR_getpid (__X32_SYSCALL_BIT + 39) macro
241 #define __NR_getpid 172 macro
360 #if defined(__NR_getpid)361 #define SYS_getpid __NR_getpid
37 #define __NR_getpid (__NR_SYSCALL_BASE + 20) macro