MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bpobj_iterate_nofree

Function bpobj_iterate_nofree

freebsd/contrib/openzfs/module/zfs/bpobj.c:537–542  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

535 * livelist_bpobj_iterate_from_nofree() to iterate the newly added entries.
536 */
537int
538bpobj_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

Callers 6

bpobj_space_rangeFunction · 0.85
dsl_process_sub_livelistFunction · 0.85
sublivelist_verify_funcFunction · 0.85
dump_full_bpobjFunction · 0.85
zdb_leak_initFunction · 0.85
dump_block_statsFunction · 0.85

Calls 1

bpobj_iterate_implFunction · 0.85

Tested by

no test coverage detected