Lines Matching full:schemes
637 struct damon_sysfs_schemes *schemes; member
694 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc(); in damon_sysfs_context_set_schemes() local
697 if (!schemes) in damon_sysfs_context_set_schemes()
699 err = kobject_init_and_add(&schemes->kobj, &damon_sysfs_schemes_ktype, in damon_sysfs_context_set_schemes()
700 &context->kobj, "schemes"); in damon_sysfs_context_set_schemes()
702 kobject_put(&schemes->kobj); in damon_sysfs_context_set_schemes()
705 context->schemes = schemes; in damon_sysfs_context_set_schemes()
741 damon_sysfs_schemes_rm_dirs(context->schemes); in damon_sysfs_context_rm_dirs()
742 kobject_put(&context->schemes->kobj); in damon_sysfs_context_rm_dirs()
1013 * @DAMON_SYSFS_CMD_UPDATE_SCHEMES_TRIED_REGIONS: Update schemes tried
1018 * @DAMON_SYSFS_CMD_CLEAR_SCHEMES_TRIED_REGIONS: Clear schemes tried
1216 * damon_sysfs_upd_schemes_stats() - Update schemes stats sysfs files.
1219 * This function reads the schemes stats of specific kdamond and update the
1231 kdamond->contexts->contexts_arr[0]->schemes, ctx); in damon_sysfs_upd_schemes_stats()
1243 kdamond->contexts->contexts_arr[0]->schemes, ctx, in damon_sysfs_upd_schemes_regions_start()
1265 kdamond->contexts->contexts_arr[0]->schemes, ctx); in damon_sysfs_clear_schemes_regions()
1289 return damon_sysfs_add_schemes(ctx, sys_ctx->schemes); in damon_sysfs_apply_inputs()
1335 return damos_sysfs_set_quota_scores(sysfs_ctx->schemes, ctx); in damon_sysfs_commit_schemes_quota_goals()
1339 * damon_sysfs_upd_schemes_effective_quotas() - Update schemes effective quotas
1343 * This function reads the schemes' effective quotas of specific kdamond and
1356 kdamond->contexts->contexts_arr[0]->schemes, ctx); in damon_sysfs_upd_schemes_effective_quotas()
1411 * active and the update for all schemes is not in damon_sysfs_cmd_request_callback()