Lines Matching refs:orphan_dir
873 struct inode *orphan_dir = NULL; in ocfs2_unlink() local
951 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
1006 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1015 if (orphan_dir) { in ocfs2_unlink()
1017 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1018 inode_unlock(orphan_dir); in ocfs2_unlink()
1019 iput(orphan_dir); in ocfs2_unlink()
1202 struct inode *orphan_dir = NULL; in ocfs2_rename() local
1450 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1520 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1638 if (orphan_dir) { in ocfs2_rename()
1640 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1641 inode_unlock(orphan_dir); in ocfs2_rename()
1642 iput(orphan_dir); in ocfs2_rename()
2423 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2427 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2448 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2458 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2471 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2472 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2473 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2487 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2506 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2555 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2573 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2575 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2576 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2577 iput(orphan_dir); in ocfs2_create_inode_in_orphan()