Lines Matching refs:orphan_dir
875 struct inode *orphan_dir = NULL; in ocfs2_unlink() local
953 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
1008 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1017 if (orphan_dir) { in ocfs2_unlink()
1019 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1020 inode_unlock(orphan_dir); in ocfs2_unlink()
1021 iput(orphan_dir); in ocfs2_unlink()
1204 struct inode *orphan_dir = NULL; in ocfs2_rename() local
1452 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1522 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1640 if (orphan_dir) { in ocfs2_rename()
1642 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1643 inode_unlock(orphan_dir); in ocfs2_rename()
1644 iput(orphan_dir); in ocfs2_rename()
2428 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2432 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2453 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2463 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2476 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2477 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2478 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2492 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2511 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2560 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2578 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2580 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2581 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2582 iput(orphan_dir); in ocfs2_create_inode_in_orphan()