Lines Matching refs:di_bh

404 	struct buffer_head *di_bh = NULL;  in ocfs2_get_refcount_block()  local
407 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_refcount_block()
415 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
417 brelse(di_bh); in ocfs2_get_refcount_block()
558 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument
563 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
591 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree()
654 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree()
699 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument
704 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
727 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_set_refcount_tree()
751 ocfs2_journal_dirty(handle, di_bh); in ocfs2_set_refcount_tree()
762 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) in ocfs2_remove_refcount_tree() argument
766 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
828 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_refcount_tree()
847 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_refcount_tree()
932 struct buffer_head *di_bh) in ocfs2_try_remove_refcount_tree() argument
936 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
951 ret = ocfs2_remove_refcount_tree(inode, di_bh); in ocfs2_try_remove_refcount_tree()
3410 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument
3417 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3461 INODE_CACHE(inode), di_bh); in ocfs2_refcount_cow_hunk()
3487 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
3506 ret = ocfs2_refcount_cow_hunk(inode, di_bh, cpos, in ocfs2_refcount_cow()
3760 struct buffer_head *di_bh) in ocfs2_change_ctime() argument
3764 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3774 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_change_ctime()
3785 ocfs2_journal_dirty(handle, di_bh); in ocfs2_change_ctime()
3794 struct buffer_head *di_bh) in ocfs2_attach_refcount_tree() argument
3799 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
3811 ret = ocfs2_create_refcount_tree(inode, di_bh); in ocfs2_attach_refcount_tree()
3830 ocfs2_init_dinode_extent_tree(&di_et, INODE_CACHE(inode), di_bh); in ocfs2_attach_refcount_tree()
3861 ret = ocfs2_xattr_attach_refcount_tree(inode, di_bh, in ocfs2_attach_refcount_tree()
3872 ret = ocfs2_change_ctime(inode, di_bh); in ocfs2_attach_refcount_tree()