Searched refs:damon_ctx (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/include/linux/ |
D | damon.h | 276 struct damon_ctx; 328 void (*init)(struct damon_ctx *context); 329 void (*update)(struct damon_ctx *context); 330 void (*prepare_access_checks)(struct damon_ctx *context); 331 unsigned int (*check_accesses)(struct damon_ctx *context); 332 void (*reset_aggregated)(struct damon_ctx *context); 333 int (*get_scheme_score)(struct damon_ctx *context, 336 unsigned long (*apply_scheme)(struct damon_ctx *context, 340 void (*cleanup)(struct damon_ctx *context); 374 int (*before_start)(struct damon_ctx *context); [all …]
|
/linux-5.19.10/mm/damon/ |
D | core.c | 97 int damon_select_ops(struct damon_ctx *ctx, enum damon_ops_id id) in damon_select_ops() 279 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme() 320 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t) in damon_add_target() 325 bool damon_targets_empty(struct damon_ctx *ctx) in damon_targets_empty() 355 struct damon_ctx *damon_new_ctx(void) in damon_new_ctx() 357 struct damon_ctx *ctx; in damon_new_ctx() 381 static void damon_destroy_targets(struct damon_ctx *ctx) in damon_destroy_targets() 394 void damon_destroy_ctx(struct damon_ctx *ctx) in damon_destroy_ctx() 420 int damon_set_attrs(struct damon_ctx *ctx, unsigned long sample_int, in damon_set_attrs() 449 int damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes() [all …]
|
D | dbgfs.c | 18 static struct damon_ctx **dbgfs_ctxs; 52 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_read() 69 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_write() 100 static ssize_t sprint_schemes(struct damon_ctx *c, char *buf, ssize_t len) in sprint_schemes() 134 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_read() 243 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_write() 278 static inline bool target_has_pid(const struct damon_ctx *ctx) in target_has_pid() 283 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len) in sprint_target_ids() 312 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_read() 411 static int dbgfs_set_targets(struct damon_ctx *ctx, ssize_t nr_targets, in dbgfs_set_targets() [all …]
|
D | paddr.c | 66 static void __damon_pa_prepare_access_check(struct damon_ctx *ctx, in __damon_pa_prepare_access_check() 74 static void damon_pa_prepare_access_checks(struct damon_ctx *ctx) in damon_pa_prepare_access_checks() 169 static void __damon_pa_check_access(struct damon_ctx *ctx, in __damon_pa_check_access() 191 static unsigned int damon_pa_check_accesses(struct damon_ctx *ctx) in damon_pa_check_accesses() 207 static unsigned long damon_pa_apply_scheme(struct damon_ctx *ctx, in damon_pa_apply_scheme() 241 static int damon_pa_scheme_score(struct damon_ctx *context, in damon_pa_scheme_score()
|
D | core-test.h | 39 static unsigned int nr_damon_targets(struct damon_ctx *ctx) in nr_damon_targets() 52 struct damon_ctx *c = damon_new_ctx(); in damon_test_target() 79 struct damon_ctx *ctx = damon_new_ctx(); in damon_test_aggregate() 122 struct damon_ctx *c = damon_new_ctx(); in damon_test_split_at() 215 struct damon_ctx *c = damon_new_ctx(); in damon_test_split_regions_of() 237 struct damon_ctx *c = damon_new_ctx(); in damon_test_ops_registration()
|
D | sysfs.c | 2011 struct damon_ctx *damon_ctx; member 2046 static bool damon_sysfs_ctx_running(struct damon_ctx *ctx) in damon_sysfs_ctx_running() 2109 struct damon_ctx *ctx = kdamond->damon_ctx; in state_show() 2122 static int damon_sysfs_set_attrs(struct damon_ctx *ctx, in damon_sysfs_set_attrs() 2134 static void damon_sysfs_destroy_targets(struct damon_ctx *ctx) in damon_sysfs_destroy_targets() 2177 struct damon_ctx *ctx) in damon_sysfs_add_target() 2208 struct damon_sysfs_target *sys_target, struct damon_ctx *ctx) in damon_sysfs_existing_target() 2234 static int damon_sysfs_set_targets(struct damon_ctx *ctx, in damon_sysfs_set_targets() 2289 static int damon_sysfs_set_schemes(struct damon_ctx *ctx, in damon_sysfs_set_schemes() 2308 static void damon_sysfs_before_terminate(struct damon_ctx *ctx) in damon_sysfs_before_terminate() [all …]
|
D | vaddr.c | 232 static void __damon_va_init_regions(struct damon_ctx *ctx, in __damon_va_init_regions() 273 static void damon_va_init(struct damon_ctx *ctx) in damon_va_init() 287 static void damon_va_update(struct damon_ctx *ctx) in damon_va_update() 394 static void __damon_va_prepare_access_check(struct damon_ctx *ctx, in __damon_va_prepare_access_check() 402 static void damon_va_prepare_access_checks(struct damon_ctx *ctx) in damon_va_prepare_access_checks() 535 static void __damon_va_check_access(struct damon_ctx *ctx, in __damon_va_check_access() 559 static unsigned int damon_va_check_accesses(struct damon_ctx *ctx) in damon_va_check_accesses() 624 static unsigned long damon_va_apply_scheme(struct damon_ctx *ctx, in damon_va_apply_scheme() 655 static int damon_va_scheme_score(struct damon_ctx *context, in damon_va_scheme_score()
|
D | reclaim.c | 229 static struct damon_ctx *ctx; 406 static int damon_reclaim_after_aggregation(struct damon_ctx *c) in damon_reclaim_after_aggregation() 427 static int damon_reclaim_after_wmarks_check(struct damon_ctx *c) in damon_reclaim_after_wmarks_check()
|
D | ops-common.h | 15 int damon_pageout_score(struct damon_ctx *c, struct damon_region *r,
|
D | dbgfs-test.h | 73 struct damon_ctx *ctx = dbgfs_new_ctx(); in damon_dbgfs_test_set_targets() 96 struct damon_ctx *ctx = damon_new_ctx(); in damon_dbgfs_test_set_init_regions()
|
D | ops-common.c | 91 int damon_pageout_score(struct damon_ctx *c, struct damon_region *r, in damon_pageout_score()
|