Home
last modified time | relevance | path

Searched refs:damos (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/include/linux/
Ddamon.h327 struct damos { struct
412 struct damos *scheme);
415 struct damos *scheme);
459 struct damos *scheme);
626 void damos_add_filter(struct damos *s, struct damos_filter *f);
629 struct damos *damon_new_scheme(struct damos_access_pattern *pattern,
632 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s);
633 void damon_destroy_scheme(struct damos *s);
646 struct damos **schemes, ssize_t nr_schemes);
/linux-6.6.21/mm/damon/
Dlru_sort.c148 static struct damos *damon_lru_sort_new_scheme( in damon_lru_sort_new_scheme()
168 static struct damos *damon_lru_sort_new_hot_scheme(unsigned int hot_thres) in damon_lru_sort_new_hot_scheme()
177 static struct damos *damon_lru_sort_new_cold_scheme(unsigned int cold_thres) in damon_lru_sort_new_cold_scheme()
199 struct damos *scheme, *hot_scheme, *cold_scheme; in damon_lru_sort_apply_parameters()
200 struct damos *old_hot_scheme = NULL, *old_cold_scheme = NULL; in damon_lru_sort_apply_parameters()
315 struct damos *s; in damon_lru_sort_after_aggregation()
Dpaddr.c217 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) in damos_pa_filter_out()
228 static unsigned long damon_pa_pageout(struct damon_region *r, struct damos *s) in damon_pa_pageout()
259 struct damon_region *r, struct damos *s, bool mark_accessed) in damon_pa_mark_accessed_or_deactivate()
284 struct damos *s) in damon_pa_mark_accessed()
290 struct damos *s) in damon_pa_deactivate_pages()
297 struct damos *scheme) in damon_pa_apply_scheme()
317 struct damos *scheme) in damon_pa_scheme_score()
Dcore.c280 void damos_add_filter(struct damos *s, struct damos_filter *f) in damos_add_filter()
314 struct damos *damon_new_scheme(struct damos_access_pattern *pattern, in damon_new_scheme()
318 struct damos *scheme; in damon_new_scheme()
337 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme()
342 static void damon_del_scheme(struct damos *s) in damon_del_scheme()
347 static void damon_free_scheme(struct damos *s) in damon_free_scheme()
352 void damon_destroy_scheme(struct damos *s) in damon_destroy_scheme()
463 struct damos *s, *next_s; in damon_destroy_ctx()
578 void damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes()
581 struct damos *s, *next; in damon_set_schemes()
[all …]
Dops-common.h16 struct damos *s);
18 struct damos *s);
Dreclaim.c126 static struct damos *damon_reclaim_new_scheme(void) in damon_reclaim_new_scheme()
164 struct damos *scheme, *old_scheme; in damon_reclaim_apply_parameters()
269 struct damos *s; in damon_reclaim_after_aggregation()
Dops-common.c74 struct damos *s) in damon_hot_score()
115 struct damos *s) in damon_cold_score()
Dsysfs-schemes.c1536 static int damon_sysfs_set_scheme_filters(struct damos *scheme, in damon_sysfs_set_scheme_filters()
1579 static struct damos *damon_sysfs_mk_scheme( in damon_sysfs_mk_scheme()
1589 struct damos *scheme; in damon_sysfs_mk_scheme()
1629 static void damon_sysfs_update_scheme(struct damos *scheme, in damon_sysfs_update_scheme()
1669 struct damos *scheme, *next; in damon_sysfs_set_schemes()
1682 struct damos *scheme, *next; in damon_sysfs_set_schemes()
1699 struct damos *scheme; in damon_sysfs_schemes_update_stats()
1733 struct damos *s) in damon_sysfs_before_damos_apply()
1735 struct damos *scheme; in damon_sysfs_before_damos_apply()
1776 struct damos *scheme; in damon_sysfs_schemes_clear_regions()
Ddbgfs.c138 struct damos *s; in sprint_schemes()
193 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr()
232 static struct damos **str_to_schemes(const char *str, ssize_t len, in str_to_schemes()
235 struct damos *scheme, **schemes; in str_to_schemes()
299 struct damos **schemes; in dbgfs_schemes_write()
Dvaddr.c651 struct damos *scheme) in damon_va_apply_scheme()
685 struct damos *scheme) in damon_va_scheme_score()