Lines Matching refs:scheme
217 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) in damos_pa_filter_out() argument
221 damos_for_each_filter(filter, scheme) { in damos_pa_filter_out()
297 struct damos *scheme) in damon_pa_apply_scheme() argument
299 switch (scheme->action) { in damon_pa_apply_scheme()
301 return damon_pa_pageout(r, scheme); in damon_pa_apply_scheme()
303 return damon_pa_mark_accessed(r, scheme); in damon_pa_apply_scheme()
305 return damon_pa_deactivate_pages(r, scheme); in damon_pa_apply_scheme()
317 struct damos *scheme) in damon_pa_scheme_score() argument
319 switch (scheme->action) { in damon_pa_scheme_score()
321 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
323 return damon_hot_score(context, r, scheme); in damon_pa_scheme_score()
325 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()