Lines Matching refs:damon_ctx

99 int damon_select_ops(struct damon_ctx *ctx, enum damon_ops_id id)  in damon_select_ops()
301 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme()
343 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t) in damon_add_target()
348 bool damon_targets_empty(struct damon_ctx *ctx) in damon_targets_empty()
378 struct damon_ctx *damon_new_ctx(void) in damon_new_ctx()
380 struct damon_ctx *ctx; in damon_new_ctx()
404 static void damon_destroy_targets(struct damon_ctx *ctx) in damon_destroy_targets()
417 void damon_destroy_ctx(struct damon_ctx *ctx) in damon_destroy_ctx()
439 int damon_set_attrs(struct damon_ctx *ctx, struct damon_attrs *attrs) in damon_set_attrs()
459 void damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes()
486 static unsigned long damon_region_sz_limit(struct damon_ctx *ctx) in damon_region_sz_limit()
515 static int __damon_start(struct damon_ctx *ctx) in __damon_start()
549 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive) in damon_start()
580 static int __damon_stop(struct damon_ctx *ctx) in __damon_stop()
605 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs) in damon_stop()
644 static bool kdamond_aggregate_interval_passed(struct damon_ctx *ctx) in kdamond_aggregate_interval_passed()
653 static void kdamond_reset_aggregated(struct damon_ctx *c) in kdamond_reset_aggregated()
686 static bool damos_valid_target(struct damon_ctx *c, struct damon_target *t, in damos_valid_target()
697 static void damon_do_apply_schemes(struct damon_ctx *c, in damon_do_apply_schemes()
806 static void kdamond_apply_schemes(struct damon_ctx *c) in kdamond_apply_schemes()
920 static void kdamond_merge_regions(struct damon_ctx *c, unsigned int threshold, in kdamond_merge_regions()
990 static void kdamond_split_regions(struct damon_ctx *ctx) in kdamond_split_regions()
1020 static bool kdamond_need_update_operations(struct damon_ctx *ctx) in kdamond_need_update_operations()
1034 static bool kdamond_need_stop(struct damon_ctx *ctx) in kdamond_need_stop()
1110 static int kdamond_wait_activation(struct damon_ctx *ctx) in kdamond_wait_activation()
1142 struct damon_ctx *ctx = data; in kdamond_fn()