Lines Matching refs:old_dentry
386 static int f2fs_link(struct dentry *old_dentry, struct inode *dir, in f2fs_link() argument
389 struct inode *inode = d_inode(old_dentry); in f2fs_link()
398 err = fscrypt_prepare_link(old_dentry, dir, dentry); in f2fs_link()
404 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_link()
923 static int f2fs_rename(struct inode *old_dir, struct dentry *old_dentry, in f2fs_rename() argument
928 struct inode *old_inode = d_inode(old_dentry); in f2fs_rename()
945 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename()
983 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_rename()
1067 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename()
1115 static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry, in f2fs_cross_rename() argument
1119 struct inode *old_inode = d_inode(old_dentry); in f2fs_cross_rename()
1135 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename()
1150 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_cross_rename()
1281 struct inode *old_dir, struct dentry *old_dentry, in f2fs_rename2() argument
1290 err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, in f2fs_rename2()
1296 return f2fs_cross_rename(old_dir, old_dentry, in f2fs_rename2()
1303 return f2fs_rename(old_dir, old_dentry, new_dir, new_dentry, flags); in f2fs_rename2()