Lines Matching refs:old_dentry
381 static int f2fs_link(struct dentry *old_dentry, struct inode *dir,
384 struct inode *inode = d_inode(old_dentry);
393 err = fscrypt_prepare_link(old_dentry, dir, dentry);
399 F2FS_I(old_dentry->d_inode)->i_projid)))
913 static int f2fs_rename(struct inode *old_dir, struct dentry *old_dentry,
918 struct inode *old_inode = d_inode(old_dentry);
935 F2FS_I(old_dentry->d_inode)->i_projid)))
973 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page);
1057 err = f2fs_add_link(old_dentry, whiteout);
1105 static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry,
1109 struct inode *old_inode = d_inode(old_dentry);
1125 F2FS_I(old_dentry->d_inode)->i_projid)) ||
1140 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page);
1270 static int f2fs_rename2(struct inode *old_dir, struct dentry *old_dentry,
1279 err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry,
1285 return f2fs_cross_rename(old_dir, old_dentry,
1292 return f2fs_rename(old_dir, old_dentry, new_dir, new_dentry, flags);