Lines Matching refs:new_dentry
41 struct inode *new_dir, struct dentry *new_dentry,
1780 struct dentry *new_dentry = op->dentry_2; in afs_rename_edit_dir() local
1804 afs_edit_dir_remove(new_dvnode, &new_dentry->d_name, in afs_rename_edit_dir()
1807 afs_edit_dir_add(new_dvnode, &new_dentry->d_name, in afs_rename_edit_dir()
1811 new_inode = d_inode(new_dentry); in afs_rename_edit_dir()
1830 d_move(old_dentry, new_dentry); in afs_rename_edit_dir()
1857 struct inode *new_dir, struct dentry *new_dentry, in afs_rename() argument
1879 new_dentry); in afs_rename()
1895 op->dentry_2 = new_dentry; in afs_rename()
1896 op->rename.new_negative = d_is_negative(new_dentry); in afs_rename()
1904 if (d_is_positive(new_dentry) && !d_is_dir(new_dentry)) { in afs_rename()
1908 if (!d_unhashed(new_dentry)) { in afs_rename()
1909 d_drop(new_dentry); in afs_rename()
1910 op->rename.rehash = new_dentry; in afs_rename()
1913 if (d_count(new_dentry) > 2) { in afs_rename()
1916 op->rename.tmp = d_alloc(new_dentry->d_parent, in afs_rename()
1917 &new_dentry->d_name); in afs_rename()
1922 AFS_FS_I(d_inode(new_dentry)), in afs_rename()
1923 new_dentry, op->key); in afs_rename()