Searched refs:new_parent (Results 1 – 2 of 2) sorted by relevance
/kernel/cgroup/ |
D | cgroup-v1.c | 829 static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, in cgroup1_rename() argument 841 if (kn->parent != new_parent) in cgroup1_rename() 849 kernfs_break_active_protection(new_parent); in cgroup1_rename() 854 ret = kernfs_rename(kn, new_parent, new_name_str); in cgroup1_rename() 861 kernfs_unbreak_active_protection(new_parent); in cgroup1_rename()
|
/kernel/ |
D | ptrace.c | 68 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, in __ptrace_link() argument 72 list_add(&child->ptrace_entry, &new_parent->ptraced); in __ptrace_link() 73 child->parent = new_parent; in __ptrace_link() 83 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) in ptrace_link() argument 85 __ptrace_link(child, new_parent, current_cred()); in ptrace_link()
|