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

Function dbuf_cache_target_bytes

freebsd/contrib/openzfs/module/zfs/dbuf.c:623–628  ·  view source on GitHub ↗

* The target size of the dbuf cache can grow with the ARC target, * unless limited by the tunable dbuf_cache_max_bytes. */

Source from the content-addressed store, hash-verified

621 * unless limited by the tunable dbuf_cache_max_bytes.
622 */
623static inline unsigned long
624dbuf_cache_target_bytes(void)
625{
626 return (MIN(dbuf_cache_max_bytes,
627 arc_target_bytes() >> dbuf_cache_shift));
628}
629
630/*
631 * The target size of the dbuf metadata cache can grow with the ARC target,

Callers 4

dbuf_cache_hiwater_bytesFunction · 0.85
dbuf_cache_lowater_bytesFunction · 0.85
dbuf_evict_notifyFunction · 0.85
dbuf_kstat_updateFunction · 0.85

Calls 1

arc_target_bytesFunction · 0.85

Tested by

no test coverage detected