Home
last modified time | relevance | path

Searched refs:parent_pid (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/bionic/
Dfork.cpp42 pid_t parent_pid = self->invalidate_cached_pid(); in fork() local
53 self->set_cached_pid(parent_pid); in fork()
Dclone.cpp71 pid_t parent_pid = self->invalidate_cached_pid(); in clone() local
81 self->set_cached_pid(parent_pid); in clone()
/bionic/libc/kernel/uapi/linux/
Dcn_proc.h52 __kernel_pid_t parent_pid; member
/bionic/tests/
Dunistd_test.cpp418 pid_t parent_pid = getpid(); in TestGetPidCachingWithFork() local
419 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TestGetPidCachingWithFork()
426 ASSERT_EQ(parent_pid, getppid()); in TestGetPidCachingWithFork()
430 ASSERT_EQ(parent_pid, getpid()); in TestGetPidCachingWithFork()
449 pid_t parent_pid = getpid(); in TEST() local
450 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TEST()
460 ASSERT_EQ(parent_pid, getpid()); in TEST()
471 pid_t parent_pid = getpid(); in TEST() local
476 ASSERT_EQ(parent_pid, getpid()); in TEST()