/linux-6.12.1/lib/ |
D | assoc_array.c | 1462 struct assoc_array_ptr *new_root, *new_parent, **new_ptr_pp; in assoc_array_gc() local 1481 new_root = new_parent = NULL; in assoc_array_gc() 1499 new_s->back_pointer = new_parent; in assoc_array_gc() 1501 *new_ptr_pp = new_parent = assoc_array_shortcut_to_ptr(new_s); in assoc_array_gc() 1512 new_n->back_pointer = new_parent; in assoc_array_gc() 1514 *new_ptr_pp = new_parent = assoc_array_node_to_ptr(new_n); in assoc_array_gc() 1630 new_parent = new_n->back_pointer; in assoc_array_gc() 1633 if (!new_parent) { in assoc_array_gc() 1640 if (assoc_array_ptr_is_shortcut(new_parent)) { in assoc_array_gc() 1643 assoc_array_ptr_to_shortcut(new_parent); in assoc_array_gc() [all …]
|
D | kobject.c | 538 int kobject_move(struct kobject *kobj, struct kobject *new_parent) in kobject_move() argument 549 new_parent = kobject_get(new_parent); in kobject_move() 550 if (!new_parent) { in kobject_move() 552 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move() 569 error = sysfs_move_dir_ns(kobj, new_parent, kobject_namespace(kobj)); in kobject_move() 573 kobj->parent = new_parent; in kobject_move() 574 new_parent = NULL; in kobject_move() 578 kobject_put(new_parent); in kobject_move()
|
/linux-6.12.1/fs/sysfs/ |
D | dir.c | 121 struct kernfs_node *new_parent; in sysfs_move_dir_ns() local 123 new_parent = new_parent_kobj && new_parent_kobj->sd ? in sysfs_move_dir_ns() 126 return kernfs_rename_ns(kn, new_parent, kn->name, new_ns); in sysfs_move_dir_ns()
|
/linux-6.12.1/tools/perf/ui/gtk/ |
D | hists.c | 106 GtkTreeIter iter, new_parent; in perf_gtk__add_callchain_flat() local 111 new_parent = *parent; in perf_gtk__add_callchain_flat() 119 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat() 132 new_parent = iter; in perf_gtk__add_callchain_flat() 140 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat() 153 new_parent = iter; in perf_gtk__add_callchain_flat() 229 GtkTreeIter iter, new_parent; in perf_gtk__add_callchain_graph() local 235 new_parent = *parent; in perf_gtk__add_callchain_graph() 241 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_graph() 254 new_parent = iter; in perf_gtk__add_callchain_graph()
|
/linux-6.12.1/include/linux/ |
D | kernfs.h | 243 int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent, 444 int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent, 548 struct kernfs_node *new_parent, in kernfs_rename_ns() argument 629 struct kernfs_node *new_parent, in kernfs_rename() argument 632 return kernfs_rename_ns(kn, new_parent, new_name, NULL); in kernfs_rename()
|
D | ptrace.h | 58 struct task_struct *new_parent,
|
D | clk-provider.h | 1355 int clk_hw_set_parent(struct clk_hw *hw, struct clk_hw *new_parent); 1377 void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent);
|
D | device.h | 1091 int device_move(struct device *dev, struct device *new_parent,
|
/linux-6.12.1/drivers/clk/ |
D | clk.c | 75 struct clk_core *new_parent; member 2090 static void clk_reparent(struct clk_core *core, struct clk_core *new_parent) in clk_reparent() argument 2096 if (new_parent) { in clk_reparent() 2097 bool becomes_orphan = new_parent->orphan; in clk_reparent() 2100 if (new_parent->new_child == core) in clk_reparent() 2101 new_parent->new_child = NULL; in clk_reparent() 2103 hlist_add_head(&core->child_node, &new_parent->children); in clk_reparent() 2113 core->parent = new_parent; in clk_reparent() 2260 struct clk_core *new_parent, u8 p_index) in clk_calc_subtree() argument 2265 core->new_parent = new_parent; in clk_calc_subtree() [all …]
|
D | clk_test.c | 666 struct clk *parent, *new_parent; in clk_test_orphan_transparent_multiple_parent_mux_set_parent() local 675 new_parent = clk_get_parent(clk); in clk_test_orphan_transparent_multiple_parent_mux_set_parent() 677 KUNIT_EXPECT_TRUE(test, clk_is_match(parent, new_parent)); in clk_test_orphan_transparent_multiple_parent_mux_set_parent() 2447 struct clk *new_parent = clk_hw_get_clk(&ctx->mux_ctx.parents_ctx[1].hw, NULL); in clk_mux_notifier_set_parent_test() local 2450 ret = clk_set_parent(clk, new_parent); in clk_mux_notifier_set_parent_test() 2469 clk_put(new_parent); in clk_mux_notifier_set_parent_test()
|
/linux-6.12.1/fs/kernfs/ |
D | dir.c | 1276 struct kernfs_node *new_parent = new_dir->i_private; in kernfs_iop_rename() local 1289 if (!kernfs_get_active(new_parent)) { in kernfs_iop_rename() 1294 ret = scops->rename(kn, new_parent, new_dentry->d_name.name); in kernfs_iop_rename() 1296 kernfs_put_active(new_parent); in kernfs_iop_rename() 1715 int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent, in kernfs_rename_ns() argument 1731 if (!kernfs_active(kn) || !kernfs_active(new_parent) || in kernfs_rename_ns() 1732 (new_parent->flags & KERNFS_EMPTY_DIR)) in kernfs_rename_ns() 1736 if ((kn->parent == new_parent) && (kn->ns == new_ns) && in kernfs_rename_ns() 1741 if (kernfs_find_ns(new_parent, new_name, new_ns)) in kernfs_rename_ns() 1758 kernfs_get(new_parent); in kernfs_rename_ns() [all …]
|
/linux-6.12.1/drivers/base/ |
D | core.c | 4594 struct device *new_parent) in device_move_class_links() argument 4600 if (new_parent) in device_move_class_links() 4601 error = sysfs_create_link(&dev->kobj, &new_parent->kobj, in device_move_class_links() 4612 int device_move(struct device *dev, struct device *new_parent, in device_move() argument 4624 new_parent = get_device(new_parent); in device_move() 4625 new_parent_kobj = get_device_parent(dev, new_parent); in device_move() 4628 put_device(new_parent); in device_move() 4633 __func__, new_parent ? dev_name(new_parent) : "<NULL>"); in device_move() 4637 put_device(new_parent); in device_move() 4641 dev->parent = new_parent; in device_move() [all …]
|
/linux-6.12.1/kernel/cgroup/ |
D | cgroup-v1.c | 835 static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, in cgroup1_rename() argument 847 if (kn->parent != new_parent) in cgroup1_rename() 855 kernfs_break_active_protection(new_parent); in cgroup1_rename() 860 ret = kernfs_rename(kn, new_parent, new_name_str); in cgroup1_rename() 867 kernfs_unbreak_active_protection(new_parent); in cgroup1_rename()
|
/linux-6.12.1/kernel/ |
D | ptrace.c | 69 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, in __ptrace_link() argument 73 list_add(&child->ptrace_entry, &new_parent->ptraced); in __ptrace_link() 74 child->parent = new_parent; in __ptrace_link() 84 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) in ptrace_link() argument 86 __ptrace_link(child, new_parent, current_cred()); in ptrace_link()
|
/linux-6.12.1/security/tomoyo/ |
D | tomoyo.c | 286 const struct path *new_parent, in tomoyo_path_rename() argument 291 struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry }; in tomoyo_path_rename()
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_dir2.c | 1203 bool new_parent = (src_dp != target_dp); in xfs_dir_rename_children() local 1277 if (new_parent && src_is_directory) { in xfs_dir_rename_children() 1319 if (new_parent && src_is_directory) { in xfs_dir_rename_children() 1346 if (src_is_directory && (new_parent || target_ip != NULL)) { in xfs_dir_rename_children() 1373 if (new_parent) in xfs_dir_rename_children()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | parent_repair.c | 778 xfs_ino_t orig_parent, new_parent; in xrep_parent_move_to_orphanage() local 838 &new_parent); in xrep_parent_move_to_orphanage() 840 error = xrep_parent_lookup_pptrs(sc, &new_parent); in xrep_parent_move_to_orphanage() 848 if (orig_parent == new_parent && VFS_I(sc->ip)->i_nlink > 0) { in xrep_parent_move_to_orphanage()
|
D | dir_repair.c | 1830 xfs_ino_t orig_parent, new_parent; in xrep_dir_move_to_orphanage() local 1875 error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &new_parent); in xrep_dir_move_to_orphanage() 1883 if (orig_parent == new_parent && VFS_I(sc->ip)->i_nlink > 0) { in xrep_dir_move_to_orphanage()
|
/linux-6.12.1/fs/vboxsf/ |
D | dir.c | 394 struct inode *new_parent, in vboxsf_dir_rename() argument 400 struct vboxsf_inode *sf_new_parent_i = VBOXSF_I(new_parent); in vboxsf_dir_rename()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_sched.h | 123 ice_sched_update_parent(struct ice_sched_node *new_parent,
|
D | ice_sched.c | 2186 ice_sched_update_parent(struct ice_sched_node *new_parent, in ice_sched_update_parent() argument 2205 new_parent->children[new_parent->num_children++] = node; in ice_sched_update_parent() 2206 node->parent = new_parent; in ice_sched_update_parent() 2207 node->info.parent_teid = new_parent->info.node_teid; in ice_sched_update_parent()
|
/linux-6.12.1/fs/bcachefs/ |
D | fs-common.c | 361 static int subvol_update_parent(struct btree_trans *trans, u32 subvol, u32 new_parent) in subvol_update_parent() argument 372 s->v.fs_path_parent = cpu_to_le32(new_parent); in subvol_update_parent()
|
D | subvolume.c | 365 u32 old_parent, u32 new_parent) in bch2_subvolume_reparent() argument 382 s->v.creation_parent = cpu_to_le32(new_parent); in bch2_subvolume_reparent()
|
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 3842 struct kernfs_node *new_parent, const char *new_name) in rdtgroup_rename() argument 3850 new_prdtgrp = kernfs_to_rdtgroup(new_parent); in rdtgroup_rename() 3856 rdtgroup_kn_get(new_prdtgrp, new_parent); in rdtgroup_rename() 3867 kernfs_type(new_parent) != KERNFS_DIR) { in rdtgroup_rename() 3885 if (!is_mon_groups(new_parent, new_name)) { in rdtgroup_rename() 3919 ret = kernfs_rename(kn, new_parent, new_name); in rdtgroup_rename() 3928 rdtgroup_kn_put(new_prdtgrp, new_parent); in rdtgroup_rename()
|
/linux-6.12.1/drivers/md/persistent-data/ |
D | dm-btree.c | 843 struct dm_block *left, *right, *new_parent; in btree_split_beneath() local 847 new_parent = shadow_current(s); in btree_split_beneath() 849 pn = dm_block_data(new_parent); in btree_split_beneath()
|