Lines Matching refs:di_bh
2610 struct buffer_head *di_bh = NULL; in ocfs2_add_inode_to_orphan() local
2615 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_add_inode_to_orphan()
2621 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_add_inode_to_orphan()
2627 status = ocfs2_truncate_file(inode, di_bh, i_size_read(inode)); in ocfs2_add_inode_to_orphan()
2634 status = ocfs2_del_inode_from_orphan(osb, inode, di_bh, 0, 0); in ocfs2_add_inode_to_orphan()
2658 status = ocfs2_orphan_add(osb, handle, inode, di_bh, orphan_name, in ocfs2_add_inode_to_orphan()
2674 brelse(di_bh); in ocfs2_add_inode_to_orphan()
2681 struct inode *inode, struct buffer_head *di_bh, in ocfs2_del_inode_from_orphan() argument
2686 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_del_inode_from_orphan()
2726 di_bh, in ocfs2_del_inode_from_orphan()
2737 status = ocfs2_set_inode_size(handle, inode, di_bh, end); in ocfs2_del_inode_from_orphan()
2741 ocfs2_journal_dirty(handle, di_bh); in ocfs2_del_inode_from_orphan()
2767 struct buffer_head *di_bh = NULL; in ocfs2_mv_orphaned_inode_to_new() local
2822 status = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_mv_orphaned_inode_to_new()
2837 di_bh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_mv_orphaned_inode_to_new()
2850 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_mv_orphaned_inode_to_new()
2856 ocfs2_journal_dirty(handle, di_bh); in ocfs2_mv_orphaned_inode_to_new()
2885 brelse(di_bh); in ocfs2_mv_orphaned_inode_to_new()