Lines Matching refs:wmarks
316 struct damos_watermarks *wmarks)
331 scheme->wmarks = *wmarks;
332 scheme->wmarks.activated = true;
967 if (!s->wmarks.activated)
1061 if (!s->wmarks.activated)
1268 if (scheme->wmarks.metric == DAMOS_WMARK_NONE)
1271 metric = damos_wmark_metric_value(scheme->wmarks.metric);
1273 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) {
1274 if (scheme->wmarks.activated)
1277 metric > scheme->wmarks.high ?
1279 scheme->wmarks.activated = false;
1280 return scheme->wmarks.interval;
1284 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) &&
1285 !scheme->wmarks.activated)
1286 return scheme->wmarks.interval;
1288 if (!scheme->wmarks.activated)
1290 scheme->wmarks.activated = true;