Lines Matching refs:di_bh
2611 struct buffer_head *di_bh = NULL; in ocfs2_add_inode_to_orphan() local
2616 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_add_inode_to_orphan()
2622 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_add_inode_to_orphan()
2628 status = ocfs2_truncate_file(inode, di_bh, i_size_read(inode)); in ocfs2_add_inode_to_orphan()
2635 status = ocfs2_del_inode_from_orphan(osb, inode, di_bh, 0, 0); in ocfs2_add_inode_to_orphan()
2659 status = ocfs2_orphan_add(osb, handle, inode, di_bh, orphan_name, in ocfs2_add_inode_to_orphan()
2675 brelse(di_bh); in ocfs2_add_inode_to_orphan()
2682 struct inode *inode, struct buffer_head *di_bh, in ocfs2_del_inode_from_orphan() argument
2687 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_del_inode_from_orphan()
2727 di_bh, in ocfs2_del_inode_from_orphan()
2738 status = ocfs2_set_inode_size(handle, inode, di_bh, end); in ocfs2_del_inode_from_orphan()
2742 ocfs2_journal_dirty(handle, di_bh); in ocfs2_del_inode_from_orphan()
2768 struct buffer_head *di_bh = NULL; in ocfs2_mv_orphaned_inode_to_new() local
2823 status = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_mv_orphaned_inode_to_new()
2838 di_bh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_mv_orphaned_inode_to_new()
2851 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_mv_orphaned_inode_to_new()
2857 ocfs2_journal_dirty(handle, di_bh); in ocfs2_mv_orphaned_inode_to_new()
2886 brelse(di_bh); in ocfs2_mv_orphaned_inode_to_new()