Home
last modified time | relevance | path

Searched refs:leader (Results 1 – 2 of 2) sorted by relevance

/fs/
Dexec.c906 struct task_struct *leader = tsk->group_leader; in de_thread() local
912 if (likely(leader->exit_state)) in de_thread()
932 tsk->start_time = leader->start_time; in de_thread()
934 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
949 tsk->pid = leader->pid; in de_thread()
950 attach_pid(tsk, PIDTYPE_PID, task_pid(leader)); in de_thread()
951 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
952 transfer_pid(leader, tsk, PIDTYPE_SID); in de_thread()
954 list_replace_rcu(&leader->tasks, &tsk->tasks); in de_thread()
955 list_replace_init(&leader->sibling, &tsk->sibling); in de_thread()
[all …]
/fs/proc/
Dbase.c2757 struct dentry *dentry, *leader, *dir; in proc_flush_task_mnt() local
2773 leader = d_hash_and_lookup(mnt->mnt_root, &name); in proc_flush_task_mnt()
2774 if (!leader) in proc_flush_task_mnt()
2779 dir = d_hash_and_lookup(leader, &name); in proc_flush_task_mnt()
2794 dput(leader); in proc_flush_task_mnt()
3175 struct task_struct *leader = get_proc_task(dir); in proc_task_lookup() local
3179 if (!leader) in proc_task_lookup()
3194 if (!same_thread_group(leader, task)) in proc_task_lookup()
3201 put_task_struct(leader); in proc_task_lookup()
3218 static struct task_struct *first_tid(struct task_struct *leader, in first_tid() argument
[all …]