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()
1015 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1024 if (orphan_dir) { in ocfs2_unlink()
1026 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1027 inode_unlock(orphan_dir); in ocfs2_unlink()
1028 iput(orphan_dir); in ocfs2_unlink()
1212 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()
1663 if (orphan_dir) { in ocfs2_rename()
1665 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1666 inode_unlock(orphan_dir); in ocfs2_rename()
1667 iput(orphan_dir); in ocfs2_rename()
2455 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2459 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2480 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2490 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2503 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2504 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2505 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2519 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2538 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2587 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2605 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2607 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2608 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2609 iput(orphan_dir); in ocfs2_create_inode_in_orphan()