Searched refs:pid_has_task (Results 1 – 6 of 6) sorted by relevance
93 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 || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_create()
1591 (!wo->wo_pid || !pid_has_task(wo->wo_pid, wo->wo_type))) in do_wait()
1883 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo()
94 return pid_has_task(pid, PIDTYPE_TGID) ? pid : NULL; in pid_for_clock()
678 !pid_has_task(event->pid, PIDTYPE_TGID)) { in copy_event_to_user()