Lines Matching refs:leader
1104 struct task_struct *leader = tsk->group_leader; in de_thread() local
1114 if (likely(leader->exit_state)) in de_thread()
1134 tsk->start_time = leader->start_time; in de_thread()
1135 tsk->real_start_time = leader->real_start_time; in de_thread()
1137 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
1151 tsk->pid = leader->pid; in de_thread()
1152 change_pid(tsk, PIDTYPE_PID, task_pid(leader)); in de_thread()
1153 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
1154 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
1155 transfer_pid(leader, tsk, PIDTYPE_SID); in de_thread()
1157 list_replace_rcu(&leader->tasks, &tsk->tasks); in de_thread()
1158 list_replace_init(&leader->sibling, &tsk->sibling); in de_thread()
1161 leader->group_leader = tsk; in de_thread()
1164 leader->exit_signal = -1; in de_thread()
1166 BUG_ON(leader->exit_state != EXIT_ZOMBIE); in de_thread()
1167 leader->exit_state = EXIT_DEAD; in de_thread()
1174 if (unlikely(leader->ptrace)) in de_thread()
1175 __wake_up_parent(leader, leader->parent); in de_thread()
1179 release_task(leader); in de_thread()