Lines Matching refs:damon_ctx

401 struct damon_ctx;
415 void (*walk_fn)(void *data, struct damon_ctx *ctx,
586 void (*init)(struct damon_ctx *context);
587 void (*update)(struct damon_ctx *context);
588 void (*prepare_access_checks)(struct damon_ctx *context);
589 unsigned int (*check_accesses)(struct damon_ctx *context);
590 int (*get_scheme_score)(struct damon_ctx *context,
593 unsigned long (*apply_scheme)(struct damon_ctx *context,
597 void (*cleanup)(struct damon_ctx *context);
623 int (*after_wmarks_check)(struct damon_ctx *context);
624 int (*after_aggregation)(struct damon_ctx *context);
625 void (*before_terminate)(struct damon_ctx *context);
746 struct damon_ctx { struct
894 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s);
899 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t);
900 bool damon_targets_empty(struct damon_ctx *ctx);
905 struct damon_ctx *damon_new_ctx(void);
906 void damon_destroy_ctx(struct damon_ctx *ctx);
907 int damon_set_attrs(struct damon_ctx *ctx, struct damon_attrs *attrs);
908 void damon_set_schemes(struct damon_ctx *ctx,
910 int damon_commit_ctx(struct damon_ctx *old_ctx, struct damon_ctx *new_ctx);
914 int damon_select_ops(struct damon_ctx *ctx, enum damon_ops_id id);
916 static inline bool damon_target_has_pid(const struct damon_ctx *ctx) in damon_target_has_pid()
929 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive);
930 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs);
932 int damon_call(struct damon_ctx *ctx, struct damon_call_control *control);
933 int damos_walk(struct damon_ctx *ctx, struct damos_walk_control *control);