Lines Matching refs:di_bh
406 struct buffer_head *di_bh = NULL; in ocfs2_get_refcount_block() local
409 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_refcount_block()
417 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
419 brelse(di_bh); in ocfs2_get_refcount_block()
560 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument
565 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree()
593 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree()
656 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree()
701 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument
706 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree()
729 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_set_refcount_tree()
753 ocfs2_journal_dirty(handle, di_bh); in ocfs2_set_refcount_tree()
764 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) in ocfs2_remove_refcount_tree() argument
768 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree()
830 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_refcount_tree()
849 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_refcount_tree()
934 struct buffer_head *di_bh) in ocfs2_try_remove_refcount_tree() argument
938 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree()
953 ret = ocfs2_remove_refcount_tree(inode, di_bh); in ocfs2_try_remove_refcount_tree()
3428 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument
3435 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk()
3479 INODE_CACHE(inode), di_bh); in ocfs2_refcount_cow_hunk()
3505 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
3524 ret = ocfs2_refcount_cow_hunk(inode, di_bh, cpos, in ocfs2_refcount_cow()
3778 struct buffer_head *di_bh) in ocfs2_change_ctime() argument
3782 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime()
3792 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_change_ctime()
3803 ocfs2_journal_dirty(handle, di_bh); in ocfs2_change_ctime()
3812 struct buffer_head *di_bh) in ocfs2_attach_refcount_tree() argument
3817 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree()
3829 ret = ocfs2_create_refcount_tree(inode, di_bh); in ocfs2_attach_refcount_tree()
3848 ocfs2_init_dinode_extent_tree(&di_et, INODE_CACHE(inode), di_bh); in ocfs2_attach_refcount_tree()
3879 ret = ocfs2_xattr_attach_refcount_tree(inode, di_bh, in ocfs2_attach_refcount_tree()
3890 ret = ocfs2_change_ctime(inode, di_bh); in ocfs2_attach_refcount_tree()