Lines Matching refs:damon_ctx
18 static struct damon_ctx **dbgfs_ctxs;
60 struct damon_ctx *ctx = file->private_data;
77 struct damon_ctx *ctx = file->private_data;
136 static ssize_t sprint_schemes(struct damon_ctx *c, char *buf, ssize_t len)
173 struct damon_ctx *ctx = file->private_data;
297 struct damon_ctx *ctx = file->private_data;
330 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len)
359 struct damon_ctx *ctx = file->private_data;
458 static int dbgfs_set_targets(struct damon_ctx *ctx, ssize_t nr_targets,
490 struct damon_ctx *ctx = file->private_data;
549 static ssize_t sprint_init_regions(struct damon_ctx *c, char *buf, ssize_t len)
574 struct damon_ctx *ctx = file->private_data;
600 static int add_init_region(struct damon_ctx *c, int target_idx,
630 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len)
669 struct damon_ctx *ctx = file->private_data;
697 struct damon_ctx *ctx = file->private_data;
758 static void dbgfs_fill_ctx_dir(struct dentry *dir, struct damon_ctx *ctx)
770 static void dbgfs_before_terminate(struct damon_ctx *ctx)
785 static struct damon_ctx *dbgfs_new_ctx(void)
787 struct damon_ctx *ctx;
802 static void dbgfs_destroy_ctx(struct damon_ctx *ctx)
817 struct damon_ctx **new_ctxs, *new_ctx;
904 struct damon_ctx **new_ctxs;