Searched refs:thread_group_empty (Results 1 – 10 of 10) sorted by relevance
213 if (leader != p && thread_group_empty(leader) in release_task()281 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()595 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()667 thread_group_empty(tsk) && in exit_notify()672 autoreap = thread_group_empty(tsk) && in exit_notify()903 else if (!thread_group_empty(current)) { in do_group_exit()1752 (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()2838 if (thread_group_empty(tsk) || signal_group_exit(tsk->signal)) { in exit_signals()2897 if (task_sigpending(tsk) && !thread_group_empty(tsk)) { in __set_task_blocked()
1327 if (!thread_group_empty(current)) in userns_install()
2904 if (!thread_group_empty(current)) in check_unshare_flags()
687 static inline int thread_group_empty(struct task_struct *p) in thread_group_empty() function693 (thread_group_leader(p) && !thread_group_empty(p))
824 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()
1049 if (thread_group_empty(tsk)) in de_thread()