Searched refs:thread_group_empty (Results 1 – 11 of 11) sorted by relevance
216 if (leader != p && thread_group_empty(leader) in release_task()277 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()592 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()664 thread_group_empty(tsk) && in exit_notify()669 autoreap = thread_group_empty(tsk) && in exit_notify()906 else if (!thread_group_empty(current)) { in do_group_exit()
530 if (!dead && thread_group_empty(p)) { in __ptrace_detach()846 need_siglock = data && !thread_group_empty(current); in ptrace_resume()
559 if (sig->stats || thread_group_empty(tsk)) in taskstats_tgid_alloc()
997 else if ((type == PIDTYPE_PID) || thread_group_empty(p)) in complete_signal()1919 (tsk->group_leader != tsk || !thread_group_empty(tsk))); in do_notify_parent()2821 if (thread_group_empty(tsk) || signal_group_exit(tsk->signal)) { in exit_signals()2880 if (signal_pending(tsk) && !thread_group_empty(tsk)) { in __set_task_blocked()
1268 if (!thread_group_empty(current)) in userns_install()
1726 if (!task || (task->exit_state && thread_group_empty(task))) in pidfd_poll()2746 if (!thread_group_empty(current)) in check_unshare_flags()
657 static inline int thread_group_empty(struct task_struct *p) in thread_group_empty() function663 (thread_group_leader(p) && !thread_group_empty(p))
796 if (thread_group_empty(task) && (task->flags & PF_EXITING)) in __task_will_free_mem()
1014 } else if (unlikely(p->exit_state) && thread_group_empty(p)) { in posix_cpu_timer_rearm()
1591 if (!thread_group_empty(parent)) in keyctl_session_to_parent()
1067 if (thread_group_empty(tsk)) in de_thread()