Lines Matching refs:ctx
123 static struct damon_ctx *ctx;
168 err = damon_set_attrs(ctx, &damon_reclaim_mon_attrs);
176 if (!list_empty(&ctx->schemes)) {
177 damon_for_each_scheme(old_scheme, ctx)
190 damon_set_schemes(ctx, &scheme, 1);
202 err = damon_stop(&ctx, 1);
212 err = damon_start(&ctx, 1, true);
215 kdamond_pid = ctx->kdamond->pid;
234 if (!ctx)
285 int err = damon_modules_new_paddr_ctx_target(&ctx, &target);
290 ctx->callback.after_wmarks_check = damon_reclaim_after_wmarks_check;
291 ctx->callback.after_aggregation = damon_reclaim_after_aggregation;