Lines Matching refs:orphan_dir
879 struct inode *orphan_dir = NULL; in ocfs2_unlink() local
957 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
1012 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1021 if (orphan_dir) { in ocfs2_unlink()
1023 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1024 inode_unlock(orphan_dir); in ocfs2_unlink()
1025 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()
2429 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2433 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2454 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2464 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2477 inode_unlock(orphan_dir); in ocfs2_prep_new_orphaned_file()
2478 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2479 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2493 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2512 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2561 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2579 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2581 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2582 inode_unlock(orphan_dir); in ocfs2_create_inode_in_orphan()
2583 iput(orphan_dir); in ocfs2_create_inode_in_orphan()