Lines Matching refs:di_bh

397 	struct buffer_head *di_bh = NULL;  in ocfs2_get_refcount_block()  local
400 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_refcount_block()
408 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
410 brelse(di_bh); in ocfs2_get_refcount_block()
550 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument
555 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
583 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree()
646 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree()
691 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument
696 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
719 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_set_refcount_tree()
743 ocfs2_journal_dirty(handle, di_bh); in ocfs2_set_refcount_tree()
754 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) in ocfs2_remove_refcount_tree() argument
758 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
820 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_refcount_tree()
839 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_refcount_tree()
924 struct buffer_head *di_bh) in ocfs2_try_remove_refcount_tree() argument
928 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
943 ret = ocfs2_remove_refcount_tree(inode, di_bh); in ocfs2_try_remove_refcount_tree()
3408 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument
3414 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3458 INODE_CACHE(inode), di_bh); in ocfs2_refcount_cow_hunk()
3484 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
3503 ret = ocfs2_refcount_cow_hunk(inode, di_bh, cpos, in ocfs2_refcount_cow()
3759 struct buffer_head *di_bh) in ocfs2_change_ctime() argument
3763 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3773 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_change_ctime()
3784 ocfs2_journal_dirty(handle, di_bh); in ocfs2_change_ctime()
3793 struct buffer_head *di_bh) in ocfs2_attach_refcount_tree() argument
3798 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
3810 ret = ocfs2_create_refcount_tree(inode, di_bh); in ocfs2_attach_refcount_tree()
3829 ocfs2_init_dinode_extent_tree(&di_et, INODE_CACHE(inode), di_bh); in ocfs2_attach_refcount_tree()
3860 ret = ocfs2_xattr_attach_refcount_tree(inode, di_bh, in ocfs2_attach_refcount_tree()
3871 ret = ocfs2_change_ctime(inode, di_bh); in ocfs2_attach_refcount_tree()