Lines Matching refs:old_dir_entry
927 struct f2fs_dir_entry *old_dir_entry = NULL; in f2fs_rename() local
985 old_dir_entry = f2fs_parent_dir(old_inode, &old_dir_page); in f2fs_rename()
986 if (!old_dir_entry) { in f2fs_rename()
996 if (old_dir_entry && !f2fs_empty_dir(new_inode)) in f2fs_rename()
1021 if (old_dir_entry) in f2fs_rename()
1041 if (old_dir_entry) in f2fs_rename()
1046 if (!old_dir_entry || whiteout) in f2fs_rename()
1072 if (old_dir_entry) { in f2fs_rename()
1074 f2fs_set_link(old_inode, old_dir_entry, in f2fs_rename()
1099 if (old_dir_entry) in f2fs_rename()
1117 struct f2fs_dir_entry *old_dir_entry = NULL, *new_dir_entry = NULL; in f2fs_cross_rename() local
1161 old_dir_entry = f2fs_parent_dir(old_inode, in f2fs_cross_rename()
1163 if (!old_dir_entry) { in f2fs_cross_rename()
1186 if ((!old_dir_entry || !new_dir_entry) && in f2fs_cross_rename()
1187 old_dir_entry != new_dir_entry) { in f2fs_cross_rename()
1188 old_nlink = old_dir_entry ? -1 : 1; in f2fs_cross_rename()
1201 if (old_dir_entry) in f2fs_cross_rename()
1202 f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir); in f2fs_cross_rename()
1212 if (!old_dir_entry) in f2fs_cross_rename()
1263 if (old_dir_entry) { in f2fs_cross_rename()