Lines Matching defs:ctx
121 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme()
162 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t) in damon_add_target()
167 bool damon_targets_empty(struct damon_ctx *ctx) in damon_targets_empty()
199 struct damon_ctx *ctx; in damon_new_ctx() local
223 static void damon_destroy_targets(struct damon_ctx *ctx) in damon_destroy_targets()
236 void damon_destroy_ctx(struct damon_ctx *ctx) in damon_destroy_ctx()
258 int damon_set_targets(struct damon_ctx *ctx, in damon_set_targets()
294 int damon_set_attrs(struct damon_ctx *ctx, unsigned long sample_int, in damon_set_attrs()
323 int damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes()
351 static unsigned long damon_region_sz_limit(struct damon_ctx *ctx) in damon_region_sz_limit()
380 static int __damon_start(struct damon_ctx *ctx) in __damon_start()
449 static int __damon_stop(struct damon_ctx *ctx) in __damon_stop()
514 static bool kdamond_aggregate_interval_passed(struct damon_ctx *ctx) in kdamond_aggregate_interval_passed()
810 static void damon_split_region_at(struct damon_ctx *ctx, in damon_split_region_at()
829 static void damon_split_regions_of(struct damon_ctx *ctx, in damon_split_regions_of()
867 static void kdamond_split_regions(struct damon_ctx *ctx) in kdamond_split_regions()
896 static bool kdamond_need_update_primitive(struct damon_ctx *ctx) in kdamond_need_update_primitive()
910 static bool kdamond_need_stop(struct damon_ctx *ctx) in kdamond_need_stop()
977 static int kdamond_wait_activation(struct damon_ctx *ctx) in kdamond_wait_activation()
1002 struct damon_ctx *ctx = (struct damon_ctx *)data; in kdamond_fn() local