Lines Matching refs:ref_tree
49 struct ocfs2_refcount_tree *ref_tree; member
703 struct ocfs2_refcount_tree *ref_tree; in ocfs2_set_refcount_tree() local
708 &ref_tree, &ref_root_bh); in ocfs2_set_refcount_tree()
728 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, in ocfs2_set_refcount_tree()
750 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_set_refcount_tree()
767 struct ocfs2_refcount_tree *ref_tree; in ocfs2_remove_refcount_tree() local
776 ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); in ocfs2_remove_refcount_tree()
829 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, in ocfs2_remove_refcount_tree()
848 ocfs2_erase_refcount_tree_from_list(osb, ref_tree); in ocfs2_remove_refcount_tree()
868 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_remove_refcount_tree()
870 ocfs2_refcount_tree_put(ref_tree); in ocfs2_remove_refcount_tree()
3215 struct ocfs2_caching_info *ref_ci = &context->ref_tree->rf_ci; in ocfs2_make_clusters_writable()
3418 struct ocfs2_refcount_tree *ref_tree; in ocfs2_refcount_cow_hunk() local
3445 1, &ref_tree, &ref_root_bh); in ocfs2_refcount_cow_hunk()
3454 context->ref_tree = ref_tree; in ocfs2_refcount_cow_hunk()
3473 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_refcount_cow_hunk()
3624 struct ocfs2_refcount_tree *ref_tree, in ocfs2_refcount_cow_xattr() argument
3656 context->ref_tree = ref_tree; in ocfs2_refcount_cow_xattr()
3802 struct ocfs2_refcount_tree *ref_tree; in ocfs2_attach_refcount_tree() local
3822 &ref_tree, &ref_root_bh); in ocfs2_attach_refcount_tree()
3846 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree()
3863 &ref_tree->rf_ci, in ocfs2_attach_refcount_tree()
3879 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_attach_refcount_tree()
4133 struct ocfs2_refcount_tree *ref_tree; in ocfs2_create_reflink_node() local
4153 1, &ref_tree, &ref_root_bh); in ocfs2_create_reflink_node()
4160 &ref_tree->rf_ci, ref_root_bh, in ocfs2_create_reflink_node()
4168 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_create_reflink_node()
4515 struct ocfs2_refcount_tree *ref_tree; in ocfs2_reflink_remap_extent() local
4563 1, &ref_tree, &ref_root_bh); in ocfs2_reflink_remap_extent()
4572 &ref_tree->rf_ci, in ocfs2_reflink_remap_extent()
4585 &ref_tree->rf_ci, in ocfs2_reflink_remap_extent()
4596 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_reflink_remap_extent()
4606 ocfs2_unlock_refcount_tree(osb, ref_tree, 1); in ocfs2_reflink_remap_extent()