* Iterate the entries. If func returns nonzero, iteration will stop. * * If there are no subobjs: * * *bpobj_size can be used to return the number of block pointers in the * bpobj. Note that this may be different from the number of block pointers * that are iterated over, if iteration is terminated early (e.g. by the func * returning nonzero). * * If there are concurrent (or subsequent)
| 535 | * livelist_bpobj_iterate_from_nofree() to iterate the newly added entries. |
| 536 | */ |
| 537 | int |
| 538 | bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *arg, |
| 539 | uint64_t *bpobj_size) |
| 540 | { |
| 541 | return (bpobj_iterate_impl(bpo, func, arg, NULL, B_FALSE, bpobj_size)); |
| 542 | } |
| 543 | |
| 544 | /* |
| 545 | * Iterate over the blkptrs in the bpobj beginning at index start. If func |
no test coverage detected