Home
last modified time | relevance | path

Searched refs:old_parent (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/
Ddcache.c2826 struct dentry *old_parent, *p; in __d_move() local
2835 old_parent = dentry->d_parent; in __d_move()
2836 p = d_ancestor(old_parent, target); in __d_move()
2843 spin_lock_nested(&old_parent->d_lock, DENTRY_D_LOCK_NESTED); in __d_move()
2846 spin_lock(&old_parent->d_lock); in __d_move()
2875 if (dentry != old_parent) /* wasn't IS_ROOT */ in __d_move()
2876 WARN_ON(!--old_parent->d_lockref.count); in __d_move()
2878 target->d_parent = old_parent; in __d_move()
2895 if (dentry->d_parent != old_parent) in __d_move()
2897 if (dentry != old_parent) in __d_move()
[all …]
Dnamespace.c878 struct mount *old_parent = mnt->mnt_parent; in mnt_change_mountpoint() local
887 mnt_add_count(old_parent, -1); in mnt_change_mountpoint()
/kernel/linux/linux-5.10/fs/vboxsf/
Ddir.c388 static int vboxsf_dir_rename(struct inode *old_parent, in vboxsf_dir_rename() argument
394 struct vboxsf_sbi *sbi = VBOXSF_SBI(old_parent->i_sb); in vboxsf_dir_rename()
395 struct vboxsf_inode *sf_old_parent_i = VBOXSF_I(old_parent); in vboxsf_dir_rename()
/kernel/linux/linux-5.10/drivers/clk/
Dclk.c1750 struct clk_core *old_parent = core->parent; in __clk_set_parent_before() local
1774 clk_core_prepare_enable(old_parent); in __clk_set_parent_before()
1789 return old_parent; in __clk_set_parent_before()
1794 struct clk_core *old_parent) in __clk_set_parent_after() argument
1802 clk_core_disable_unprepare(old_parent); in __clk_set_parent_after()
1808 clk_core_disable_unprepare(old_parent); in __clk_set_parent_after()
1817 struct clk_core *old_parent; in __clk_set_parent() local
1819 old_parent = __clk_set_parent_before(core, parent); in __clk_set_parent()
1831 clk_reparent(core, old_parent); in __clk_set_parent()
1833 __clk_set_parent_after(core, old_parent, parent); in __clk_set_parent()
[all …]
/kernel/linux/linux-5.10/security/tomoyo/
Dtomoyo.c271 static int tomoyo_path_rename(const struct path *old_parent, in tomoyo_path_rename() argument
276 struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry }; in tomoyo_path_rename()
/kernel/linux/linux-5.10/drivers/base/
Dcore.c3806 struct device *old_parent, in device_move_class_links() argument
3811 if (old_parent) in device_move_class_links()
3829 struct device *old_parent; in device_move() local
3853 old_parent = dev->parent; in device_move()
3855 if (old_parent) in device_move()
3864 error = device_move_class_links(dev, old_parent, new_parent); in device_move()
3867 device_move_class_links(dev, new_parent, old_parent); in device_move()
3868 if (!kobject_move(&dev->kobj, &old_parent->kobj)) { in device_move()
3871 dev->parent = old_parent; in device_move()
3872 if (old_parent) { in device_move()
[all …]
/kernel/linux/linux-5.10/lib/
Dkobject.c557 struct kobject *old_parent; in kobject_move() local
588 old_parent = kobj->parent; in kobject_move()
591 kobject_put(old_parent); in kobject_move()
/kernel/linux/linux-5.10/fs/kernfs/
Ddir.c1536 struct kernfs_node *old_parent; in kernfs_rename_ns() local
1579 old_parent = kn->parent; in kernfs_rename_ns()
1593 kernfs_put(old_parent); in kernfs_rename_ns()
/kernel/linux/linux-5.10/fs/ext4/
Dfast_commit.c1260 struct inode *inode, *old_parent; in ext4_fc_replay_unlink() local
1279 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1281 if (IS_ERR(old_parent)) { in ext4_fc_replay_unlink()
1287 ret = __ext4_unlink(NULL, old_parent, &entry, inode); in ext4_fc_replay_unlink()
1291 iput(old_parent); in ext4_fc_replay_unlink()
/kernel/linux/linux-5.10/fs/btrfs/
Dtree-log.c5511 struct dentry *old_parent = NULL; in check_parent_dirs_for_sync() local
5547 dput(old_parent); in check_parent_dirs_for_sync()
5548 old_parent = parent; in check_parent_dirs_for_sync()
5552 dput(old_parent); in check_parent_dirs_for_sync()
5928 struct dentry *old_parent = NULL; in log_new_ancestors_fast() local
5951 dput(old_parent); in log_new_ancestors_fast()
5952 old_parent = parent; in log_new_ancestors_fast()
5954 dput(old_parent); in log_new_ancestors_fast()