Lines Matching refs:bt_root
276 for (node = (zfs_btree_core_t *)tree->bt_root; depth < tree->bt_height;
298 (zfs_btree_leaf_t *)tree->bt_root : (zfs_btree_leaf_t *)node);
546 ASSERT3P(old_node, ==, tree->bt_root);
562 tree->bt_root = new_root_hdr;
820 ASSERT3P(tree->bt_root, !=, NULL);
1005 ASSERT3P(tree->bt_root, ==, NULL);
1011 tree->bt_root = &leaf->btl_hdr;
1078 return (zfs_btree_first_helper(tree->bt_root, where));
1115 return (zfs_btree_last_helper(tree, tree->bt_root, where));
1331 ASSERT3P(tree->bt_root, ==, node);
1333 tree->bt_root = node->btc_children[0];
1613 tree->bt_root = NULL;
1618 if (tree->bt_root != NULL)
1822 tree->bt_root = NULL;
1847 if (tree->bt_root == NULL) {
1852 zfs_btree_clear_helper(tree, tree->bt_root);
1854 tree->bt_root = NULL;
1864 ASSERT3P(tree->bt_root, ==, NULL);
1886 VERIFY3P(tree->bt_root, ==, NULL);
1889 VERIFY3P(tree->bt_root->bth_parent, ==, NULL);
1890 zfs_btree_verify_pointers_helper(tree, tree->bt_root);
1901 if (tree->bt_root != hdr && hdr != &tree->bt_bulk->btl_hdr) {
1912 if (tree->bt_root != hdr && tree->bt_bulk == NULL)
1934 VERIFY3P(zfs_btree_verify_counts_helper(tree, tree->bt_root), ==,
1968 EQUIV(tree->bt_height == -1, tree->bt_root == NULL);
1973 VERIFY3U(zfs_btree_verify_height_helper(tree, tree->bt_root,
2052 EQUIV(tree->bt_height == -1, tree->bt_root == NULL);
2057 zfs_btree_verify_order_helper(tree, tree->bt_root);
2101 zfs_btree_verify_poison_helper(tree, tree->bt_root);