Lines Matching refs:old_dentry
398 static int f2fs_link(struct dentry *old_dentry, struct inode *dir, in f2fs_link() argument
401 struct inode *inode = d_inode(old_dentry); in f2fs_link()
410 err = fscrypt_prepare_link(old_dentry, dir, dentry); in f2fs_link()
416 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_link()
886 struct dentry *old_dentry, struct inode *new_dir, in f2fs_rename() argument
890 struct inode *old_inode = d_inode(old_dentry); in f2fs_rename()
908 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename()
928 err = f2fs_setup_filename(old_dir, &old_dentry->d_name, in f2fs_rename()
953 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_rename()
1037 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename()
1081 static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry, in f2fs_cross_rename() argument
1085 struct inode *old_inode = d_inode(old_dentry); in f2fs_cross_rename()
1101 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename()
1116 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_cross_rename()
1247 struct inode *old_dir, struct dentry *old_dentry, in f2fs_rename2() argument
1256 trace_f2fs_rename_start(old_dir, old_dentry, new_dir, new_dentry, in f2fs_rename2()
1259 err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, in f2fs_rename2()
1265 err = f2fs_cross_rename(old_dir, old_dentry, in f2fs_rename2()
1272 err = f2fs_rename(idmap, old_dir, old_dentry, in f2fs_rename2()
1275 trace_f2fs_rename_end(old_dentry, new_dentry, flags, err); in f2fs_rename2()