| 1655 | } |
| 1656 | |
| 1657 | static void |
| 1658 | ztest_bt_verify(ztest_block_tag_t *bt, objset_t *os, uint64_t object, |
| 1659 | uint64_t dnodesize, uint64_t offset, uint64_t gen, uint64_t txg, |
| 1660 | uint64_t crtxg) |
| 1661 | { |
| 1662 | ASSERT3U(bt->bt_magic, ==, BT_MAGIC); |
| 1663 | ASSERT3U(bt->bt_objset, ==, dmu_objset_id(os)); |
| 1664 | ASSERT3U(bt->bt_object, ==, object); |
| 1665 | ASSERT3U(bt->bt_dnodesize, ==, dnodesize); |
| 1666 | ASSERT3U(bt->bt_offset, ==, offset); |
| 1667 | ASSERT3U(bt->bt_gen, <=, gen); |
| 1668 | ASSERT3U(bt->bt_txg, <=, txg); |
| 1669 | ASSERT3U(bt->bt_crtxg, ==, crtxg); |
| 1670 | } |
| 1671 | |
| 1672 | static ztest_block_tag_t * |
| 1673 | ztest_bt_bonus(dmu_buf_t *db) |
no test coverage detected