Searched refs:thread_group_empty (Results 1 – 10 of 10) sorted by relevance
208 if (leader != p && thread_group_empty(leader) in release_task()276 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()604 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()676 thread_group_empty(tsk) && in exit_notify()681 autoreap = thread_group_empty(tsk) && in exit_notify()907 else if (!thread_group_empty(current)) { in do_group_exit()1803 (READ_ONCE(task->exit_state) && thread_group_empty(task)); in thread_group_exited()
546 if (!dead && thread_group_empty(p)) { in __ptrace_detach()880 need_siglock = data && !thread_group_empty(current); in ptrace_resume()
557 if (stats || thread_group_empty(tsk)) in taskstats_tgid_alloc()
1003 else if ((type == PIDTYPE_PID) || thread_group_empty(p)) in complete_signal()1993 (tsk->group_leader != tsk || !thread_group_empty(tsk))); in do_notify_parent()2948 if (thread_group_empty(tsk) || signal_group_exit(tsk->signal)) { in exit_signals()3007 if (task_sigpending(tsk) && !thread_group_empty(tsk)) { in __set_task_blocked()
1331 if (!thread_group_empty(current)) in userns_install()
2964 if (!thread_group_empty(current)) in check_unshare_flags()
684 static inline int thread_group_empty(struct task_struct *p) in thread_group_empty() function690 (thread_group_leader(p) && !thread_group_empty(p))
800 if (thread_group_empty(task) && (task->flags & PF_EXITING)) in __task_will_free_mem()
1662 if (!thread_group_empty(parent)) in keyctl_session_to_parent()
1043 if (thread_group_empty(tsk)) in de_thread()