Lines Matching refs:orphan_dir_bh

2096 	struct buffer_head *orphan_dir_bh = NULL;  in ocfs2_lookup_lock_orphan_dir()  local
2110 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_lookup_lock_orphan_dir()
2120 *ret_orphan_dir_bh = orphan_dir_bh; in ocfs2_lookup_lock_orphan_dir()
2126 struct buffer_head *orphan_dir_bh, in __ocfs2_prepare_orphan_dir() argument
2157 orphan_dir_bh, name, in __ocfs2_prepare_orphan_dir()
2189 struct buffer_head *orphan_dir_bh = NULL; in ocfs2_prepare_orphan_dir() local
2193 &orphan_dir_bh); in ocfs2_prepare_orphan_dir()
2199 ret = __ocfs2_prepare_orphan_dir(orphan_dir_inode, orphan_dir_bh, in ocfs2_prepare_orphan_dir()
2209 brelse(orphan_dir_bh); in ocfs2_prepare_orphan_dir()
2231 struct buffer_head *orphan_dir_bh = NULL; in ocfs2_orphan_add() local
2242 status = ocfs2_read_inode_block(orphan_dir_inode, &orphan_dir_bh); in ocfs2_orphan_add()
2250 orphan_dir_bh, in ocfs2_orphan_add()
2274 orphan_fe = (struct ocfs2_dinode *) orphan_dir_bh->b_data; in ocfs2_orphan_add()
2278 ocfs2_journal_dirty(handle, orphan_dir_bh); in ocfs2_orphan_add()
2283 orphan_dir_bh, lookup); in ocfs2_orphan_add()
2318 brelse(orphan_dir_bh); in ocfs2_orphan_add()
2328 struct buffer_head *orphan_dir_bh, in ocfs2_orphan_del() argument
2360 orphan_dir_bh, in ocfs2_orphan_del()
2383 orphan_fe = (struct ocfs2_dinode *) orphan_dir_bh->b_data; in ocfs2_orphan_del()
2387 ocfs2_journal_dirty(handle, orphan_dir_bh); in ocfs2_orphan_del()
2434 struct buffer_head *orphan_dir_bh = NULL; in ocfs2_prep_new_orphaned_file() local
2437 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir, &orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2458 ret = __ocfs2_prepare_orphan_dir(orphan_dir, orphan_dir_bh, in ocfs2_prep_new_orphaned_file()
2486 brelse(orphan_dir_bh); in ocfs2_prep_new_orphaned_file()
2691 struct buffer_head *orphan_dir_bh = NULL; in ocfs2_del_inode_from_orphan() local
2706 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_del_inode_from_orphan()
2724 inode, orphan_dir_bh, true); in ocfs2_del_inode_from_orphan()
2755 brelse(orphan_dir_bh); in ocfs2_del_inode_from_orphan()
2772 struct buffer_head *orphan_dir_bh = NULL; in ocfs2_mv_orphaned_inode_to_new() local
2820 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_mv_orphaned_inode_to_new()
2850 orphan_dir_bh, false); in ocfs2_mv_orphaned_inode_to_new()
2893 brelse(orphan_dir_bh); in ocfs2_mv_orphaned_inode_to_new()