Lines Matching refs:orphan_dir

887 	struct inode *orphan_dir = NULL;  in ocfs2_unlink()  local
965 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
1020 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1029 if (orphan_dir) { in ocfs2_unlink()
1031 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1032 inode_unlock(orphan_dir); in ocfs2_unlink()
1033 iput(orphan_dir); in ocfs2_unlink()
1216 struct inode *orphan_dir = NULL; in ocfs2_rename() local
1464 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1534 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1652 if (orphan_dir) { in ocfs2_rename()
1654 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1655 inode_unlock(orphan_dir); in ocfs2_rename()
1656 iput(orphan_dir); in ocfs2_rename()
2437 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2441 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2462 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2472 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2485 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2486 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2487 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2501 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2521 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2571 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2589 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2591 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2592 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2593 iput(orphan_dir); in ocfs2_create_inode_in_orphan()