Searched refs:pid_has_task (Results 1 – 6 of 6) sorted by relevance
94 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() function
353 if (pid_has_task(pid, tmp)) in __change_pid()
2047 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo()2180 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_prepare()
1600 (!wo->wo_pid || !pid_has_task(wo->wo_pid, wo->wo_type))) in do_wait()
94 return pid_has_task(pid, PIDTYPE_TGID) ? pid : NULL; in pid_for_clock()
718 !pid_has_task(event->pid, PIDTYPE_TGID)) { in copy_event_to_user()