Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Ddcache.c2782 struct dentry *old_parent, *p; in __d_move() local
2792 old_parent = dentry->d_parent; in __d_move()
2793 p = d_ancestor(old_parent, target); in __d_move()
2800 spin_lock_nested(&old_parent->d_lock, DENTRY_D_LOCK_NESTED); in __d_move()
2803 spin_lock(&old_parent->d_lock); in __d_move()
2832 if (dentry != old_parent) /* wasn't IS_ROOT */ in __d_move()
2833 WARN_ON(!--old_parent->d_lockref.count); in __d_move()
2835 target->d_parent = old_parent; in __d_move()
2856 if (dentry->d_parent != old_parent) in __d_move()
2858 if (dentry != old_parent) in __d_move()
[all …]
Dnamespace.c1105 struct mount *old_parent = mnt->mnt_parent; in mnt_change_mountpoint() local
1114 mnt_add_count(old_parent, -1); in mnt_change_mountpoint()
/linux-6.12.1/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.12.1/drivers/clk/
Dclk.c2120 struct clk_core *old_parent = core->parent; in __clk_set_parent_before() local
2144 clk_core_prepare_enable(old_parent); in __clk_set_parent_before()
2159 return old_parent; in __clk_set_parent_before()
2164 struct clk_core *old_parent) in __clk_set_parent_after() argument
2172 clk_core_disable_unprepare(old_parent); in __clk_set_parent_after()
2178 clk_core_disable_unprepare(old_parent); in __clk_set_parent_after()
2187 struct clk_core *old_parent; in __clk_set_parent() local
2189 old_parent = __clk_set_parent_before(core, parent); in __clk_set_parent()
2201 clk_reparent(core, old_parent); in __clk_set_parent()
2204 __clk_set_parent_after(core, old_parent, parent); in __clk_set_parent()
[all …]
/linux-6.12.1/security/tomoyo/
Dtomoyo.c284 static int tomoyo_path_rename(const struct path *old_parent, in tomoyo_path_rename() argument
290 struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry }; in tomoyo_path_rename()
/linux-6.12.1/drivers/base/
Dcore.c4593 struct device *old_parent, in device_move_class_links() argument
4598 if (old_parent) in device_move_class_links()
4616 struct device *old_parent; in device_move() local
4640 old_parent = dev->parent; in device_move()
4642 if (old_parent) in device_move()
4651 error = device_move_class_links(dev, old_parent, new_parent); in device_move()
4654 device_move_class_links(dev, new_parent, old_parent); in device_move()
4655 if (!kobject_move(&dev->kobj, &old_parent->kobj)) { in device_move()
4658 dev->parent = old_parent; in device_move()
4659 if (old_parent) { in device_move()
[all …]
/linux-6.12.1/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.12.1/security/landlock/
Dfs.c1097 struct dentry *old_parent; in current_check_refer_path() local
1151 old_parent = (old_dentry == mnt_dir.dentry) ? old_dentry : in current_check_refer_path()
1155 allow_parent1 = collect_domain_accesses(dom, mnt_dir.dentry, old_parent, in current_check_refer_path()
/linux-6.12.1/fs/smb/server/
Dvfs.c686 struct dentry *old_parent, *new_dentry, *trap; in ksmbd_vfs_rename() local
728 old_parent = dget(old_child->d_parent); in ksmbd_vfs_rename()
778 rd.old_dir = d_inode(old_parent), in ksmbd_vfs_rename()
792 dput(old_parent); in ksmbd_vfs_rename()
793 unlock_rename(old_parent, new_path.dentry); in ksmbd_vfs_rename()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_sched.c2189 struct ice_sched_node *old_parent; in ice_sched_update_parent() local
2192 old_parent = node->parent; in ice_sched_update_parent()
2195 for (i = 0; i < old_parent->num_children; i++) in ice_sched_update_parent()
2196 if (old_parent->children[i] == node) { in ice_sched_update_parent()
2197 for (j = i + 1; j < old_parent->num_children; j++) in ice_sched_update_parent()
2198 old_parent->children[j - 1] = in ice_sched_update_parent()
2199 old_parent->children[j]; in ice_sched_update_parent()
2200 old_parent->num_children--; in ice_sched_update_parent()
/linux-6.12.1/fs/ext4/
Dfast_commit.c1396 struct inode *inode, *old_parent; in ext4_fc_replay_unlink() local
1415 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1417 if (IS_ERR(old_parent)) { in ext4_fc_replay_unlink()
1423 ret = __ext4_unlink(old_parent, &entry, inode, NULL); in ext4_fc_replay_unlink()
1427 iput(old_parent); in ext4_fc_replay_unlink()
/linux-6.12.1/fs/kernfs/
Ddir.c1718 struct kernfs_node *old_parent; in kernfs_rename_ns() local
1763 old_parent = kn->parent; in kernfs_rename_ns()
1777 kernfs_put(old_parent); in kernfs_rename_ns()
/linux-6.12.1/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.12.1/fs/bcachefs/
Dsubvolume.c365 u32 old_parent, u32 new_parent) in bch2_subvolume_reparent() argument
374 le32_to_cpu(bkey_s_c_to_subvolume(k).v->creation_parent) != old_parent) in bch2_subvolume_reparent()
/linux-6.12.1/fs/btrfs/
Dtree-log.c6939 struct dentry *old_parent = NULL; in log_new_ancestors_fast() local
6963 dput(old_parent); in log_new_ancestors_fast()
6964 old_parent = parent; in log_new_ancestors_fast()
6966 dput(old_parent); in log_new_ancestors_fast()