Lines Matching refs:damon_ctx
18 static struct damon_ctx **dbgfs_ctxs;
52 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_read()
69 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_write()
100 static ssize_t sprint_schemes(struct damon_ctx *c, char *buf, ssize_t len) in sprint_schemes()
134 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_read()
243 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_write()
278 static inline bool targetid_is_pid(const struct damon_ctx *ctx) in targetid_is_pid()
283 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len) in sprint_target_ids()
310 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_read()
364 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_write()
439 static ssize_t sprint_init_regions(struct damon_ctx *c, char *buf, ssize_t len) in sprint_init_regions()
462 struct damon_ctx *ctx = file->private_data; in dbgfs_init_regions_read()
488 static int add_init_region(struct damon_ctx *c, in add_init_region()
521 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len) in set_init_regions()
560 struct damon_ctx *ctx = file->private_data; in dbgfs_init_regions_write()
588 struct damon_ctx *ctx = file->private_data; in dbgfs_kdamond_pid_read()
647 static void dbgfs_fill_ctx_dir(struct dentry *dir, struct damon_ctx *ctx) in dbgfs_fill_ctx_dir()
659 static void dbgfs_before_terminate(struct damon_ctx *ctx) in dbgfs_before_terminate()
674 static struct damon_ctx *dbgfs_new_ctx(void) in dbgfs_new_ctx()
676 struct damon_ctx *ctx; in dbgfs_new_ctx()
687 static void dbgfs_destroy_ctx(struct damon_ctx *ctx) in dbgfs_destroy_ctx()
702 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context()
788 struct damon_ctx **new_ctxs; in dbgfs_rm_context()