Lines Matching refs:new_dir
1201 struct inode *new_dir,
1234 trace_ocfs2_rename(old_dir, old_dentry, new_dir, new_dentry,
1243 status = dquot_initialize(new_dir);
1267 if (old_dir != new_dir && S_ISDIR(old_inode->i_mode)) {
1277 status = ocfs2_check_if_ancestor(osb, new_dir->i_ino,
1286 (unsigned long long)new_dir->i_ino);
1293 &new_dir_bh, new_dir, 1);
1300 if (!new_dir->i_nlink) {
1356 if (!new_inode && new_dir != old_dir &&
1357 new_dir->i_nlink >= ocfs2_link_max(osb)) {
1386 &newfe_blkno, new_dir,
1468 BUG_ON(d_inode(new_dentry->d_parent) != new_dir);
1470 status = ocfs2_check_dir_for_entry(new_dir,
1476 status = ocfs2_prepare_dir_for_insert(osb, new_dir, new_dir_bh,
1511 status = ocfs2_update_entry(new_dir, handle, &target_lookup_res,
1517 inode_inc_iversion(new_dir);
1534 /* if the name was not found in new_dir, add it now */
1560 * Now that the name has been added to new_dir, remove the old name.
1599 &old_inode_dot_dot_res, new_dir);
1604 inc_nlink(new_dir);
1605 mark_inode_dirty(new_dir);
1615 if (old_dir != new_dir) {
1617 new_dir->i_mtime = inode_set_ctime_to_ts(new_dir,
1624 ocfs2_mark_inode_dirty(handle, new_dir, new_dir_bh);
1644 ocfs2_dentry_move(old_dentry, new_dentry, old_dir, new_dir);
1664 ocfs2_double_unlock(old_dir, new_dir);