/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | rcu_read_lock.c | 53 struct task_struct *task, *real_parent; in task_succ() local 63 real_parent = task->real_parent; in task_succ() 64 if (!real_parent) in task_succ() 66 ptr = bpf_task_storage_get(&map_a, real_parent, &init_val, in task_succ() 70 ptr = bpf_task_storage_get(&map_a, real_parent, 0, 0); in task_succ() 82 struct task_struct *task, *real_parent; in no_lock() local 86 real_parent = task->real_parent; in no_lock() 87 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0); in no_lock() 94 struct task_struct *task, *real_parent; in two_regions() local 101 real_parent = task->real_parent; in two_regions() [all …]
|
D | profiler.inc.h | 190 parent = BPF_CORE_READ(parent, real_parent); in populate_ancestors() 725 struct task_struct* parent_task = BPF_CORE_READ(task, real_parent); in raw_tracepoint__sched_process_exec()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | msi.c | 207 struct irq_domain *real_parent, struct msi_domain_info *info) in x86_init_dev_msi_info() argument 209 const struct msi_parent_ops *pops = real_parent->msi_parent_ops; in x86_init_dev_msi_info() 212 switch (real_parent->bus_token) { in x86_init_dev_msi_info() 215 if (WARN_ON_ONCE(domain != real_parent)) in x86_init_dev_msi_info()
|
/linux-6.6.21/kernel/ |
D | exit.c | 334 is_global_init(p->real_parent)) in will_become_orphaned_pgrp() 337 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 338 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp() 383 parent = tsk->real_parent; in kill_orphaned_pgrp() 479 list_for_each_entry(c, &p->real_parent->children, sibling) { in mm_update_next_owner() 640 for (reaper = father->real_parent; in find_new_reaper() 642 reaper = reaper->real_parent) { in find_new_reaper() 704 RCU_INIT_POINTER(t->real_parent, reaper); in forget_original_parent() 707 t->parent = t->real_parent; in forget_original_parent() 1546 !ptrace ? target->real_parent : target->parent; in is_effectively_child()
|
D | ptrace.c | 127 child->parent = child->real_parent; in __ptrace_unlink() 520 if (!ret && !(current->real_parent->flags & PF_EXITING)) { in ptrace_traceme() 522 ptrace_link(current, current->real_parent); in ptrace_traceme() 570 if (!same_thread_group(p->real_parent, tracer)) in __ptrace_detach()
|
D | tsacct.c | 65 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
|
D | fork.c | 2630 p->real_parent = current->real_parent; in copy_process() 2637 p->real_parent = current; in copy_process() 2693 p->signal->has_child_subreaper = p->real_parent->signal->has_child_subreaper || in copy_process() 2694 p->real_parent->signal->is_child_subreaper; in copy_process() 2695 list_add_tail(&p->sibling, &p->real_parent->children); in copy_process() 3238 parent = child->real_parent; in walk_process_tree()
|
D | acct.c | 528 ac.ac_ppid = task_tgid_nr_ns(rcu_dereference(current->real_parent), in do_acct_process()
|
D | sys.c | 980 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in SYSCALL_DEFINE0() 1102 if (same_thread_group(p->real_parent, group_leader)) { in SYSCALL_DEFINE2()
|
/linux-6.6.21/include/linux/ |
D | ptrace.h | 92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 206 child->parent = child->real_parent; in ptrace_init_task()
|
D | sched.h | 981 struct task_struct __rcu *real_parent; member 1647 pid = task_tgid_nr_ns(rcu_dereference(tsk->real_parent), ns); in task_ppid_nr_ns()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | asm-offsets.c | 26 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo()
|
/linux-6.6.21/drivers/connector/ |
D | cn_proc.c | 133 parent = rcu_dereference(task->real_parent); in proc_fork_connector() 310 parent = rcu_dereference(task->real_parent); in proc_coredump_connector() 345 parent = rcu_dereference(task->real_parent); in proc_exit_connector()
|
/linux-6.6.21/fs/proc/ |
D | array.c | 161 task_tgid_nr_ns(rcu_dereference(p->real_parent), ns) : 0; in task_state() 555 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat() 730 if (task && task->real_parent == start && in get_children_pid()
|
/linux-6.6.21/init/ |
D | init_task.c | 107 .real_parent = &init_task,
|
/linux-6.6.21/include/linux/sched/ |
D | mm.h | 223 rcu_dereference(tsk->real_parent)->mm == tsk->mm; in in_vfork()
|
/linux-6.6.21/security/yama/ |
D | yama_lsm.c | 291 walker = rcu_dereference(walker->real_parent); in task_is_descendant()
|
/linux-6.6.21/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 | 1793 p->parent = p->real_parent = p->group_leader = p; in format_mca_init_stack()
|
/linux-6.6.21/fs/ |
D | binfmt_elf_fdpic.c | 1292 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus() 1340 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
|
D | binfmt_elf.c | 1543 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus() 1592 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
|
/linux-6.6.21/security/tomoyo/ |
D | common.h | 1136 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in tomoyo_sys_getppid()
|
/linux-6.6.21/Documentation/staging/ |
D | static-keys.rst | 222 pid = task_tgid_vnr(rcu_dereference(current->real_parent));
|
/linux-6.6.21/tools/bpf/bpftool/Documentation/ |
D | bpftool-gen.rst | 426 'real_parent' type_id=7 bits_offset=18048
|
/linux-6.6.21/security/keys/ |
D | keyctl.c | 1659 parent = rcu_dereference_protected(me->real_parent, in keyctl_session_to_parent()
|