Lines Matching refs:new_dir
1069 struct dentry *old_dentry, struct inode *new_dir, in jfs_rename() argument
1097 rc = dquot_initialize(new_dir); in jfs_rename()
1122 rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP); in jfs_rename()
1154 tid = txBegin(new_dir->i_sb, 0); in jfs_rename()
1162 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rename()
1164 if (old_dir != new_dir) in jfs_rename()
1175 rc = dtModify(tid, new_dir, &new_dname, &ino, in jfs_rename()
1184 if (old_dir != new_dir) in jfs_rename()
1187 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1216 rc = dtSearch(new_dir, &new_dname, &ino, &btstack, in jfs_rename()
1225 rc = dtInsert(tid, new_dir, &new_dname, &ino, &btstack); in jfs_rename()
1232 inc_nlink(new_dir); in jfs_rename()
1248 if (old_dir != new_dir) { in jfs_rename()
1254 cpu_to_le32(new_dir->i_ino); in jfs_rename()
1275 inode_set_mtime_to_ts(new_dir, inode_set_ctime_current(new_dir)); in jfs_rename()
1276 mark_inode_dirty(new_dir); in jfs_rename()
1285 if (old_dir != new_dir) { in jfs_rename()
1286 iplist[ipcount++] = new_dir; in jfs_rename()
1308 if (old_dir != new_dir) in jfs_rename()
1311 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()