Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Ddamon.h50 struct damon_region { struct
344 struct damon_target *t, struct damon_region *r,
347 struct damon_target *t, struct damon_region *r,
467 static inline struct damon_region *damon_next_region(struct damon_region *r) in damon_next_region()
469 return container_of(r->list.next, struct damon_region, list); in damon_next_region()
472 static inline struct damon_region *damon_prev_region(struct damon_region *r) in damon_prev_region()
474 return container_of(r->list.prev, struct damon_region, list); in damon_prev_region()
477 static inline struct damon_region *damon_last_region(struct damon_target *t) in damon_last_region()
479 return list_last_entry(&t->regions_list, struct damon_region, list); in damon_last_region()
482 static inline struct damon_region *damon_first_region(struct damon_target *t) in damon_first_region()
[all …]
/linux-6.1.9/mm/damon/
Dcore.c120 struct damon_region *damon_new_region(unsigned long start, unsigned long end) in damon_new_region()
122 struct damon_region *region; in damon_new_region()
139 void damon_add_region(struct damon_region *r, struct damon_target *t) in damon_add_region()
145 static void damon_del_region(struct damon_region *r, struct damon_target *t) in damon_del_region()
151 static void damon_free_region(struct damon_region *r) in damon_free_region()
156 void damon_destroy_region(struct damon_region *r, struct damon_target *t) in damon_destroy_region()
167 static bool damon_intersect(struct damon_region *r, in damon_intersect()
176 static int damon_fill_regions_holes(struct damon_region *first, in damon_fill_regions_holes()
177 struct damon_region *last, struct damon_target *t) in damon_fill_regions_holes()
179 struct damon_region *r = first; in damon_fill_regions_holes()
[all …]
Dpaddr.c66 static void __damon_pa_prepare_access_check(struct damon_region *r) in __damon_pa_prepare_access_check()
76 struct damon_region *r; in damon_pa_prepare_access_checks()
168 static void __damon_pa_check_access(struct damon_region *r) in __damon_pa_check_access()
192 struct damon_region *r; in damon_pa_check_accesses()
205 static unsigned long damon_pa_pageout(struct damon_region *r) in damon_pa_pageout()
235 struct damon_region *r, bool mark_accessed) in damon_pa_mark_accessed_or_deactivate()
254 static unsigned long damon_pa_mark_accessed(struct damon_region *r) in damon_pa_mark_accessed()
259 static unsigned long damon_pa_deactivate_pages(struct damon_region *r) in damon_pa_deactivate_pages()
265 struct damon_target *t, struct damon_region *r, in damon_pa_apply_scheme()
285 struct damon_target *t, struct damon_region *r, in damon_pa_scheme_score()
Dcore-test.h19 struct damon_region *r; in damon_test_regions()
84 struct damon_region *r; in damon_test_aggregate()
124 struct damon_region *r; in damon_test_split_at()
144 struct damon_region *r, *r2, *r3; in damon_test_merge_two()
170 static struct damon_region *__nth_region_of(struct damon_target *t, int idx) in __nth_region_of()
172 struct damon_region *r; in __nth_region_of()
186 struct damon_region *r; in damon_test_merge_regions_of()
217 struct damon_region *r; in damon_test_split_regions_of()
273 struct damon_region *r1 = damon_new_region(4, 16); in damon_test_set_regions()
274 struct damon_region *r2 = damon_new_region(24, 32); in damon_test_set_regions()
[all …]
Dvaddr.c65 struct damon_region *r, unsigned int nr_pieces) in damon_va_evenly_split_region()
68 struct damon_region *n = NULL, *next; in damon_va_evenly_split_region()
237 struct damon_region *r; in __damon_va_init_regions()
401 struct damon_region *r) in __damon_va_prepare_access_check()
412 struct damon_region *r; in damon_va_prepare_access_checks()
547 struct damon_region *r, bool same_target) in __damon_va_check_access()
572 struct damon_region *r; in damon_va_check_accesses()
611 struct damon_region *r, int behavior) in damos_madvise()
617 struct damon_region *r, int behavior) in damos_madvise()
636 struct damon_target *t, struct damon_region *r, in damon_va_apply_scheme()
[all …]
Dops-common.h15 int damon_cold_score(struct damon_ctx *c, struct damon_region *r,
17 int damon_hot_score(struct damon_ctx *c, struct damon_region *r,
Dvaddr-test.h86 static struct damon_region *__nth_region_of(struct damon_target *t, int idx) in __nth_region_of()
88 struct damon_region *r; in __nth_region_of()
127 struct damon_region *r; in damon_do_test_apply_three_regions()
243 struct damon_region *r = damon_new_region(start, end); in damon_test_split_evenly_fail()
262 struct damon_region *r = damon_new_region(start, end); in damon_test_split_evenly_succ()
Dops-common.c91 int damon_hot_score(struct damon_ctx *c, struct damon_region *r, in damon_hot_score()
133 int damon_cold_score(struct damon_ctx *c, struct damon_region *r, in damon_cold_score()
Ddbgfs.c544 struct damon_region *r; in sprint_init_regions()
596 struct damon_region *r, *prev; in add_init_region()
625 struct damon_region *r, *next; in set_init_regions()
/linux-6.1.9/include/trace/events/
Ddamon.h15 struct damon_region *r, unsigned int nr_regions),