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()
3381 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument
3387 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3431 INODE_CACHE(inode), di_bh); in ocfs2_refcount_cow_hunk()
3457 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
3476 ret = ocfs2_refcount_cow_hunk(inode, di_bh, cpos, in ocfs2_refcount_cow()
3732 struct buffer_head *di_bh) in ocfs2_change_ctime() argument
3736 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3746 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_change_ctime()
3757 ocfs2_journal_dirty(handle, di_bh); in ocfs2_change_ctime()
3766 struct buffer_head *di_bh) in ocfs2_attach_refcount_tree() argument
3771 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
3783 ret = ocfs2_create_refcount_tree(inode, di_bh); in ocfs2_attach_refcount_tree()
3802 ocfs2_init_dinode_extent_tree(&di_et, INODE_CACHE(inode), di_bh); in ocfs2_attach_refcount_tree()
3833 ret = ocfs2_xattr_attach_refcount_tree(inode, di_bh, in ocfs2_attach_refcount_tree()
3844 ret = ocfs2_change_ctime(inode, di_bh); in ocfs2_attach_refcount_tree()