Lines Matching refs:exit_state
210 && leader->exit_state == EXIT_ZOMBIE) { in release_task()
218 leader->exit_state = EXIT_DEAD; in release_task()
337 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()
636 if (unlikely(p->exit_state == EXIT_DEAD)) in reparent_leader()
644 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()
646 p->exit_state = EXIT_DEAD; in reparent_leader()
726 tsk->exit_state = autoreap ? EXIT_DEAD : EXIT_ZOMBIE; in exit_notify()
727 if (tsk->exit_state == EXIT_DEAD) in exit_notify()
1070 if (cmpxchg(&p->exit_state, EXIT_ZOMBIE, state) != EXIT_ZOMBIE) in wait_task_zombie()
1151 p->exit_state = state; in wait_task_zombie()
1336 int exit_state = READ_ONCE(p->exit_state); in wait_consider_task() local
1339 if (unlikely(exit_state == EXIT_DEAD)) in wait_consider_task()
1346 if (unlikely(exit_state == EXIT_TRACE)) { in wait_consider_task()
1373 if (exit_state == EXIT_ZOMBIE) { in wait_consider_task()