Lines Matching refs:schemes
637 struct damon_sysfs_schemes *schemes;
694 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc();
697 if (!schemes)
699 err = kobject_init_and_add(&schemes->kobj, &damon_sysfs_schemes_ktype,
700 &context->kobj, "schemes");
702 kobject_put(&schemes->kobj);
705 context->schemes = schemes;
741 damon_sysfs_schemes_rm_dirs(context->schemes);
742 kobject_put(&context->schemes->kobj);
1013 * @DAMON_SYSFS_CMD_UPDATE_SCHEMES_TRIED_REGIONS: Update schemes tried
1018 * @DAMON_SYSFS_CMD_CLEAR_SCHEMES_TRIED_REGIONS: Clear schemes tried
1272 * damon_sysfs_upd_schemes_stats() - Update schemes stats sysfs files.
1275 * This function reads the schemes stats of specific kdamond and update the
1287 kdamond->contexts->contexts_arr[0]->schemes, ctx);
1299 kdamond->contexts->contexts_arr[0]->schemes, ctx,
1321 kdamond->contexts->contexts_arr[0]->schemes, ctx);
1345 return damon_sysfs_set_schemes(ctx, sys_ctx->schemes);
1380 return damos_sysfs_set_quota_scores(sysfs_ctx->schemes, ctx);
1384 * damon_sysfs_upd_schemes_effective_quotas() - Update schemes effective quotas
1388 * This function reads the schemes' effective quotas of specific kdamond and
1401 kdamond->contexts->contexts_arr[0]->schemes, ctx);
1456 * active and the update for all schemes is not