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

Function ddt_remove

freebsd/contrib/openzfs/module/zfs/ddt.c:660–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660void
661ddt_remove(ddt_t *ddt, ddt_entry_t *dde)
662{
663 ASSERT(MUTEX_HELD(&ddt->ddt_lock));
664
665 avl_remove(&ddt->ddt_tree, dde);
666 ddt_free(dde);
667}
668
669ddt_entry_t *
670ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add)

Callers 1

zdb_count_blockFunction · 0.85

Calls 2

avl_removeFunction · 0.85
ddt_freeFunction · 0.85

Tested by

no test coverage detected