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()590 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()662 thread_group_empty(tsk) && in exit_notify()667 autoreap = thread_group_empty(tsk) && in exit_notify()894 else if (!thread_group_empty(current)) { in do_group_exit()1743 (READ_ONCE(task->exit_state) && thread_group_empty(task)); in thread_group_exited()
573 if (!dead && thread_group_empty(p)) { in __ptrace_detach()878 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()1921 (tsk->group_leader != tsk || !thread_group_empty(tsk))); in do_notify_parent()2835 if (thread_group_empty(tsk) || signal_group_exit(tsk->signal)) { in exit_signals()2894 if (signal_pending(tsk) && !thread_group_empty(tsk)) { in __set_task_blocked()
1327 if (!thread_group_empty(current)) in userns_install()
2870 if (!thread_group_empty(current)) in check_unshare_flags()
675 static inline int thread_group_empty(struct task_struct *p) in thread_group_empty() function681 (thread_group_leader(p) && !thread_group_empty(p))
798 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()