Lines Matching defs:ctx
121 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme()
163 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t) in damon_add_target()
168 bool damon_targets_empty(struct damon_ctx *ctx) in damon_targets_empty()
200 struct damon_ctx *ctx; in damon_new_ctx() local
224 static void damon_destroy_targets(struct damon_ctx *ctx) in damon_destroy_targets()
237 void damon_destroy_ctx(struct damon_ctx *ctx) in damon_destroy_ctx()
259 int damon_set_targets(struct damon_ctx *ctx, in damon_set_targets()
295 int damon_set_attrs(struct damon_ctx *ctx, unsigned long sample_int, in damon_set_attrs()
324 int damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes()
352 static unsigned long damon_region_sz_limit(struct damon_ctx *ctx) in damon_region_sz_limit()
381 static int __damon_start(struct damon_ctx *ctx) in __damon_start()
441 static int __damon_stop(struct damon_ctx *ctx) in __damon_stop()
506 static bool kdamond_aggregate_interval_passed(struct damon_ctx *ctx) in kdamond_aggregate_interval_passed()
802 static void damon_split_region_at(struct damon_ctx *ctx, in damon_split_region_at()
821 static void damon_split_regions_of(struct damon_ctx *ctx, in damon_split_regions_of()
859 static void kdamond_split_regions(struct damon_ctx *ctx) in kdamond_split_regions()
888 static bool kdamond_need_update_primitive(struct damon_ctx *ctx) in kdamond_need_update_primitive()
902 static bool kdamond_need_stop(struct damon_ctx *ctx) in kdamond_need_stop()
978 static int kdamond_wait_activation(struct damon_ctx *ctx) in kdamond_wait_activation()
1003 struct damon_ctx *ctx = (struct damon_ctx *)data; in kdamond_fn() local