Searched refs:param_ctx (Results 1 – 3 of 3) sorted by relevance
191 struct damon_ctx *param_ctx; in damon_lru_sort_apply_parameters() local197 err = damon_modules_new_paddr_ctx_target(¶m_ctx, ¶m_target); in damon_lru_sort_apply_parameters()219 damon_set_schemes(param_ctx, &hot_scheme, 1); in damon_lru_sort_apply_parameters()220 damon_add_scheme(param_ctx, cold_scheme); in damon_lru_sort_apply_parameters()227 err = damon_commit_ctx(ctx, param_ctx); in damon_lru_sort_apply_parameters()229 damon_destroy_ctx(param_ctx); in damon_lru_sort_apply_parameters()
186 struct damon_ctx *param_ctx; in damon_reclaim_apply_parameters() local193 err = damon_modules_new_paddr_ctx_target(¶m_ctx, ¶m_target); in damon_reclaim_apply_parameters()235 err = damon_commit_ctx(ctx, param_ctx); in damon_reclaim_apply_parameters()237 damon_destroy_ctx(param_ctx); in damon_reclaim_apply_parameters()
1303 struct damon_ctx *param_ctx; in damon_sysfs_commit_input() local1312 param_ctx = damon_sysfs_build_ctx(kdamond->contexts->contexts_arr[0]); in damon_sysfs_commit_input()1313 if (IS_ERR(param_ctx)) in damon_sysfs_commit_input()1314 return PTR_ERR(param_ctx); in damon_sysfs_commit_input()1315 err = damon_commit_ctx(kdamond->damon_ctx, param_ctx); in damon_sysfs_commit_input()1316 damon_sysfs_destroy_targets(param_ctx); in damon_sysfs_commit_input()1317 damon_destroy_ctx(param_ctx); in damon_sysfs_commit_input()