• Home
  • Raw
  • Download

Lines Matching refs:old_inode

899 	struct inode *old_inode = d_inode(old_dentry);  in f2fs_rename()  local
961 if (S_ISDIR(old_inode->i_mode)) { in f2fs_rename()
962 old_dir_entry = f2fs_parent_dir(old_inode, &old_dir_page); in f2fs_rename()
993 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_rename()
1012 err = f2fs_add_link(new_dentry, old_inode); in f2fs_rename()
1022 down_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()
1024 file_lost_pino(old_inode); in f2fs_rename()
1027 f2fs_i_pino_write(old_inode, new_dir->i_ino); in f2fs_rename()
1028 up_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()
1030 old_inode->i_ctime = current_time(old_inode); in f2fs_rename()
1031 f2fs_mark_inode_dirty_sync(old_inode, false); in f2fs_rename()
1051 f2fs_set_link(old_inode, old_dir_entry, in f2fs_rename()
1059 if (S_ISDIR(old_inode->i_mode)) in f2fs_rename()
1060 f2fs_add_ino_entry(sbi, old_inode->i_ino, in f2fs_rename()
1090 struct inode *old_inode = d_inode(old_dentry); in f2fs_cross_rename() local
1137 if (S_ISDIR(old_inode->i_mode)) { in f2fs_cross_rename()
1138 old_dir_entry = f2fs_parent_dir(old_inode, in f2fs_cross_rename()
1179 f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir); in f2fs_cross_rename()
1188 down_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()
1190 file_lost_pino(old_inode); in f2fs_cross_rename()
1193 f2fs_i_pino_write(old_inode, new_dir->i_ino); in f2fs_cross_rename()
1194 up_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()
1205 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_cross_rename()