Lines Matching refs:new_dir
1067 struct inode *new_dir, struct dentry *new_dentry,
1095 rc = dquot_initialize(new_dir);
1120 rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP);
1152 tid = txBegin(new_dir->i_sb, 0);
1158 * Here, the vfs has already taken i_mutex on both old_dir and new_dir.
1160 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT);
1162 if (old_dir != new_dir)
1173 rc = dtModify(tid, new_dir, &new_dname, &ino,
1182 if (old_dir != new_dir)
1185 mutex_unlock(&JFS_IP(new_dir)->commit_mutex);
1214 rc = dtSearch(new_dir, &new_dname, &ino, &btstack,
1223 rc = dtInsert(tid, new_dir, &new_dname, &ino, &btstack);
1230 inc_nlink(new_dir);
1246 if (old_dir != new_dir) {
1252 cpu_to_le32(new_dir->i_ino);
1273 new_dir->i_ctime = new_dir->i_mtime = current_time(new_dir);
1274 mark_inode_dirty(new_dir);
1283 if (old_dir != new_dir) {
1284 iplist[ipcount++] = new_dir;
1305 if (old_dir != new_dir)
1308 mutex_unlock(&JFS_IP(new_dir)->commit_mutex);