Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 9 of 9) sorted by relevance

/mm/damon/
Dcore.c121 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme()
162 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t) in damon_add_target()
167 bool damon_targets_empty(struct damon_ctx *ctx) in damon_targets_empty()
199 struct damon_ctx *ctx; in damon_new_ctx() local
223 static void damon_destroy_targets(struct damon_ctx *ctx) in damon_destroy_targets()
236 void damon_destroy_ctx(struct damon_ctx *ctx) in damon_destroy_ctx()
258 int damon_set_targets(struct damon_ctx *ctx, in damon_set_targets()
294 int damon_set_attrs(struct damon_ctx *ctx, unsigned long sample_int, in damon_set_attrs()
323 int damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes()
351 static unsigned long damon_region_sz_limit(struct damon_ctx *ctx) in damon_region_sz_limit()
[all …]
Ddbgfs.c52 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_read() local
69 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_write() local
134 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_read() local
243 struct damon_ctx *ctx = file->private_data; in dbgfs_schemes_write() local
278 static inline bool targetid_is_pid(const struct damon_ctx *ctx) in targetid_is_pid()
283 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len) in sprint_target_ids()
310 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_read() local
364 struct damon_ctx *ctx = file->private_data; in dbgfs_target_ids_write() local
465 struct damon_ctx *ctx = file->private_data; in dbgfs_init_regions_read() local
563 struct damon_ctx *ctx = file->private_data; in dbgfs_init_regions_write() local
[all …]
Dpaddr.c68 static void __damon_pa_prepare_access_check(struct damon_ctx *ctx, in __damon_pa_prepare_access_check()
76 static void damon_pa_prepare_access_checks(struct damon_ctx *ctx) in damon_pa_prepare_access_checks()
173 static void __damon_pa_check_access(struct damon_ctx *ctx, in __damon_pa_check_access()
195 static unsigned int damon_pa_check_accesses(struct damon_ctx *ctx) in damon_pa_check_accesses()
216 static unsigned long damon_pa_apply_scheme(struct damon_ctx *ctx, in damon_pa_apply_scheme()
264 void damon_pa_set_primitives(struct damon_ctx *ctx) in damon_pa_set_primitives()
Dvaddr.c232 static void __damon_va_init_regions(struct damon_ctx *ctx, in __damon_va_init_regions()
273 static void damon_va_init(struct damon_ctx *ctx) in damon_va_init()
358 static void damon_va_update(struct damon_ctx *ctx) in damon_va_update()
473 static void __damon_va_prepare_access_check(struct damon_ctx *ctx, in __damon_va_prepare_access_check()
481 static void damon_va_prepare_access_checks(struct damon_ctx *ctx) in damon_va_prepare_access_checks()
622 static void __damon_va_check_access(struct damon_ctx *ctx, in __damon_va_check_access()
646 static unsigned int damon_va_check_accesses(struct damon_ctx *ctx) in damon_va_check_accesses()
711 static unsigned long damon_va_apply_scheme(struct damon_ctx *ctx, in damon_va_apply_scheme()
757 void damon_va_set_primitives(struct damon_ctx *ctx) in damon_va_set_primitives()
Ddbgfs-test.h81 struct damon_ctx *ctx = dbgfs_new_ctx(); in damon_dbgfs_test_set_targets() local
114 struct damon_ctx *ctx = damon_new_ctx(); in damon_dbgfs_test_set_init_regions() local
Dcore-test.h39 static unsigned int nr_damon_targets(struct damon_ctx *ctx) in nr_damon_targets()
80 struct damon_ctx *ctx = damon_new_ctx(); in damon_test_aggregate() local
Dreclaim.c217 static struct damon_ctx *ctx; variable
/mm/
Dgup.c651 struct follow_page_context *ctx) in follow_pmd_mask()
754 struct follow_page_context *ctx) in follow_pud_mask()
794 struct follow_page_context *ctx) in follow_p4d_mask()
838 struct follow_page_context *ctx) in follow_page_mask()
879 struct follow_page_context ctx = { NULL }; in follow_page() local
1125 struct follow_page_context ctx = { NULL }; in __get_user_pages() local
Dshmem.c3393 struct shmem_options *ctx = fc->fs_private; in shmem_parse_one() local
3553 struct shmem_options *ctx = fc->fs_private; in shmem_reconfigure() local
3680 struct shmem_options *ctx = fc->fs_private; in shmem_fill_super() local
3770 struct shmem_options *ctx = fc->fs_private; in shmem_free_fc() local
3934 struct shmem_options *ctx; in shmem_init_fs_context() local