Home
last modified time | relevance | path

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

/fs/
Dexec.c809 struct task_struct *leader = tsk->group_leader; in de_thread() local
814 if (likely(leader->exit_state)) in de_thread()
831 tsk->start_time = leader->start_time; in de_thread()
833 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
848 tsk->pid = leader->pid; in de_thread()
849 attach_pid(tsk, PIDTYPE_PID, task_pid(leader)); in de_thread()
850 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
851 transfer_pid(leader, tsk, PIDTYPE_SID); in de_thread()
852 list_replace_rcu(&leader->tasks, &tsk->tasks); in de_thread()
855 leader->group_leader = tsk; in de_thread()
[all …]
/fs/proc/
Dbase.c2620 struct dentry *dentry, *leader, *dir; in proc_flush_task_mnt() local
2639 leader = d_hash_and_lookup(mnt->mnt_root, &name); in proc_flush_task_mnt()
2640 if (!leader) in proc_flush_task_mnt()
2645 dir = d_hash_and_lookup(leader, &name); in proc_flush_task_mnt()
2660 dput(leader); in proc_flush_task_mnt()
2984 struct task_struct *leader = get_proc_task(dir); in proc_task_lookup() local
2988 if (!leader) in proc_task_lookup()
3003 if (!same_thread_group(leader, task)) in proc_task_lookup()
3010 put_task_struct(leader); in proc_task_lookup()
3027 static struct task_struct *first_tid(struct task_struct *leader, in first_tid() argument
[all …]