Lines Matching refs:orphan_dir
881 struct inode *orphan_dir = NULL; in ocfs2_unlink() local
959 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
1014 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1023 if (orphan_dir) { in ocfs2_unlink()
1025 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1026 inode_unlock(orphan_dir); in ocfs2_unlink()
1027 iput(orphan_dir); in ocfs2_unlink()
1211 struct inode *orphan_dir = NULL; in ocfs2_rename() local
1459 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1529 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1647 if (orphan_dir) { in ocfs2_rename()
1649 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1650 inode_unlock(orphan_dir); in ocfs2_rename()
1651 iput(orphan_dir); in ocfs2_rename()
2433 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2437 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2458 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2468 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2481 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2482 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2483 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2497 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2516 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2565 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2583 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2585 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2586 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2587 iput(orphan_dir); in ocfs2_create_inode_in_orphan()