Searched refs:thread_group_empty (Results 1 – 11 of 11) sorted by relevance
209 if (leader != p && thread_group_empty(leader) in release_task()337 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()644 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()715 thread_group_empty(tsk) && in exit_notify()720 autoreap = thread_group_empty(tsk) && in exit_notify()955 else if (!thread_group_empty(current)) { in do_group_exit()
515 if (!dead && thread_group_empty(p)) { in __ptrace_detach()825 need_siglock = data && !thread_group_empty(current); in ptrace_resume()
569 if (sig->stats || thread_group_empty(tsk)) in taskstats_tgid_alloc()
937 else if ((type == PIDTYPE_PID) || thread_group_empty(p)) in complete_signal()1777 (tsk->group_leader != tsk || !thread_group_empty(tsk))); in do_notify_parent()2600 if (thread_group_empty(tsk) || signal_group_exit(tsk->signal)) { in exit_signals()2667 if (signal_pending(tsk) && !thread_group_empty(tsk)) { in __set_task_blocked()
1270 if (!thread_group_empty(current)) in userns_install()
2377 if (!thread_group_empty(current)) in check_unshare_flags()
635 static inline int thread_group_empty(struct task_struct *p) in thread_group_empty() function641 (thread_group_leader(p) && !thread_group_empty(p))
773 if (thread_group_empty(task) && (task->flags & PF_EXITING)) in __task_will_free_mem()
1039 } else if (unlikely(p->exit_state) && thread_group_empty(p)) { in posix_cpu_timer_rearm()
1534 if (!thread_group_empty(parent)) in keyctl_session_to_parent()
1062 if (thread_group_empty(tsk)) in de_thread()