Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/mm/damon/
H A Dmodules-common.h29 #define DEFINE_DAMON_MODULES_WMARKS_PARAMS(wmarks) \
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);
H A 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 in str_to_schemes()
[all...]
H A Dcore.c316 struct damos_watermarks *wmarks) in damon_new_scheme()
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 in damos_wmark_wait_us()
314 damon_new_scheme(struct damos_access_pattern *pattern, enum damos_action action, struct damos_quota *quota, struct damos_watermarks *wmarks) damon_new_scheme() argument
[all...]
H A 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()
/kernel/linux/linux-6.6/include/linux/
H A Ddamon.h302 * @wmarks: Watermarks for automated (in)activation of this scheme.
312 * system situations using &wmarks. If all schemes that registered to the
331 struct damos_watermarks wmarks; member
631 struct damos_watermarks *wmarks);

Completed in 13 milliseconds