Lines Matching refs:new_dir
1068 struct dentry *old_dentry, struct inode *new_dir,
1096 rc = dquot_initialize(new_dir);
1121 rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP);
1153 tid = txBegin(new_dir->i_sb, 0);
1159 * Here, the vfs has already taken i_mutex on both old_dir and new_dir.
1161 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT);
1163 if (old_dir != new_dir)
1174 rc = dtModify(tid, new_dir, &new_dname, &ino,
1183 if (old_dir != new_dir)
1186 mutex_unlock(&JFS_IP(new_dir)->commit_mutex);
1215 rc = dtSearch(new_dir, &new_dname, &ino, &btstack,
1224 rc = dtInsert(tid, new_dir, &new_dname, &ino, &btstack);
1231 inc_nlink(new_dir);
1247 if (old_dir != new_dir) {
1253 cpu_to_le32(new_dir->i_ino);
1274 new_dir->i_mtime = inode_set_ctime_current(new_dir);
1275 mark_inode_dirty(new_dir);
1284 if (old_dir != new_dir) {
1285 iplist[ipcount++] = new_dir;
1306 if (old_dir != new_dir)
1309 mutex_unlock(&JFS_IP(new_dir)->commit_mutex);