Lines Matching refs:getpid_cached
65 if (pid == 0 || pid == getpid_cached()) in get_process_state()
95 if (pid == 0 || pid == getpid_cached()) { in get_process_comm()
409 …if (IN_SET(pid, 0, 1) || pid == getpid_cached()) /* pid 1, and we ourselves certainly aren't a ker… in is_kernel_thread()
551 if (pid == 0 || pid == getpid_cached()) { in get_process_uid()
561 if (pid == 0 || pid == getpid_cached()) { in get_process_gid()
573 if (pid == 0 || pid == getpid_cached()) in get_process_cwd()
639 if (pid == 0 || pid == getpid_cached()) { in get_process_ppid()
891 if (pid == 0 || pid == getpid_cached()) { in getenv_for_pid()
959 return ppid == getpid_cached(); in pid_is_my_child()
971 if (pid == getpid_cached()) in pid_is_unwaited()
991 if (pid == getpid_cached()) in pid_is_alive()
1007 if (pid == 0 || pid == getpid_cached()) in pid_from_same_root_fs()
1019 cached = getpid_cached() == gettid() ? 1 : -1; in is_main_thread()
1111 if (getpid_cached() == 1 && RUNNING_ON_VALGRIND) { in valgrind_summary_hack()
1148 pid_t getpid_cached(void) { in getpid_cached() function
1227 original_pid = getpid_cached(); in safe_fork_full()
1398 *ret_pid = getpid_cached(); in safe_fork_full()