Searched refs:wmarks (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/mm/damon/ |
D | modules-common.h | 29 #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);
|
D | core.c | 281 struct damos_watermarks *wmarks) in damon_new_scheme() argument 295 scheme->wmarks = *wmarks; in damon_new_scheme() 296 scheme->wmarks.activated = true; in damon_new_scheme() 709 if (!s->wmarks.activated) in damon_do_apply_schemes() 817 if (!s->wmarks.activated) in kdamond_apply_schemes() 1074 if (scheme->wmarks.metric == DAMOS_WMARK_NONE) in damos_wmark_wait_us() 1077 metric = damos_wmark_metric_value(scheme->wmarks.metric); in damos_wmark_wait_us() 1079 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us() 1080 if (scheme->wmarks.activated) in damos_wmark_wait_us() 1083 metric > scheme->wmarks.high ? in damos_wmark_wait_us() [all …]
|
D | dbgfs.c | 149 s->wmarks.metric, s->wmarks.interval, in sprint_schemes() 150 s->wmarks.high, s->wmarks.mid, s->wmarks.low, in sprint_schemes() 242 struct damos_watermarks wmarks; in str_to_schemes() local 254 "a.weight_age, &wmarks.metric, in str_to_schemes() 255 &wmarks.interval, &wmarks.high, &wmarks.mid, in str_to_schemes() 256 &wmarks.low, &parsed); in str_to_schemes() 268 if (wmarks.high < wmarks.mid || wmarks.high < wmarks.low || in str_to_schemes() 269 wmarks.mid < wmarks.low) in str_to_schemes() 273 scheme = damon_new_scheme(&pattern, action, "a, &wmarks); in str_to_schemes()
|
D | sysfs.c | 2274 struct damos_watermarks wmarks = { in damon_sysfs_mk_scheme() local 2283 &wmarks); in damon_sysfs_mk_scheme() 2311 scheme->wmarks.metric = sysfs_wmarks->metric; in damon_sysfs_update_scheme() 2312 scheme->wmarks.interval = sysfs_wmarks->interval_us; in damon_sysfs_update_scheme() 2313 scheme->wmarks.high = sysfs_wmarks->high; in damon_sysfs_update_scheme() 2314 scheme->wmarks.mid = sysfs_wmarks->mid; in damon_sysfs_update_scheme() 2315 scheme->wmarks.low = sysfs_wmarks->low; in damon_sysfs_update_scheme()
|
/Linux-v6.1/include/linux/ |
D | damon.h | 265 struct damos_watermarks wmarks; member 536 struct damos_watermarks *wmarks);
|