Home
last modified time | relevance | path

Searched refs:arc_c_max (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Darc_os.c164 min = MAX(arc_c_min, MIN(arc_c_max, min)); in arc_evictable_memory()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dsysctl_os.c209 zfs_arc_max = arc_c_max; in param_set_arc_max()
233 if (val != 0 && (val < 2ULL << SPA_MAXBLOCKSHIFT || val > arc_c_max)) in param_set_arc_min()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Darc.c843 #define L2ARC_PERSIST_THRESHOLD (arc_c_max * 2)
5109 if (arc_c >= arc_c_max) in arc_adapt()
5119 if (atomic_add_64_nv(&arc_c, dc) > arc_c_max) in arc_adapt()
5120 arc_c = arc_c_max; in arc_adapt()
7210 arc_c = MIN(arc_c_max, reserve * 4); in arc_tempreserve_space()
7262 uint64_t rarc_c = arc_warm ? arc_c : arc_c_max; in arc_tempreserve_space()
7628 (zfs_arc_min <= arc_c_max)) { in arc_tuning_update()
7635 if ((zfs_arc_max) && (zfs_arc_max != arc_c_max) && in arc_tuning_update()
7638 arc_c_max = zfs_arc_max; in arc_tuning_update()
7639 arc_c = MIN(arc_c, arc_c_max); in arc_tuning_update()
[all …]
H A Ddmu_zfetch.c682 arc_c_max >> (4 + dbs)) < 0)) in dmu_zfetch_prepare()
H A Dvdev_rebuild.c825 uint64_t limit = (arc_c_max / 2) / MAX(rvd->vdev_children, 1); in vdev_rebuild_thread()
H A Ddsl_scan.c503 scn->scn_maxinflight_bytes = MIN(arc_c_max / 4, MAX(1ULL << 20, in dsl_scan_init()
4554 scn->scn_maxinflight_bytes = MIN(arc_c_max / 4, MAX(1ULL << 20, in dsl_scan_sync()
/freebsd/sys/contrib/openzfs/include/sys/
H A Darc_impl.h1089 #define arc_c_max ARCSTAT(arcstat_c_max) /* max target cache size */ macro