Lines Matching refs:orphan_dir
878 struct inode *orphan_dir = NULL; in ocfs2_unlink() local
956 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
1011 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1020 if (orphan_dir) { in ocfs2_unlink()
1022 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1023 inode_unlock(orphan_dir); in ocfs2_unlink()
1024 iput(orphan_dir); in ocfs2_unlink()
1208 struct inode *orphan_dir = NULL; in ocfs2_rename() local
1456 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1526 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1644 if (orphan_dir) { in ocfs2_rename()
1646 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1647 inode_unlock(orphan_dir); in ocfs2_rename()
1648 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()