bt_root
uintptr_t bt_root;
uintptr_t node = (uintptr_t)bwd->bwd_btree.bt_root;
bt_root(t, sp, &l, &r, &skip, ilen) :
bt_root(t, h, &l, &r, &skip, nbytes) :
static PAGE *bt_root
ASSERT3P(tree->bt_root, ==, NULL);
tree->bt_root = &leaf->btl_hdr;
return (zfs_btree_first_helper(tree, tree->bt_root, where));
return (zfs_btree_last_helper(tree, tree->bt_root, where));
ASSERT3P(tree->bt_root, ==, node);
tree->bt_root = node->btc_children[0];
tree->bt_root = NULL;
tree->bt_root = NULL;
if (tree->bt_root == NULL) {
zfs_btree_clear_helper(tree, tree->bt_root);
tree->bt_root = NULL;
ASSERT3P(tree->bt_root, ==, NULL);
VERIFY3P(tree->bt_root, ==, NULL);
VERIFY3P(tree->bt_root->bth_parent, ==, NULL);
zfs_btree_verify_pointers_helper(tree, tree->bt_root);
if (tree->bt_root != hdr && tree->bt_bulk &&
if (tree->bt_root != hdr && tree->bt_bulk == NULL)
VERIFY3P(zfs_btree_verify_counts_helper(tree, tree->bt_root), ==,
EQUIV(tree->bt_height == -1, tree->bt_root == NULL);
VERIFY3U(zfs_btree_verify_height_helper(tree, tree->bt_root,
EQUIV(tree->bt_height == -1, tree->bt_root == NULL);
zfs_btree_verify_order_helper(tree, tree->bt_root);
zfs_btree_verify_poison_helper(tree, tree->bt_root);
for (node = (zfs_btree_core_t *)tree->bt_root; depth < tree->bt_height;
(zfs_btree_leaf_t *)tree->bt_root : (zfs_btree_leaf_t *)node);
ASSERT3P(old_node, ==, tree->bt_root);
tree->bt_root = new_root_hdr;
ASSERT3P(tree->bt_root, !=, NULL);
zfs_btree_hdr_t *bt_root;