Searched refs:thread_group_leader (Results 1 – 16 of 16) sorted by relevance
169 if (!thread_group_leader(myself)) in yama_task_prctl()220 if (!thread_group_leader(parent)) in task_is_descendant()223 if (!thread_group_leader(walker)) in task_is_descendant()252 if (!thread_group_leader(tracee)) in ptracer_exception_found()
86 bool group_dead = thread_group_leader(tsk); in __exit_signal()602 int sig = thread_group_leader(tsk) && in exit_notify()607 } else if (thread_group_leader(tsk)) { in exit_notify()1012 state = (ptrace_reparented(p) && thread_group_leader(p)) ? in wait_task_zombie()1025 if (state == EXIT_DEAD && thread_group_leader(p)) { in wait_task_zombie()
47 if (thread_group_leader(tsk)) { in bacct_add_tsk()
189 int init_pids = thread_group_leader(me) ? 1 : 2; in zap_pid_ns_processes()
551 if (thread_group_leader(current)) { in acct_collect()
464 dead = !thread_group_leader(p); in __ptrace_detach()
1577 if (thread_group_leader(p)) { in copy_process()
945 if (!thread_group_leader(p)) in SYSCALL_DEFINE2()
917 if (!thread_group_leader(tsk)) in de_thread()935 if (!thread_group_leader(tsk)) { in de_thread()1046 BUG_ON(!thread_group_leader(tsk)); in de_thread()
1378 if (thread_group_leader(p)) { in fill_prstatus()
1415 if (thread_group_leader(p)) { in fill_prstatus()
328 if (points == chosen_points && thread_group_leader(chosen)) in select_bad_process()
1395 thread_group_leader(chosen)) in mem_cgroup_out_of_memory()
2692 static inline bool thread_group_leader(struct task_struct *p) in thread_group_leader() function2726 (thread_group_leader(p) && !thread_group_empty(p))
298 if (tsk == current || thread_group_leader(tsk)) in posix_cpu_clock_get_task()
3321 if (thread_group_leader(pos)) in next_tid()