| 461 | } |
| 462 | |
| 463 | boolean_t |
| 464 | ddt_histogram_empty(const ddt_histogram_t *ddh) |
| 465 | { |
| 466 | const uint64_t *s = (const uint64_t *)ddh; |
| 467 | const uint64_t *s_end = (const uint64_t *)(ddh + 1); |
| 468 | |
| 469 | while (s < s_end) |
| 470 | if (*s++ != 0) |
| 471 | return (B_FALSE); |
| 472 | |
| 473 | return (B_TRUE); |
| 474 | } |
| 475 | |
| 476 | void |
| 477 | ddt_get_dedup_object_stats(spa_t *spa, ddt_object_t *ddo_total) |
no outgoing calls
no test coverage detected