Home
last modified time | relevance | path

Searched refs:param_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/mm/damon/
H A Dlru_sort.c191 struct damon_ctx *param_ctx; in damon_lru_sort_apply_parameters() local
197 err = damon_modules_new_paddr_ctx_target(&param_ctx, &param_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()
H A Dreclaim.c186 struct damon_ctx *param_ctx; in damon_reclaim_apply_parameters() local
193 err = damon_modules_new_paddr_ctx_target(&param_ctx, &param_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()
H A Dsysfs.c1303 struct damon_ctx *param_ctx; in damon_sysfs_commit_input() local
1312 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()