Lines Matching refs:old_dentry
756 struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, in debugfs_rename() argument
767 if (IS_ERR_OR_NULL(old_dentry)) in debugfs_rename()
768 return old_dentry; in debugfs_rename()
775 if (d_really_is_negative(old_dentry) || old_dentry == trap || in debugfs_rename()
776 d_mountpoint(old_dentry)) in debugfs_rename()
783 take_dentry_name_snapshot(&old_name, old_dentry); in debugfs_rename()
785 error = simple_rename(&init_user_ns, d_inode(old_dir), old_dentry, in debugfs_rename()
791 d_move(old_dentry, dentry); in debugfs_rename()
793 d_is_dir(old_dentry), in debugfs_rename()
794 NULL, old_dentry); in debugfs_rename()
798 return old_dentry; in debugfs_rename()