• Home
  • Raw
  • Download

Lines Matching refs:new_inode

190 	inode = new_inode(dir->i_sb);  in ocfs2_get_init_inode()
1198 struct inode *new_inode = d_inode(new_dentry); in ocfs2_rename() local
1241 if (new_inode) { in ocfs2_rename()
1242 if (!igrab(new_inode)) in ocfs2_rename()
1346 if (!new_inode && new_dir != old_dir && in ocfs2_rename()
1389 if (!target_exists && new_inode) { in ocfs2_rename()
1408 if (!new_inode) { in ocfs2_rename()
1416 if (OCFS2_I(new_inode)->ip_blkno != newfe_blkno) { in ocfs2_rename()
1420 (unsigned long long)OCFS2_I(new_inode)->ip_blkno, in ocfs2_rename()
1422 OCFS2_I(new_inode)->ip_flags); in ocfs2_rename()
1426 status = ocfs2_inode_lock(new_inode, &newfe_bh, 1); in ocfs2_rename()
1446 if (S_ISDIR(new_inode->i_mode) || (new_inode->i_nlink == 1)) { in ocfs2_rename()
1448 OCFS2_I(new_inode)->ip_blkno, in ocfs2_rename()
1485 if (S_ISDIR(new_inode->i_mode)) { in ocfs2_rename()
1486 if (new_inode->i_nlink != 2 || in ocfs2_rename()
1487 !ocfs2_empty_dir(new_inode)) { in ocfs2_rename()
1492 status = ocfs2_journal_access_di(handle, INODE_CACHE(new_inode), in ocfs2_rename()
1509 if (S_ISDIR(new_inode->i_mode)) in ocfs2_rename()
1515 status = ocfs2_orphan_add(osb, handle, new_inode, in ocfs2_rename()
1581 if (new_inode) { in ocfs2_rename()
1582 drop_nlink(new_inode); in ocfs2_rename()
1583 new_inode->i_ctime = current_time(new_inode); in ocfs2_rename()
1591 if (new_inode) { in ocfs2_rename()
1592 drop_nlink(new_inode); in ocfs2_rename()
1600 if (new_inode) { in ocfs2_rename()
1601 mark_inode_dirty(new_inode); in ocfs2_rename()
1602 ocfs2_mark_inode_dirty(handle, new_inode, newfe_bh); in ocfs2_rename()
1647 ocfs2_inode_unlock(new_inode, 1); in ocfs2_rename()
1658 if (new_inode) in ocfs2_rename()
1661 iput(new_inode); in ocfs2_rename()
2487 struct inode **new_inode) in ocfs2_create_inode_in_orphan() argument
2595 *new_inode = inode; in ocfs2_create_inode_in_orphan()