Searched refs:pid_has_task (Results 1 – 5 of 5) sorted by relevance
91 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() function
350 if (pid_has_task(pid, tmp)) in __change_pid()599 if (pid_has_task(p, PIDTYPE_TGID)) in SYSCALL_DEFINE2()
1448 (!wo->wo_pid || !pid_has_task(wo->wo_pid, wo->wo_type))) in do_wait()
1772 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo()
87 return pid_has_task(pid, PIDTYPE_TGID) ? pid : NULL; in pid_for_clock()