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()
128 static ssize_t sprint_schemes(struct damon_ctx *c, char *buf, ssize_t len) in sprint_schemes()
165 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_read()
289 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_write()
322 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len) in sprint_target_ids()
351 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_read()
450 static int dbgfs_set_targets(struct damon_ctx *ctx, ssize_t nr_targets, in dbgfs_set_targets()
482 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_write()
541 static ssize_t sprint_init_regions(struct damon_ctx *c, char *buf, ssize_t len) in sprint_init_regions()
566 struct damon_ctx *ctx = file->private_data; in dbgfs_init_regions_read()
592 static int add_init_region(struct damon_ctx *c, int target_idx, in add_init_region()
622 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len) in set_init_regions()
661 struct damon_ctx *ctx = file->private_data; in dbgfs_init_regions_write()
689 struct damon_ctx *ctx = file->private_data; in dbgfs_kdamond_pid_read()
748 static void dbgfs_fill_ctx_dir(struct dentry *dir, struct damon_ctx *ctx) in dbgfs_fill_ctx_dir()
760 static void dbgfs_before_terminate(struct damon_ctx *ctx) in dbgfs_before_terminate()
775 static struct damon_ctx *dbgfs_new_ctx(void) in dbgfs_new_ctx()
777 struct damon_ctx *ctx; in dbgfs_new_ctx()
792 static void dbgfs_destroy_ctx(struct damon_ctx *ctx) in dbgfs_destroy_ctx()
807 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context()
894 struct damon_ctx **new_ctxs; in dbgfs_rm_context()