Lines Matching refs:wmarks
357 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()
1890 metric > scheme->wmarks.high ? in damos_wmark_wait_us()
1892 scheme->wmarks.activated = false; in damos_wmark_wait_us()
1893 return scheme->wmarks.interval; in damos_wmark_wait_us()
1897 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
1898 !scheme->wmarks.activated) in damos_wmark_wait_us()
1899 return scheme->wmarks.interval; in damos_wmark_wait_us()
1901 if (!scheme->wmarks.activated) in damos_wmark_wait_us()
1903 scheme->wmarks.activated = true; in damos_wmark_wait_us()