ref_tree 776 fs/btrfs/backref.c for (n = rb_first_cached(&head->ref_tree); n; n = rb_next(n)) { ref_tree 421 fs/btrfs/delayed-ref.c rb_erase_cached(&ref->ref_node, &head->ref_tree); ref_tree 488 fs/btrfs/delayed-ref.c if (RB_EMPTY_ROOT(&head->ref_tree.rb_root)) ref_tree 506 fs/btrfs/delayed-ref.c for (node = rb_first_cached(&head->ref_tree); node; ref_tree 605 fs/btrfs/delayed-ref.c exist = tree_insert(&href->ref_tree, ref); ref_tree 774 fs/btrfs/delayed-ref.c head_ref->ref_tree = RB_ROOT_CACHED; ref_tree 82 fs/btrfs/delayed-ref.h struct rb_root_cached ref_tree; ref_tree 4293 fs/btrfs/disk-io.c while ((n = rb_first_cached(&head->ref_tree)) != NULL) { ref_tree 4297 fs/btrfs/disk-io.c rb_erase_cached(&ref->ref_node, &head->ref_tree); ref_tree 1712 fs/btrfs/extent-tree.c if (RB_EMPTY_ROOT(&head->ref_tree.rb_root)) ref_tree 1725 fs/btrfs/extent-tree.c ref = rb_entry(rb_first_cached(&head->ref_tree), ref_tree 1838 fs/btrfs/extent-tree.c if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root) || head->extent_op) { ref_tree 1923 fs/btrfs/extent-tree.c rb_erase_cached(&ref->ref_node, &locked_ref->ref_tree); ref_tree 2293 fs/btrfs/extent-tree.c for (node = rb_first_cached(&head->ref_tree); node; ref_tree 3205 fs/btrfs/extent-tree.c if (!RB_EMPTY_ROOT(&head->ref_tree.rb_root)) ref_tree 5705 fs/ocfs2/alloc.c struct ocfs2_refcount_tree *ref_tree = NULL; ref_tree 5712 fs/ocfs2/alloc.c &ref_tree, NULL); ref_tree 5800 fs/ocfs2/alloc.c if (ref_tree) ref_tree 5801 fs/ocfs2/alloc.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 7237 fs/ocfs2/alloc.c struct ocfs2_refcount_tree *ref_tree = NULL; ref_tree 7355 fs/ocfs2/alloc.c if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { ref_tree 7357 fs/ocfs2/alloc.c &ref_tree, NULL); ref_tree 7381 fs/ocfs2/alloc.c if (ref_tree) ref_tree 7382 fs/ocfs2/alloc.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 4231 fs/ocfs2/dlmglue.c int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) ref_tree 4235 fs/ocfs2/dlmglue.c struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; ref_tree 4252 fs/ocfs2/dlmglue.c void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) ref_tree 4255 fs/ocfs2/dlmglue.c struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; ref_tree 183 fs/ocfs2/dlmglue.h int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex); ref_tree 184 fs/ocfs2/dlmglue.h void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex); ref_tree 215 fs/ocfs2/move_extents.c struct ocfs2_refcount_tree *ref_tree = NULL; ref_tree 225 fs/ocfs2/move_extents.c &ref_tree, NULL); ref_tree 364 fs/ocfs2/move_extents.c if (ref_tree) ref_tree 365 fs/ocfs2/move_extents.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 586 fs/ocfs2/move_extents.c struct ocfs2_refcount_tree *ref_tree = NULL; ref_tree 598 fs/ocfs2/move_extents.c &ref_tree, NULL); ref_tree 733 fs/ocfs2/move_extents.c if (ref_tree) ref_tree 734 fs/ocfs2/move_extents.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 49 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 701 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 706 fs/ocfs2/refcounttree.c &ref_tree, &ref_root_bh); ref_tree 726 fs/ocfs2/refcounttree.c ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh, ref_tree 748 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 765 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 774 fs/ocfs2/refcounttree.c ret = ocfs2_lock_refcount_tree(osb, ref_blkno, 1, &ref_tree, &blk_bh); ref_tree 827 fs/ocfs2/refcounttree.c ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh, ref_tree 846 fs/ocfs2/refcounttree.c ocfs2_erase_refcount_tree_from_list(osb, ref_tree); ref_tree 866 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 868 fs/ocfs2/refcounttree.c ocfs2_refcount_tree_put(ref_tree); ref_tree 3213 fs/ocfs2/refcounttree.c struct ocfs2_caching_info *ref_ci = &context->ref_tree->rf_ci; ref_tree 3416 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 3443 fs/ocfs2/refcounttree.c 1, &ref_tree, &ref_root_bh); ref_tree 3452 fs/ocfs2/refcounttree.c context->ref_tree = ref_tree; ref_tree 3471 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 3622 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree, ref_tree 3654 fs/ocfs2/refcounttree.c context->ref_tree = ref_tree; ref_tree 3800 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 3820 fs/ocfs2/refcounttree.c &ref_tree, &ref_root_bh); ref_tree 3844 fs/ocfs2/refcounttree.c &ref_tree->rf_ci, ref_tree 3861 fs/ocfs2/refcounttree.c &ref_tree->rf_ci, ref_tree 3877 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 4131 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 4151 fs/ocfs2/refcounttree.c 1, &ref_tree, &ref_root_bh); ref_tree 4158 fs/ocfs2/refcounttree.c &ref_tree->rf_ci, ref_root_bh, ref_tree 4166 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 4513 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *ref_tree; ref_tree 4561 fs/ocfs2/refcounttree.c 1, &ref_tree, &ref_root_bh); ref_tree 4570 fs/ocfs2/refcounttree.c &ref_tree->rf_ci, ref_tree 4583 fs/ocfs2/refcounttree.c &ref_tree->rf_ci, ref_tree 4594 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 4604 fs/ocfs2/refcounttree.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 75 fs/ocfs2/refcounttree.h struct ocfs2_refcount_tree *ref_tree, ref_tree 299 fs/ocfs2/xattr.c struct ocfs2_refcount_tree **ref_tree, ref_tree 2564 fs/ocfs2/xattr.c struct ocfs2_refcount_tree *ref_tree = NULL; ref_tree 2579 fs/ocfs2/xattr.c 1, &ref_tree, &ref_root_bh); ref_tree 2584 fs/ocfs2/xattr.c ref_ci = &ref_tree->rf_ci; ref_tree 2633 fs/ocfs2/xattr.c if (ref_tree) ref_tree 2634 fs/ocfs2/xattr.c ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); ref_tree 3540 fs/ocfs2/xattr.c struct ocfs2_refcount_tree *ref_tree = NULL; ref_tree 3612 fs/ocfs2/xattr.c &xis, &xbs, &ref_tree, ref_tree 3663 fs/ocfs2/xattr.c if (ref_tree) ref_tree 3664 fs/ocfs2/xattr.c ocfs2_unlock_refcount_tree(osb, ref_tree, 1); ref_tree 5764 fs/ocfs2/xattr.c struct ocfs2_refcount_tree **ref_tree, ref_tree 5849 fs/ocfs2/xattr.c 1, ref_tree, &ref_root_bh); ref_tree 5866 fs/ocfs2/xattr.c &(*ref_tree)->rf_ci, ref_tree 5875 fs/ocfs2/xattr.c *ref_tree, ref_root_bh, 0, ref_tree 7142 fs/ocfs2/xattr.c struct ocfs2_refcount_tree *ref_tree; ref_tree 7147 fs/ocfs2/xattr.c 1, &ref_tree, &ref_root_bh); ref_tree 7159 fs/ocfs2/xattr.c args.ref_ci = &ref_tree->rf_ci; ref_tree 7193 fs/ocfs2/xattr.c ref_tree, 1);