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()
90 bool get_cached_pid(pid_t* cached_pid) { in get_cached_pid() argument91 *cached_pid = cached_pid_; in get_cached_pid()92 return (*cached_pid != 0); in get_cached_pid()
444 pid_t cached_pid; in TEST() local445 ASSERT_TRUE(self->get_cached_pid(&cached_pid)); in TEST()446 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()452 if (self->get_cached_pid(&cached_pid)) { in TEST()466 ASSERT_TRUE(self->get_cached_pid(&cached_pid)); in TEST()467 ASSERT_EQ(syscall(__NR_getpid), cached_pid); in TEST()