Searched refs:new_parent (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | ptrace.c | 60 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, in __ptrace_link() argument 64 list_add(&child->ptrace_entry, &new_parent->ptraced); in __ptrace_link() 65 child->parent = new_parent; in __ptrace_link() 75 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) in ptrace_link() argument 78 __ptrace_link(child, new_parent, __task_cred(new_parent)); in ptrace_link()
|
D | cgroup.c | 3596 static int cgroup_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, in cgroup_rename() argument 3604 if (kn->parent != new_parent) in cgroup_rename() 3619 kernfs_break_active_protection(new_parent); in cgroup_rename() 3624 ret = kernfs_rename(kn, new_parent, new_name_str); in cgroup_rename() 3631 kernfs_unbreak_active_protection(new_parent); in cgroup_rename()
|