Lines Matching full:scheme
109 * Operation Scheme.
159 * struct damos_quota_goal - DAMOS scheme quota auto-tuning goal.
187 * struct damos_quota - Controls the aggressiveness of the given scheme.
189 * @ms: Maximum milliseconds that the scheme can use.
212 * the scheme's action. DAMON then compares it against &sz and uses smaller
222 * For selecting regions within the quota, DAMON prioritizes current scheme's
260 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme.
271 * struct damos_watermarks - Controls when a given scheme should be activated.
278 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active
279 * means DAMON does monitoring and applying the action of the scheme to
283 * If &metric is higher than &high, the scheme is inactivated. If &metric is
284 * between &mid and &low, the scheme is activated. If &metric is lower than
285 * &low, the scheme is inactivated.
299 * struct damos_stat - Statistics on a given scheme.
300 * @nr_tried: Total number of regions that the scheme is tried to be applied.
301 * @sz_tried: Total size of regions that the scheme is tried to be applied.
302 * @nr_applied: Total number of regions that the scheme is applied.
303 * @sz_applied: Total size of regions that the scheme is applied.
306 * @qt_exceeds: Total number of times the quota of the scheme has exceeded.
347 * &struct damon_operations as a part of scheme action trying, and therefore
427 * struct damos_access_pattern - Target access pattern of the given scheme.
445 * struct damos - Represents a Data Access Monitoring-based Operation Scheme.
449 * @quota: Control the aggressiveness of this scheme.
450 * @wmarks: Watermarks for automated (in)activation of this scheme.
455 * @stat: Statistics of this scheme.
483 * unsets @last_applied when each regions walking for applying the scheme is
500 /* informs if ongoing DAMOS walk for this scheme is finished */
547 * @get_scheme_score: Get the score of a region for a scheme.
548 * @apply_scheme: Apply a DAMON-based operation scheme.
573 * @get_scheme_score should return the priority score of a region for a scheme
576 * DAMON-based operation scheme is found. It should apply the scheme's action
592 struct damos *scheme);
595 struct damos *scheme, unsigned long *sz_filter_passed);
769 /* for scheme quotas prioritization */
842 #define damos_for_each_filter(f, scheme) \ argument
843 list_for_each_entry(f, &(scheme)->filters, list)
845 #define damos_for_each_filter_safe(f, next, scheme) \ argument
846 list_for_each_entry_safe(f, next, &(scheme)->filters, list)
848 #define damos_for_each_ops_filter(f, scheme) \ argument
849 list_for_each_entry(f, &(scheme)->ops_filters, list)
851 #define damos_for_each_ops_filter_safe(f, next, scheme) \ argument
852 list_for_each_entry_safe(f, next, &(scheme)->ops_filters, list)