Lines Matching refs:di_bh

399 	struct buffer_head *di_bh = NULL;  in ocfs2_get_refcount_block()  local
402 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_refcount_block()
410 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
412 brelse(di_bh); in ocfs2_get_refcount_block()
552 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument
557 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
585 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree()
648 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree()
693 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument
698 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
721 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_set_refcount_tree()
745 ocfs2_journal_dirty(handle, di_bh); in ocfs2_set_refcount_tree()
756 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) in ocfs2_remove_refcount_tree() argument
760 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
822 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_refcount_tree()
841 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_refcount_tree()
926 struct buffer_head *di_bh) in ocfs2_try_remove_refcount_tree() argument
930 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
945 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
3416 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3460 INODE_CACHE(inode), di_bh); in ocfs2_refcount_cow_hunk()
3486 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
3505 ret = ocfs2_refcount_cow_hunk(inode, di_bh, cpos, in ocfs2_refcount_cow()
3761 struct buffer_head *di_bh) in ocfs2_change_ctime() argument
3765 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3775 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_change_ctime()
3786 ocfs2_journal_dirty(handle, di_bh); in ocfs2_change_ctime()
3795 struct buffer_head *di_bh) in ocfs2_attach_refcount_tree() argument
3800 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
3812 ret = ocfs2_create_refcount_tree(inode, di_bh); in ocfs2_attach_refcount_tree()
3831 ocfs2_init_dinode_extent_tree(&di_et, INODE_CACHE(inode), di_bh); in ocfs2_attach_refcount_tree()
3862 ret = ocfs2_xattr_attach_refcount_tree(inode, di_bh, in ocfs2_attach_refcount_tree()
3873 ret = ocfs2_change_ctime(inode, di_bh); in ocfs2_attach_refcount_tree()