new_parent       3072 drivers/base/core.c 				   struct device *new_parent)
new_parent       3078 drivers/base/core.c 	if (new_parent)
new_parent       3079 drivers/base/core.c 		error = sysfs_create_link(&dev->kobj, &new_parent->kobj,
new_parent       3090 drivers/base/core.c int device_move(struct device *dev, struct device *new_parent,
new_parent       3102 drivers/base/core.c 	new_parent = get_device(new_parent);
new_parent       3103 drivers/base/core.c 	new_parent_kobj = get_device_parent(dev, new_parent);
new_parent       3106 drivers/base/core.c 		put_device(new_parent);
new_parent       3111 drivers/base/core.c 		 __func__, new_parent ? dev_name(new_parent) : "<NULL>");
new_parent       3115 drivers/base/core.c 		put_device(new_parent);
new_parent       3119 drivers/base/core.c 	dev->parent = new_parent;
new_parent       3122 drivers/base/core.c 	if (new_parent) {
new_parent       3124 drivers/base/core.c 			       &new_parent->p->klist_children);
new_parent       3125 drivers/base/core.c 		set_dev_node(dev, dev_to_node(new_parent));
new_parent       3129 drivers/base/core.c 		error = device_move_class_links(dev, old_parent, new_parent);
new_parent       3132 drivers/base/core.c 			device_move_class_links(dev, new_parent, old_parent);
new_parent       3134 drivers/base/core.c 				if (new_parent)
new_parent       3144 drivers/base/core.c 			put_device(new_parent);
new_parent       3152 drivers/base/core.c 		device_pm_move_after(dev, new_parent);
new_parent       3153 drivers/base/core.c 		devices_kset_move_after(dev, new_parent);
new_parent       3156 drivers/base/core.c 		device_pm_move_before(new_parent, dev);
new_parent       3157 drivers/base/core.c 		devices_kset_move_before(new_parent, dev);
new_parent         70 drivers/clk/clk.c 	struct clk_core		*new_parent;
new_parent       1694 drivers/clk/clk.c static void clk_reparent(struct clk_core *core, struct clk_core *new_parent)
new_parent       1700 drivers/clk/clk.c 	if (new_parent) {
new_parent       1701 drivers/clk/clk.c 		bool becomes_orphan = new_parent->orphan;
new_parent       1704 drivers/clk/clk.c 		if (new_parent->new_child == core)
new_parent       1705 drivers/clk/clk.c 			new_parent->new_child = NULL;
new_parent       1707 drivers/clk/clk.c 		hlist_add_head(&core->child_node, &new_parent->children);
new_parent       1717 drivers/clk/clk.c 	core->parent = new_parent;
new_parent       1863 drivers/clk/clk.c 			     struct clk_core *new_parent, u8 p_index)
new_parent       1868 drivers/clk/clk.c 	core->new_parent = new_parent;
new_parent       1872 drivers/clk/clk.c 	if (new_parent && new_parent != core->parent)
new_parent       1873 drivers/clk/clk.c 		new_parent->new_child = core;
new_parent       1989 drivers/clk/clk.c 		if (child->new_parent && child->new_parent != core)
new_parent       2022 drivers/clk/clk.c 	if (core->new_parent) {
new_parent       2023 drivers/clk/clk.c 		parent = core->new_parent;
new_parent       2024 drivers/clk/clk.c 		best_parent_rate = core->new_parent->rate;
new_parent       2042 drivers/clk/clk.c 	if (core->new_parent && core->new_parent != core->parent) {
new_parent       2043 drivers/clk/clk.c 		old_parent = __clk_set_parent_before(core, core->new_parent);
new_parent       2044 drivers/clk/clk.c 		trace_clk_set_parent(core, core->new_parent);
new_parent       2055 drivers/clk/clk.c 		trace_clk_set_parent_complete(core, core->new_parent);
new_parent       2056 drivers/clk/clk.c 		__clk_set_parent_after(core, core->new_parent, old_parent);
new_parent       2095 drivers/clk/clk.c 		if (child->new_parent && child->new_parent != core)
new_parent       2411 drivers/clk/clk.c 				  struct clk_core *new_parent)
new_parent       2413 drivers/clk/clk.c 	clk_reparent(core, new_parent);
new_parent       2418 drivers/clk/clk.c void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent)
new_parent       2423 drivers/clk/clk.c 	clk_core_reparent(hw->core, !new_parent ? NULL : new_parent->core);
new_parent       3249 drivers/clk/clk.c 				      struct clk_core *new_parent)
new_parent        625 drivers/md/persistent-data/dm-btree.c 	struct dm_block *left, *right, *new_parent;
new_parent        629 drivers/md/persistent-data/dm-btree.c 	new_parent = shadow_current(s);
new_parent        631 drivers/md/persistent-data/dm-btree.c 	pn = dm_block_data(new_parent);
new_parent       1152 fs/kernfs/dir.c 	struct kernfs_node *new_parent = new_dir->i_private;
new_parent       1165 fs/kernfs/dir.c 	if (!kernfs_get_active(new_parent)) {
new_parent       1170 fs/kernfs/dir.c 	ret = scops->rename(kn, new_parent, new_dentry->d_name.name);
new_parent       1172 fs/kernfs/dir.c 	kernfs_put_active(new_parent);
new_parent       1529 fs/kernfs/dir.c int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent,
new_parent       1543 fs/kernfs/dir.c 	if (!kernfs_active(kn) || !kernfs_active(new_parent) ||
new_parent       1544 fs/kernfs/dir.c 	    (new_parent->flags & KERNFS_EMPTY_DIR))
new_parent       1548 fs/kernfs/dir.c 	if ((kn->parent == new_parent) && (kn->ns == new_ns) &&
new_parent       1553 fs/kernfs/dir.c 	if (kernfs_find_ns(new_parent, new_name, new_ns))
new_parent       1570 fs/kernfs/dir.c 	kernfs_get(new_parent);
new_parent       1576 fs/kernfs/dir.c 	kn->parent = new_parent;
new_parent        122 fs/sysfs/dir.c 	struct kernfs_node *new_parent;
new_parent        124 fs/sysfs/dir.c 	new_parent = new_parent_kobj && new_parent_kobj->sd ?
new_parent        127 fs/sysfs/dir.c 	return kernfs_rename_ns(kn, new_parent, kn->name, new_ns);
new_parent       3200 fs/xfs/xfs_inode.c 	bool			new_parent = (src_dp != target_dp);
new_parent       3259 fs/xfs/xfs_inode.c 	if (new_parent)
new_parent       3351 fs/xfs/xfs_inode.c 		if (new_parent && src_is_directory) {
new_parent       3393 fs/xfs/xfs_inode.c 	if (new_parent && src_is_directory) {
new_parent       3420 fs/xfs/xfs_inode.c 	if (src_is_directory && (new_parent || target_ip != NULL)) {
new_parent       3447 fs/xfs/xfs_inode.c 	if (new_parent)
new_parent        821 include/linux/clk-provider.h int clk_hw_set_parent(struct clk_hw *hw, struct clk_hw *new_parent);
new_parent        842 include/linux/clk-provider.h void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent);
new_parent       1511 include/linux/device.h extern int device_move(struct device *dev, struct device *new_parent,
new_parent        177 include/linux/kernfs.h 	int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent,
new_parent        367 include/linux/kernfs.h int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent,
new_parent        471 include/linux/kernfs.h 				   struct kernfs_node *new_parent,
new_parent        572 include/linux/kernfs.h 				struct kernfs_node *new_parent,
new_parent        575 include/linux/kernfs.h 	return kernfs_rename_ns(kn, new_parent, new_name, NULL);
new_parent         65 include/linux/ptrace.h 			  struct task_struct *new_parent,
new_parent        818 kernel/cgroup/cgroup-v1.c static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent,
new_parent        826 kernel/cgroup/cgroup-v1.c 	if (kn->parent != new_parent)
new_parent        834 kernel/cgroup/cgroup-v1.c 	kernfs_break_active_protection(new_parent);
new_parent        839 kernel/cgroup/cgroup-v1.c 	ret = kernfs_rename(kn, new_parent, new_name_str);
new_parent        846 kernel/cgroup/cgroup-v1.c 	kernfs_unbreak_active_protection(new_parent);
new_parent         67 kernel/ptrace.c void __ptrace_link(struct task_struct *child, struct task_struct *new_parent,
new_parent         71 kernel/ptrace.c 	list_add(&child->ptrace_entry, &new_parent->ptraced);
new_parent         72 kernel/ptrace.c 	child->parent = new_parent;
new_parent         82 kernel/ptrace.c static void ptrace_link(struct task_struct *child, struct task_struct *new_parent)
new_parent         84 kernel/ptrace.c 	__ptrace_link(child, new_parent, current_cred());
new_parent       1463 lib/assoc_array.c 	struct assoc_array_ptr *new_root, *new_parent, **new_ptr_pp;
new_parent       1481 lib/assoc_array.c 	new_root = new_parent = NULL;
new_parent       1500 lib/assoc_array.c 		new_s->back_pointer = new_parent;
new_parent       1502 lib/assoc_array.c 		*new_ptr_pp = new_parent = assoc_array_shortcut_to_ptr(new_s);
new_parent       1513 lib/assoc_array.c 	new_n->back_pointer = new_parent;
new_parent       1515 lib/assoc_array.c 	*new_ptr_pp = new_parent = assoc_array_node_to_ptr(new_n);
new_parent       1624 lib/assoc_array.c 			new_parent = new_n->back_pointer;
new_parent       1627 lib/assoc_array.c 			if (!new_parent) {
new_parent       1634 lib/assoc_array.c 			if (assoc_array_ptr_is_shortcut(new_parent)) {
new_parent       1637 lib/assoc_array.c 					assoc_array_ptr_to_shortcut(new_parent);
new_parent       1641 lib/assoc_array.c 				new_parent = new_s->back_pointer = s->back_pointer;
new_parent       1644 lib/assoc_array.c 				if (!new_parent) {
new_parent       1652 lib/assoc_array.c 			new_s->back_pointer = new_parent;
new_parent       1654 lib/assoc_array.c 			new_n = assoc_array_ptr_to_node(new_parent);
new_parent       1669 lib/assoc_array.c 		new_parent = new_s->back_pointer;
new_parent       1676 lib/assoc_array.c 			new_n->back_pointer = new_parent;
new_parent       1679 lib/assoc_array.c 			if (!new_parent) {
new_parent       1684 lib/assoc_array.c 			n = assoc_array_ptr_to_node(new_parent);
new_parent       1688 lib/assoc_array.c 		new_parent = ptr;
new_parent       1690 lib/assoc_array.c 	new_n = assoc_array_ptr_to_node(new_parent);
new_parent        554 lib/kobject.c  int kobject_move(struct kobject *kobj, struct kobject *new_parent)
new_parent        565 lib/kobject.c  	new_parent = kobject_get(new_parent);
new_parent        566 lib/kobject.c  	if (!new_parent) {
new_parent        568 lib/kobject.c  			new_parent = kobject_get(&kobj->kset->kobj);
new_parent        585 lib/kobject.c  	error = sysfs_move_dir_ns(kobj, new_parent, kobject_namespace(kobj));
new_parent        589 lib/kobject.c  	kobj->parent = new_parent;
new_parent        590 lib/kobject.c  	new_parent = NULL;
new_parent        594 lib/kobject.c  	kobject_put(new_parent);
new_parent        279 security/tomoyo/tomoyo.c 			      const struct path *new_parent,
new_parent        283 security/tomoyo/tomoyo.c 	struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry };
new_parent        106 tools/perf/ui/gtk/hists.c 		GtkTreeIter iter, new_parent;
new_parent        111 tools/perf/ui/gtk/hists.c 		new_parent = *parent;
new_parent        119 tools/perf/ui/gtk/hists.c 			gtk_tree_store_append(store, &iter, &new_parent);
new_parent        132 tools/perf/ui/gtk/hists.c 				new_parent = iter;
new_parent        140 tools/perf/ui/gtk/hists.c 			gtk_tree_store_append(store, &iter, &new_parent);
new_parent        153 tools/perf/ui/gtk/hists.c 				new_parent = iter;
new_parent        229 tools/perf/ui/gtk/hists.c 		GtkTreeIter iter, new_parent;
new_parent        235 tools/perf/ui/gtk/hists.c 		new_parent = *parent;
new_parent        241 tools/perf/ui/gtk/hists.c 			gtk_tree_store_append(store, &iter, &new_parent);
new_parent        254 tools/perf/ui/gtk/hists.c 				new_parent = iter;