Lines Matching refs:exit_state
267 && leader->exit_state == EXIT_ZOMBIE) { in release_task()
275 leader->exit_state = EXIT_DEAD; in release_task()
334 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()
661 if (unlikely(p->exit_state == EXIT_DEAD)) in reparent_leader()
669 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()
671 p->exit_state = EXIT_DEAD; in reparent_leader()
738 tsk->exit_state = EXIT_ZOMBIE; in exit_notify()
753 tsk->exit_state = EXIT_DEAD; in exit_notify()
982 tsk->exit_state = EXIT_DEAD; in make_task_dead()
1126 if (cmpxchg(&p->exit_state, EXIT_ZOMBIE, state) != EXIT_ZOMBIE) in wait_task_zombie()
1207 p->exit_state = state; in wait_task_zombie()
1392 int exit_state = READ_ONCE(p->exit_state); in wait_consider_task() local
1395 if (unlikely(exit_state == EXIT_DEAD)) in wait_consider_task()
1402 if (unlikely(exit_state == EXIT_TRACE)) { in wait_consider_task()
1429 if (exit_state == EXIT_ZOMBIE) { in wait_consider_task()
1907 (READ_ONCE(task->exit_state) && thread_group_empty(task)); in thread_group_exited()