Searched refs:thread_group_leader (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/security/yama/
H A Dyama_lsm.c173 if (!thread_group_leader(myself)) yama_task_prctl()
224 if (!thread_group_leader(parent)) task_is_descendant()
227 if (!thread_group_leader(walker)) task_is_descendant()
256 if (!thread_group_leader(tracee)) ptracer_exception_found()
/linux-4.1.27/kernel/
H A Dtsacct.c47 if (thread_group_leader(tsk)) { bacct_add_tsk()
H A Dexit.c86 bool group_dead = thread_group_leader(tsk); __exit_signal()
602 int sig = thread_group_leader(tsk) && exit_notify()
607 } else if (thread_group_leader(tsk)) { exit_notify()
1008 state = (ptrace_reparented(p) && thread_group_leader(p)) ? wait_task_zombie()
1019 * Check thread_group_leader() to exclude the traced sub-threads. wait_task_zombie()
1021 if (state == EXIT_DEAD && thread_group_leader(p)) { wait_task_zombie()
H A Dpid_namespace.c189 int init_pids = thread_group_leader(me) ? 1 : 2; zap_pid_ns_processes()
H A Dacct.c551 if (thread_group_leader(current)) { acct_collect()
H A Dptrace.c464 dead = !thread_group_leader(p); __ptrace_detach()
H A Dfork.c1561 if (thread_group_leader(p)) { copy_process()
H A Dsys.c945 if (!thread_group_leader(p)) SYSCALL_DEFINE2()
H A Dcgroup.c2442 if (!thread_group_leader(tsk)) { __cgroup_procs_write()
2665 if (!thread_group_leader(task)) {
/linux-4.1.27/fs/
H A Dexec.c911 if (!thread_group_leader(tsk)) de_thread()
929 if (!thread_group_leader(tsk)) { de_thread()
1040 BUG_ON(!thread_group_leader(tsk)); de_thread()
H A Dbinfmt_elf_fdpic.c1338 if (thread_group_leader(p)) { fill_prstatus()
H A Dbinfmt_elf.c1405 if (thread_group_leader(p)) { fill_prstatus()
/linux-4.1.27/fs/proc/
H A Dbase.c2830 * pid of a thread_group_leader. Testing for task next_tgid()
2831 * being a thread_group_leader is the obvious thing next_tgid()
3137 if (thread_group_leader(pos)) next_tid()
/linux-4.1.27/mm/
H A Doom_kill.c324 if (points == chosen_points && thread_group_leader(chosen)) for_each_process_thread()
H A Dmemcontrol.c1576 thread_group_leader(chosen)) for_each_mem_cgroup_tree()
/linux-4.1.27/include/linux/
H A Dsched.h2569 static inline bool thread_group_leader(struct task_struct *p) thread_group_leader() function
2603 (thread_group_leader(p) && !thread_group_empty(p))
/linux-4.1.27/kernel/time/
H A Dposix-cpu-timers.c275 if (tsk == current || thread_group_leader(tsk)) posix_cpu_clock_get_task()

Completed in 725 milliseconds