| 310 | } |
| 311 | |
| 312 | void |
| 313 | ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp) |
| 314 | { |
| 315 | ASSERT(ddp->ddp_phys_birth == 0); |
| 316 | |
| 317 | for (int d = 0; d < SPA_DVAS_PER_BP; d++) |
| 318 | ddp->ddp_dva[d] = bp->blk_dva[d]; |
| 319 | ddp->ddp_phys_birth = BP_PHYSICAL_BIRTH(bp); |
| 320 | } |
| 321 | |
| 322 | void |
| 323 | ddt_phys_clear(ddt_phys_t *ddp) |
no outgoing calls
no test coverage detected