Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Ddcache.c2942 struct dentry *old_parent, *p; in __d_move() local
2952 old_parent = dentry->d_parent; in __d_move()
2953 p = d_ancestor(old_parent, target); in __d_move()
2960 spin_lock_nested(&old_parent->d_lock, DENTRY_D_LOCK_NESTED); in __d_move()
2963 spin_lock(&old_parent->d_lock); in __d_move()
2992 if (dentry != old_parent) /* wasn't IS_ROOT */ in __d_move()
2993 WARN_ON(!--old_parent->d_lockref.count); in __d_move()
2995 target->d_parent = old_parent; in __d_move()
3012 if (dentry->d_parent != old_parent) in __d_move()
3014 if (dentry != old_parent) in __d_move()
[all …]
Dnamespace.c1011 struct mount *old_parent = mnt->mnt_parent; in mnt_change_mountpoint() local
1020 mnt_add_count(old_parent, -1); in mnt_change_mountpoint()
/linux-6.6.21/fs/vboxsf/
Ddir.c392 struct inode *old_parent, in vboxsf_dir_rename() argument
398 struct vboxsf_sbi *sbi = VBOXSF_SBI(old_parent->i_sb); in vboxsf_dir_rename()
399 struct vboxsf_inode *sf_old_parent_i = VBOXSF_I(old_parent); in vboxsf_dir_rename()
/linux-6.6.21/drivers/clk/
Dclk.c2010 struct clk_core *old_parent = core->parent; in __clk_set_parent_before() local
2034 clk_core_prepare_enable(old_parent); in __clk_set_parent_before()
2049 return old_parent; in __clk_set_parent_before()
2054 struct clk_core *old_parent) in __clk_set_parent_after() argument
2062 clk_core_disable_unprepare(old_parent); in __clk_set_parent_after()
2068 clk_core_disable_unprepare(old_parent); in __clk_set_parent_after()
2077 struct clk_core *old_parent; in __clk_set_parent() local
2079 old_parent = __clk_set_parent_before(core, parent); in __clk_set_parent()
2091 clk_reparent(core, old_parent); in __clk_set_parent()
2094 __clk_set_parent_after(core, old_parent, parent); in __clk_set_parent()
[all …]
/linux-6.6.21/security/tomoyo/
Dtomoyo.c283 static int tomoyo_path_rename(const struct path *old_parent, in tomoyo_path_rename() argument
289 struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry }; in tomoyo_path_rename()
/linux-6.6.21/drivers/base/
Dcore.c4507 struct device *old_parent, in device_move_class_links() argument
4512 if (old_parent) in device_move_class_links()
4530 struct device *old_parent; in device_move() local
4554 old_parent = dev->parent; in device_move()
4556 if (old_parent) in device_move()
4565 error = device_move_class_links(dev, old_parent, new_parent); in device_move()
4568 device_move_class_links(dev, new_parent, old_parent); in device_move()
4569 if (!kobject_move(&dev->kobj, &old_parent->kobj)) { in device_move()
4572 dev->parent = old_parent; in device_move()
4573 if (old_parent) { in device_move()
[all …]
/linux-6.6.21/lib/
Dkobject.c541 struct kobject *old_parent; in kobject_move() local
572 old_parent = kobj->parent; in kobject_move()
575 kobject_put(old_parent); in kobject_move()
/linux-6.6.21/fs/smb/server/
Dvfs.c681 struct dentry *old_parent, *new_dentry, *trap; in ksmbd_vfs_rename() local
719 old_parent = dget(old_child->d_parent); in ksmbd_vfs_rename()
764 rd.old_dir = d_inode(old_parent), in ksmbd_vfs_rename()
778 dput(old_parent); in ksmbd_vfs_rename()
779 unlock_rename(old_parent, new_path.dentry); in ksmbd_vfs_rename()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_sched.c2201 struct ice_sched_node *old_parent; in ice_sched_update_parent() local
2204 old_parent = node->parent; in ice_sched_update_parent()
2207 for (i = 0; i < old_parent->num_children; i++) in ice_sched_update_parent()
2208 if (old_parent->children[i] == node) { in ice_sched_update_parent()
2209 for (j = i + 1; j < old_parent->num_children; j++) in ice_sched_update_parent()
2210 old_parent->children[j - 1] = in ice_sched_update_parent()
2211 old_parent->children[j]; in ice_sched_update_parent()
2212 old_parent->num_children--; in ice_sched_update_parent()
/linux-6.6.21/block/
Dbfq-cgroup.c639 struct bfq_group *old_parent = bfqq_group(bfqq); in bfq_bfqq_move() local
646 if (old_parent == bfqg) in bfq_bfqq_move()
680 bfqg_and_blkg_put(old_parent); in bfq_bfqq_move()
/linux-6.6.21/fs/kernfs/
Ddir.c1709 struct kernfs_node *old_parent; in kernfs_rename_ns() local
1754 old_parent = kn->parent; in kernfs_rename_ns()
1768 kernfs_put(old_parent); in kernfs_rename_ns()
/linux-6.6.21/fs/ext4/
Dfast_commit.c1367 struct inode *inode, *old_parent; in ext4_fc_replay_unlink() local
1386 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1388 if (IS_ERR(old_parent)) { in ext4_fc_replay_unlink()
1394 ret = __ext4_unlink(old_parent, &entry, inode, NULL); in ext4_fc_replay_unlink()
1398 iput(old_parent); in ext4_fc_replay_unlink()
/linux-6.6.21/fs/btrfs/
Dtree-log.c6855 struct dentry *old_parent = NULL; in log_new_ancestors_fast() local
6879 dput(old_parent); in log_new_ancestors_fast()
6880 old_parent = parent; in log_new_ancestors_fast()
6882 dput(old_parent); in log_new_ancestors_fast()