Lines Matching refs:ref_tree
48 struct ocfs2_refcount_tree *ref_tree; member
702 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local
707 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree()
727 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, in ocfs2_set_refcount_tree()
749 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_set_refcount_tree()
766 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local
775 ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); in ocfs2_remove_refcount_tree()
828 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, in ocfs2_remove_refcount_tree()
847 ocfs2_erase_refcount_tree_from_list(osb, ref_tree); in ocfs2_remove_refcount_tree()
867 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_refcount_tree()
869 ocfs2_refcount_tree_put(ref_tree); in ocfs2_remove_refcount_tree()
3180 struct ocfs2_caching_info *ref_ci = &context->ref_tree->rf_ci; in ocfs2_make_clusters_writable()
3383 struct ocfs2_refcount_tree *ref_tree; in ocfs2_refcount_cow_hunk() local
3410 1, &ref_tree, &ref_root_bh); in ocfs2_refcount_cow_hunk()
3419 context->ref_tree = ref_tree; in ocfs2_refcount_cow_hunk()
3438 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_refcount_cow_hunk()
3589 struct ocfs2_refcount_tree *ref_tree, in ocfs2_refcount_cow_xattr() argument
3621 context->ref_tree = ref_tree; in ocfs2_refcount_cow_xattr()
3767 struct ocfs2_refcount_tree *ref_tree; in ocfs2_attach_refcount_tree() local
3787 &ref_tree, &ref_root_bh); in ocfs2_attach_refcount_tree()
3811 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree()
3828 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree()
3844 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_attach_refcount_tree()
4098 struct ocfs2_refcount_tree *ref_tree; in ocfs2_create_reflink_node() local
4118 1, &ref_tree, &ref_root_bh); in ocfs2_create_reflink_node()
4125 &ref_tree->rf_ci, ref_root_bh, in ocfs2_create_reflink_node()
4133 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_create_reflink_node()
4501 struct ocfs2_refcount_tree *ref_tree; in ocfs2_reflink_remap_extent() local
4549 1, &ref_tree, &ref_root_bh); in ocfs2_reflink_remap_extent()
4558 &ref_tree->rf_ci, in ocfs2_reflink_remap_extent()
4571 &ref_tree->rf_ci, in ocfs2_reflink_remap_extent()
4582 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_reflink_remap_extent()
4592 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_reflink_remap_extent()