Lines Matching refs:scheme

114  * struct damos_quota - Controls the aggressiveness of the given scheme.
115 * @ms: Maximum milliseconds that the scheme can use.
132 * throughput of the scheme's action. DAMON then compares it against &sz and
135 * For selecting regions within the quota, DAMON prioritizes current scheme's
171 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme.
182 * struct damos_watermarks - Controls when a given scheme should be activated.
189 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active
190 * means DAMON does monitoring and applying the action of the scheme to
194 * If &metric is higher than &high, the scheme is inactivated. If &metric is
195 * between &mid and &low, the scheme is activated. If &metric is lower than
196 * &low, the scheme is inactivated.
210 * struct damos_stat - Statistics on a given scheme.
211 * @nr_tried: Total number of regions that the scheme is tried to be applied.
212 * @sz_tried: Total size of regions that the scheme is tried to be applied.
213 * @nr_applied: Total number of regions that the scheme is applied.
214 * @sz_applied: Total size of regions that the scheme is applied.
215 * @qt_exceeds: Total number of times the quota of the scheme has exceeded.
234 * &struct damon_operations as a part of scheme action trying, and therefore
280 * struct damos_access_pattern - Target access pattern of the given scheme.
301 * @quota: Control the aggressiveness of this scheme.
302 * @wmarks: Watermarks for automated (in)activation of this scheme.
304 * @stat: Statistics of this scheme.
364 * @get_scheme_score: Get the score of a region for a scheme.
365 * @apply_scheme: Apply a DAMON-based operation scheme.
393 * @get_scheme_score should return the priority score of a region for a scheme
396 * DAMON-based operation scheme is found. It should apply the scheme's action
412 struct damos *scheme);
415 struct damos *scheme);
459 struct damos *scheme);
598 #define damos_for_each_filter(f, scheme) \
599 list_for_each_entry(f, &(scheme)->filters, list)
601 #define damos_for_each_filter_safe(f, next, scheme) \
602 list_for_each_entry_safe(f, next, &(scheme)->filters, list)