Home
last modified time | relevance | path

Searched refs:wmarks (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/mm/damon/
Dmodules-common.h29 #define DEFINE_DAMON_MODULES_WMARKS_PARAMS(wmarks) \ argument
30 module_param_named(wmarks_interval, wmarks.interval, ulong, \
32 module_param_named(wmarks_high, wmarks.high, ulong, 0600); \
33 module_param_named(wmarks_mid, wmarks.mid, ulong, 0600); \
34 module_param_named(wmarks_low, wmarks.low, ulong, 0600);
Ddbgfs.c159 s->wmarks.metric, s->wmarks.interval, in sprint_schemes()
160 s->wmarks.high, s->wmarks.mid, s->wmarks.low, in sprint_schemes()
252 struct damos_watermarks wmarks; in str_to_schemes() local
264 &quota.weight_age, &wmarks.metric, in str_to_schemes()
265 &wmarks.interval, &wmarks.high, &wmarks.mid, in str_to_schemes()
266 &wmarks.low, &parsed); in str_to_schemes()
278 if (wmarks.high < wmarks.mid || wmarks.high < wmarks.low || in str_to_schemes()
279 wmarks.mid < wmarks.low) in str_to_schemes()
284 &wmarks, NUMA_NO_NODE); in str_to_schemes()
Dcore.c357 struct damos_watermarks *wmarks, in damon_new_scheme() argument
382 scheme->wmarks = *wmarks; in damon_new_scheme()
383 scheme->wmarks.activated = true; in damon_new_scheme()
839 dst->wmarks = src->wmarks; in damos_commit()
867 &src_scheme->quota, &src_scheme->wmarks, in damon_commit_schemes()
1418 if (!s->wmarks.activated) in damon_do_apply_schemes()
1642 if (!s->wmarks.activated) in kdamond_apply_schemes()
1882 if (damos_get_wmark_metric_value(scheme->wmarks.metric, &metric)) in damos_wmark_wait_us()
1886 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
1887 if (scheme->wmarks.activated) in damos_wmark_wait_us()
[all …]
Dsysfs-schemes.c2059 struct damos_watermarks wmarks = { in damon_sysfs_mk_scheme() local
2068 sysfs_scheme->apply_interval_us, &quota, &wmarks, in damon_sysfs_mk_scheme()
/linux-6.12.1/include/linux/
Ddamon.h420 struct damos_watermarks wmarks; member
742 struct damos_watermarks *wmarks,