Searched refs:cached_pid (Results 1 – 3 of 3) sorted by relevance
38 pid_t cached_pid; in __get_cached_pid() local39 if (__predict_true(self->get_cached_pid(&cached_pid))) { in __get_cached_pid()40 return cached_pid; in __get_cached_pid()47 pid_t cached_pid = __get_cached_pid(); in getpid() local48 if (__predict_true(cached_pid != 0)) { in getpid()49 return cached_pid; in getpid()
92 bool get_cached_pid(pid_t* cached_pid) { in get_cached_pid() argument93 *cached_pid = cached_pid_; in get_cached_pid()94 return (*cached_pid != 0); in get_cached_pid()
463 pid_t cached_pid; in TEST() local464 ASSERT_TRUE(self->get_cached_pid(&cached_pid)); in TEST()465 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()471 if (self->get_cached_pid(&cached_pid)) { in TEST()485 ASSERT_TRUE(self->get_cached_pid(&cached_pid)); in TEST()486 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()