Home
last modified time | relevance | path

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

/linux-6.6.21/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.c157 s->wmarks.metric, s->wmarks.interval, in sprint_schemes()
158 s->wmarks.high, s->wmarks.mid, s->wmarks.low, in sprint_schemes()
250 struct damos_watermarks wmarks; in str_to_schemes() local
262 &quota.weight_age, &wmarks.metric, in str_to_schemes()
263 &wmarks.interval, &wmarks.high, &wmarks.mid, in str_to_schemes()
264 &wmarks.low, &parsed); in str_to_schemes()
276 if (wmarks.high < wmarks.mid || wmarks.high < wmarks.low || in str_to_schemes()
277 wmarks.mid < wmarks.low) in str_to_schemes()
281 scheme = damon_new_scheme(&pattern, action, &quota, &wmarks); in str_to_schemes()
Dcore.c316 struct damos_watermarks *wmarks) in damon_new_scheme() argument
331 scheme->wmarks = *wmarks; in damon_new_scheme()
332 scheme->wmarks.activated = true; in damon_new_scheme()
967 if (!s->wmarks.activated) in damon_do_apply_schemes()
1061 if (!s->wmarks.activated) in kdamond_apply_schemes()
1268 if (scheme->wmarks.metric == DAMOS_WMARK_NONE) in damos_wmark_wait_us()
1271 metric = damos_wmark_metric_value(scheme->wmarks.metric); in damos_wmark_wait_us()
1273 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
1274 if (scheme->wmarks.activated) in damos_wmark_wait_us()
1277 metric > scheme->wmarks.high ? in damos_wmark_wait_us()
[all …]
Dsysfs-schemes.c1608 struct damos_watermarks wmarks = { in damon_sysfs_mk_scheme() local
1617 &wmarks); in damon_sysfs_mk_scheme()
1655 scheme->wmarks.metric = sysfs_wmarks->metric; in damon_sysfs_update_scheme()
1656 scheme->wmarks.interval = sysfs_wmarks->interval_us; in damon_sysfs_update_scheme()
1657 scheme->wmarks.high = sysfs_wmarks->high; in damon_sysfs_update_scheme()
1658 scheme->wmarks.mid = sysfs_wmarks->mid; in damon_sysfs_update_scheme()
1659 scheme->wmarks.low = sysfs_wmarks->low; in damon_sysfs_update_scheme()
/linux-6.6.21/include/linux/
Ddamon.h331 struct damos_watermarks wmarks; member
631 struct damos_watermarks *wmarks);