Lines Matching refs:damon_ctx
276 struct damon_ctx;
328 void (*init)(struct damon_ctx *context);
329 void (*update)(struct damon_ctx *context);
330 void (*prepare_access_checks)(struct damon_ctx *context);
331 unsigned int (*check_accesses)(struct damon_ctx *context);
332 void (*reset_aggregated)(struct damon_ctx *context);
333 int (*get_scheme_score)(struct damon_ctx *context,
336 unsigned long (*apply_scheme)(struct damon_ctx *context,
340 void (*cleanup)(struct damon_ctx *context);
374 int (*before_start)(struct damon_ctx *context);
375 int (*after_wmarks_check)(struct damon_ctx *context);
376 int (*after_sampling)(struct damon_ctx *context);
377 int (*after_aggregation)(struct damon_ctx *context);
378 void (*before_terminate)(struct damon_ctx *context);
426 struct damon_ctx { struct
507 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s);
511 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t);
512 bool damon_targets_empty(struct damon_ctx *ctx);
517 struct damon_ctx *damon_new_ctx(void);
518 void damon_destroy_ctx(struct damon_ctx *ctx);
519 int damon_set_attrs(struct damon_ctx *ctx, unsigned long sample_int,
522 int damon_set_schemes(struct damon_ctx *ctx,
527 int damon_select_ops(struct damon_ctx *ctx, enum damon_ops_id id);
529 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive);
530 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs);