Lines Matching refs:leader
1064 struct task_struct *leader = tsk->group_leader; in de_thread() local
1074 if (likely(leader->exit_state)) in de_thread()
1094 tsk->start_time = leader->start_time; in de_thread()
1095 tsk->start_boottime = leader->start_boottime; in de_thread()
1097 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
1108 exchange_tids(tsk, leader); in de_thread()
1109 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
1110 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
1111 transfer_pid(leader, tsk, PIDTYPE_SID); in de_thread()
1113 list_replace_rcu(&leader->tasks, &tsk->tasks); in de_thread()
1114 list_replace_init(&leader->sibling, &tsk->sibling); in de_thread()
1117 leader->group_leader = tsk; in de_thread()
1120 leader->exit_signal = -1; in de_thread()
1122 BUG_ON(leader->exit_state != EXIT_ZOMBIE); in de_thread()
1123 leader->exit_state = EXIT_DEAD; in de_thread()
1129 if (unlikely(leader->ptrace)) in de_thread()
1130 __wake_up_parent(leader, leader->parent); in de_thread()
1134 release_task(leader); in de_thread()