/linux-master/fs/sysfs/ |
H A D | dir.c | 121 struct kernfs_node *new_parent; local 123 new_parent = new_parent_kobj && new_parent_kobj->sd ? 126 return kernfs_rename_ns(kn, new_parent, kn->name, new_ns);
|
/linux-master/tools/perf/ui/gtk/ |
H A D | hists.c | 106 GtkTreeIter iter, new_parent; local 111 new_parent = *parent; 119 gtk_tree_store_append(store, &iter, &new_parent); 132 new_parent = iter; 140 gtk_tree_store_append(store, &iter, &new_parent); 153 new_parent = iter; 229 GtkTreeIter iter, new_parent; local 235 new_parent = *parent; 241 gtk_tree_store_append(store, &iter, &new_parent); 254 new_parent [all...] |
/linux-master/lib/ |
H A D | assoc_array.c | 1462 struct assoc_array_ptr *new_root, *new_parent, **new_ptr_pp; local 1481 new_root = new_parent = NULL; 1499 new_s->back_pointer = new_parent; 1501 *new_ptr_pp = new_parent = assoc_array_shortcut_to_ptr(new_s); 1512 new_n->back_pointer = new_parent; 1514 *new_ptr_pp = new_parent = assoc_array_node_to_ptr(new_n); 1630 new_parent = new_n->back_pointer; 1633 if (!new_parent) { 1640 if (assoc_array_ptr_is_shortcut(new_parent)) { 1643 assoc_array_ptr_to_shortcut(new_parent); [all...] |
H A D | kobject.c | 536 * @new_parent: object's new parent (can be NULL) 538 int kobject_move(struct kobject *kobj, struct kobject *new_parent) argument 549 new_parent = kobject_get(new_parent); 550 if (!new_parent) { 552 new_parent = kobject_get(&kobj->kset->kobj); 569 error = sysfs_move_dir_ns(kobj, new_parent, kobject_namespace(kobj)); 573 kobj->parent = new_parent; 574 new_parent = NULL; 578 kobject_put(new_parent); [all...] |
/linux-master/include/linux/ |
H A 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, 629 struct kernfs_node *new_parent, 632 return kernfs_rename_ns(kn, new_parent, new_name, NULL); 547 kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent, const char *new_name, const void *new_ns) argument 628 kernfs_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, const char *new_name) argument
|
H A D | ptrace.h | 58 struct task_struct *new_parent,
|
H A D | clk-provider.h | 1341 int clk_hw_set_parent(struct clk_hw *hw, struct clk_hw *new_parent); 1363 void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent);
|
H A D | device.h | 1090 int device_move(struct device *dev, struct device *new_parent,
|
/linux-master/fs/kernfs/ |
H A D | dir.c | 1276 struct kernfs_node *new_parent = new_dir->i_private; local 1289 if (!kernfs_get_active(new_parent)) { 1294 ret = scops->rename(kn, new_parent, new_dentry->d_name.name); 1296 kernfs_put_active(new_parent); 1709 * @new_parent: new parent to put @sd under 1715 int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent, argument 1731 if (!kernfs_active(kn) || !kernfs_active(new_parent) || 1732 (new_parent->flags & KERNFS_EMPTY_DIR)) 1736 if ((kn->parent == new_parent) && (kn->ns == new_ns) && 1741 if (kernfs_find_ns(new_parent, new_nam [all...] |
/linux-master/drivers/clk/ |
H A D | clk.c | 75 struct clk_core *new_parent; member in struct:clk_core 2090 static void clk_reparent(struct clk_core *core, struct clk_core *new_parent) argument 2096 if (new_parent) { 2097 bool becomes_orphan = new_parent->orphan; 2100 if (new_parent->new_child == core) 2101 new_parent->new_child = NULL; 2103 hlist_add_head(&core->child_node, &new_parent->children); 2113 core->parent = new_parent; 2260 struct clk_core *new_parent, u8 p_index) 2265 core->new_parent 2259 clk_calc_subtree(struct clk_core *core, unsigned long new_rate, struct clk_core *new_parent, u8 p_index) argument 2831 clk_core_reparent(struct clk_core *core, struct clk_core *new_parent) argument 2839 clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent) argument [all...] |
H A D | clk_test.c | 683 struct clk *parent, *new_parent; local 692 new_parent = clk_get_parent(clk); 694 KUNIT_EXPECT_TRUE(test, clk_is_match(parent, new_parent)); 2473 struct clk *new_parent = clk_hw_get_clk(&ctx->mux_ctx.parents_ctx[1].hw, NULL); local 2476 ret = clk_set_parent(clk, new_parent); 2495 clk_put(new_parent);
|
/linux-master/security/tomoyo/ |
H A D | tomoyo.c | 278 * @new_parent: Pointer to "struct path". 286 const struct path *new_parent, 291 struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry }; 284 tomoyo_path_rename(const struct path *old_parent, struct dentry *old_dentry, const struct path *new_parent, struct dentry *new_dentry, const unsigned int flags) argument
|
/linux-master/drivers/base/ |
H A D | core.c | 4603 struct device *new_parent) 4609 if (new_parent) 4610 error = sysfs_create_link(&dev->kobj, &new_parent->kobj, 4618 * @new_parent: the new parent of the device (can be NULL) 4621 int device_move(struct device *dev, struct device *new_parent, argument 4633 new_parent = get_device(new_parent); 4634 new_parent_kobj = get_device_parent(dev, new_parent); 4637 put_device(new_parent); 4642 __func__, new_parent 4601 device_move_class_links(struct device *dev, struct device *old_parent, struct device *new_parent) argument [all...] |
/linux-master/kernel/ |
H A D | ptrace.c | 69 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, argument 73 list_add(&child->ptrace_entry, &new_parent->ptraced); 74 child->parent = new_parent; 84 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) argument 86 __ptrace_link(child, new_parent, current_cred());
|
/linux-master/kernel/cgroup/ |
H A D | cgroup-v1.c | 826 static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, argument 838 if (kn->parent != new_parent) 846 kernfs_break_active_protection(new_parent); 851 ret = kernfs_rename(kn, new_parent, new_name_str); 858 kernfs_unbreak_active_protection(new_parent);
|
/linux-master/fs/vboxsf/ |
H A D | dir.c | 394 struct inode *new_parent, 400 struct vboxsf_inode *sf_new_parent_i = VBOXSF_I(new_parent); 391 vboxsf_dir_rename(struct mnt_idmap *idmap, struct inode *old_parent, struct dentry *old_dentry, struct inode *new_parent, struct dentry *new_dentry, unsigned int flags) argument
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_sched.h | 123 ice_sched_update_parent(struct ice_sched_node *new_parent,
|
H A D | ice_sched.c | 2181 * @new_parent: pointer to a new parent node 2188 ice_sched_update_parent(struct ice_sched_node *new_parent, argument 2207 new_parent->children[new_parent->num_children++] = node; 2208 node->parent = new_parent; 2209 node->info.parent_teid = new_parent->info.node_teid;
|
/linux-master/fs/xfs/scrub/ |
H A D | parent_repair.c | 778 xfs_ino_t orig_parent, new_parent; local 838 &new_parent); 840 error = xrep_parent_lookup_pptrs(sc, &new_parent); 848 if (orig_parent == new_parent && VFS_I(sc->ip)->i_nlink > 0) {
|
H A D | dir_repair.c | 1830 xfs_ino_t orig_parent, new_parent; local 1875 error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &new_parent); 1883 if (orig_parent == new_parent && VFS_I(sc->ip)->i_nlink > 0) {
|
/linux-master/fs/bcachefs/ |
H A D | fs-common.c | 360 static int subvol_update_parent(struct btree_trans *trans, u32 subvol, u32 new_parent) argument 371 s->v.fs_path_parent = cpu_to_le32(new_parent);
|
H A D | subvolume.c | 360 u32 old_parent, u32 new_parent) 377 s->v.creation_parent = cpu_to_le32(new_parent); 357 bch2_subvolume_reparent(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c k, u32 old_parent, u32 new_parent) argument
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 3774 struct kernfs_node *new_parent, const char *new_name) 3782 new_prdtgrp = kernfs_to_rdtgroup(new_parent); 3788 rdtgroup_kn_get(new_prdtgrp, new_parent); 3799 kernfs_type(new_parent) != KERNFS_DIR) { 3817 if (!is_mon_groups(new_parent, new_name)) { 3851 ret = kernfs_rename(kn, new_parent, new_name); 3860 rdtgroup_kn_put(new_prdtgrp, new_parent); 3773 rdtgroup_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, const char *new_name) argument
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree.c | 843 struct dm_block *left, *right, *new_parent; local 847 new_parent = shadow_current(s); 849 pn = dm_block_data(new_parent); 886 /* new_parent should just point to l and r now */
|
/linux-master/fs/xfs/ |
H A D | xfs_inode.c | 3173 bool new_parent = (src_dp != target_dp); local 3263 if (new_parent) 3423 if (new_parent && src_is_directory) { 3465 if (new_parent && src_is_directory) { 3492 if (src_is_directory && (new_parent || target_ip != NULL)) { 3542 if (new_parent)
|