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

Function bpobj_is_empty_impl

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

Source from the content-addressed store, hash-verified

204}
205
206static boolean_t
207bpobj_is_empty_impl(bpobj_t *bpo)
208{
209 ASSERT(MUTEX_HELD(&bpo->bpo_lock));
210 return (bpo->bpo_phys->bpo_num_blkptrs == 0 &&
211 (!bpo->bpo_havesubobj || bpo->bpo_phys->bpo_num_subobjs == 0));
212}
213
214boolean_t
215bpobj_is_empty(bpobj_t *bpo)

Callers 2

bpobj_is_emptyFunction · 0.85
bpobj_iterate_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected