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

Function ddt_phys_total_refcnt

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

Source from the content-addressed store, hash-verified

371}
372
373uint64_t
374ddt_phys_total_refcnt(const ddt_entry_t *dde)
375{
376 uint64_t refcnt = 0;
377
378 for (int p = DDT_PHYS_SINGLE; p <= DDT_PHYS_TRIPLE; p++)
379 refcnt += dde->dde_phys[p].ddp_refcnt;
380
381 return (refcnt);
382}
383
384static void
385ddt_stat_generate(ddt_t *ddt, ddt_entry_t *dde, ddt_stat_t *dds)

Callers 2

zdb_count_blockFunction · 0.85
zdb_ddt_leak_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected