Lines Matching refs:orphan_dir

864 	struct inode *orphan_dir = NULL;  in ocfs2_unlink()  local
938 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_unlink()
993 orphan_name, &orphan_insert, orphan_dir, false); in ocfs2_unlink()
1007 if (orphan_dir) { in ocfs2_unlink()
1009 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_unlink()
1010 mutex_unlock(&orphan_dir->i_mutex); in ocfs2_unlink()
1011 iput(orphan_dir); in ocfs2_unlink()
1195 struct inode *orphan_dir = NULL; in ocfs2_rename() local
1427 status = ocfs2_prepare_orphan_dir(osb, &orphan_dir, in ocfs2_rename()
1497 &orphan_insert, orphan_dir, false); in ocfs2_rename()
1614 if (orphan_dir) { in ocfs2_rename()
1616 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_rename()
1617 mutex_unlock(&orphan_dir->i_mutex); in ocfs2_rename()
1618 iput(orphan_dir); in ocfs2_rename()
2383 struct inode *orphan_dir = NULL; in ocfs2_prep_new_orphaned_file() local
2387 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2408 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2418 *ret_orphan_dir = orphan_dir; in ocfs2_prep_new_orphaned_file()
2431 mutex_unlock(&orphan_dir->i_mutex); in ocfs2_prep_new_orphaned_file()
2432 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_prep_new_orphaned_file()
2433 iput(orphan_dir); in ocfs2_prep_new_orphaned_file()
2447 struct inode *orphan_dir = NULL; in ocfs2_create_inode_in_orphan() local
2467 orphan_name, &orphan_dir, in ocfs2_create_inode_in_orphan()
2516 &orphan_insert, orphan_dir, false); in ocfs2_create_inode_in_orphan()
2534 if (orphan_dir) { in ocfs2_create_inode_in_orphan()
2536 ocfs2_inode_unlock(orphan_dir, 1); in ocfs2_create_inode_in_orphan()
2537 mutex_unlock(&orphan_dir->i_mutex); in ocfs2_create_inode_in_orphan()
2538 iput(orphan_dir); in ocfs2_create_inode_in_orphan()