Lines Matching refs:orphan_dir
880 struct inode *orphan_dir = NULL; in ocfs2_unlink() local
958 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
1458 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1528 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1662 if (orphan_dir) { in ocfs2_rename()
1664 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1665 inode_unlock(orphan_dir); in ocfs2_rename()
1666 iput(orphan_dir); in ocfs2_rename()
2454 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2458 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2479 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2489 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2502 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2503 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2504 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2518 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2537 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2586 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2604 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2606 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2607 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2608 iput(orphan_dir); in ocfs2_create_inode_in_orphan()