Lines Matching refs:damon_ctx
62 struct damon_ctx;
102 void (*init)(struct damon_ctx *context);
103 void (*update)(struct damon_ctx *context);
104 void (*prepare_access_checks)(struct damon_ctx *context);
105 unsigned int (*check_accesses)(struct damon_ctx *context);
106 void (*reset_aggregated)(struct damon_ctx *context);
108 void (*cleanup)(struct damon_ctx *context);
136 int (*before_start)(struct damon_ctx *context);
137 int (*after_sampling)(struct damon_ctx *context);
138 int (*after_aggregation)(struct damon_ctx *context);
139 int (*before_terminate)(struct damon_ctx *context);
186 struct damon_ctx { struct
236 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t);
241 struct damon_ctx *damon_new_ctx(void);
242 void damon_destroy_ctx(struct damon_ctx *ctx);
243 int damon_set_targets(struct damon_ctx *ctx,
245 int damon_set_attrs(struct damon_ctx *ctx, unsigned long sample_int,
250 int damon_start(struct damon_ctx **ctxs, int nr_ctxs);
251 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs);
258 void damon_va_init(struct damon_ctx *ctx);
259 void damon_va_update(struct damon_ctx *ctx);
260 void damon_va_prepare_access_checks(struct damon_ctx *ctx);
261 unsigned int damon_va_check_accesses(struct damon_ctx *ctx);
263 void damon_va_cleanup(struct damon_ctx *ctx);
264 void damon_va_set_primitives(struct damon_ctx *ctx);