ARGSUSED */
| 6060 | |
| 6061 | /* ARGSUSED */ |
| 6062 | static int |
| 6063 | count_block_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) |
| 6064 | { |
| 6065 | zdb_cb_t *zcb = arg; |
| 6066 | |
| 6067 | if (dump_opt['b'] >= 5) { |
| 6068 | char blkbuf[BP_SPRINTF_LEN]; |
| 6069 | snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); |
| 6070 | (void) printf("[%s] %s\n", |
| 6071 | "deferred free", blkbuf); |
| 6072 | } |
| 6073 | zdb_count_block(zcb, NULL, bp, ZDB_OT_DEFERRED); |
| 6074 | return (0); |
| 6075 | } |
| 6076 | |
| 6077 | /* |
| 6078 | * Iterate over livelists which have been destroyed by the user but |
no test coverage detected