* The target size of the dbuf cache can grow with the ARC target, * unless limited by the tunable dbuf_cache_max_bytes. */
| 621 | * unless limited by the tunable dbuf_cache_max_bytes. |
| 622 | */ |
| 623 | static inline unsigned long |
| 624 | dbuf_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, |
no test coverage detected