/Linux-v5.10/kernel/ |
D | exit.c | 276 is_global_init(p->real_parent)) in will_become_orphaned_pgrp() 279 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 280 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp() 325 parent = tsk->real_parent; in kill_orphaned_pgrp() 378 list_for_each_entry(c, &p->real_parent->children, sibling) { in mm_update_next_owner() 559 for (reaper = father->real_parent; in find_new_reaper() 561 reaper = reaper->real_parent) { in find_new_reaper() 623 RCU_INIT_POINTER(t->real_parent, reaper); in forget_original_parent() 626 t->parent = t->real_parent; in forget_original_parent()
|
D | ptrace.c | 125 child->parent = child->real_parent; in __ptrace_unlink() 480 if (!ret && !(current->real_parent->flags & PF_EXITING)) { in ptrace_traceme() 482 ptrace_link(current, current->real_parent); in ptrace_traceme() 530 if (!same_thread_group(p->real_parent, tracer)) in __ptrace_detach()
|
D | tsacct.c | 60 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
|
D | fork.c | 2214 p->real_parent = current->real_parent; in copy_process() 2221 p->real_parent = current; in copy_process() 2275 p->signal->has_child_subreaper = p->real_parent->signal->has_child_subreaper || in copy_process() 2276 p->real_parent->signal->is_child_subreaper; in copy_process() 2277 list_add_tail(&p->sibling, &p->real_parent->children); in copy_process() 2759 parent = child->real_parent; in walk_process_tree()
|
D | acct.c | 510 ac.ac_ppid = task_tgid_nr_ns(rcu_dereference(current->real_parent), in do_acct_process()
|
D | sys.c | 927 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in SYSCALL_DEFINE0() 1049 if (same_thread_group(p->real_parent, group_leader)) { in SYSCALL_DEFINE2()
|
D | signal.c | 2031 parent = tsk->real_parent; in do_notify_parent_cldstop()
|
/Linux-v5.10/include/linux/ |
D | ptrace.h | 99 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 214 child->parent = child->real_parent; in ptrace_init_task()
|
D | sched.h | 849 struct task_struct __rcu *real_parent; member 1459 pid = task_tgid_nr_ns(rcu_dereference(tsk->real_parent), ns); in task_ppid_nr_ns()
|
/Linux-v5.10/arch/alpha/kernel/ |
D | asm-offsets.c | 24 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo()
|
/Linux-v5.10/drivers/connector/ |
D | cn_proc.c | 85 parent = rcu_dereference(task->real_parent); in proc_fork_connector() 262 parent = rcu_dereference(task->real_parent); in proc_coredump_connector() 297 parent = rcu_dereference(task->real_parent); in proc_exit_connector()
|
/Linux-v5.10/include/linux/sched/ |
D | mm.h | 143 ret = tsk->vfork_done && tsk->real_parent->mm == tsk->mm; in in_vfork()
|
/Linux-v5.10/fs/proc/ |
D | array.c | 164 task_tgid_nr_ns(rcu_dereference(p->real_parent), ns) : 0; in task_state() 516 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat() 690 if (task && task->real_parent == start && in get_children_pid()
|
/Linux-v5.10/init/ |
D | init_task.c | 106 .real_parent = &init_task,
|
/Linux-v5.10/security/yama/ |
D | yama_lsm.c | 291 walker = rcu_dereference(walker->real_parent); in task_is_descendant()
|
/Linux-v5.10/arch/ia64/kernel/ |
D | asm-offsets.c | 58 DEFINE(IA64_TASK_REAL_PARENT_OFFSET, offsetof (struct task_struct, real_parent)); in foo()
|
D | mca.c | 1792 p->parent = p->real_parent = p->group_leader = p; in format_mca_init_stack()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 191 parent = BPF_CORE_READ(parent, real_parent); in populate_ancestors() 712 struct task_struct* parent_task = BPF_CORE_READ(task, real_parent); in raw_tracepoint__sched_process_exec()
|
/Linux-v5.10/fs/ |
D | binfmt_elf_fdpic.c | 1311 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus() 1361 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
|
D | binfmt_elf.c | 1505 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus() 1553 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
|
/Linux-v5.10/security/tomoyo/ |
D | common.h | 1139 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in tomoyo_sys_getppid()
|
/Linux-v5.10/Documentation/staging/ |
D | static-keys.rst | 225 pid = task_tgid_vnr(rcu_dereference(current->real_parent));
|
/Linux-v5.10/security/keys/ |
D | keyctl.c | 1654 parent = rcu_dereference_protected(me->real_parent, in keyctl_session_to_parent()
|
/Linux-v5.10/kernel/events/ |
D | core.c | 7538 task->real_parent); in perf_event_task_output() 7540 task->real_parent); in perf_event_task_output()
|
/Linux-v5.10/kernel/sched/ |
D | core.c | 6449 ppid = task_pid_nr(rcu_dereference(p->real_parent)); in sched_show_task()
|