Home
last modified time | relevance | path

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

/openbmc/linux/mm/damon/
H A Dsysfs.c813 struct damon_sysfs_contexts { struct
819 static struct damon_sysfs_contexts *damon_sysfs_contexts_alloc(void) in damon_sysfs_contexts_alloc() argument
821 return kzalloc(sizeof(struct damon_sysfs_contexts), GFP_KERNEL); in damon_sysfs_contexts_alloc()
824 static void damon_sysfs_contexts_rm_dirs(struct damon_sysfs_contexts *contexts) in damon_sysfs_contexts_rm_dirs()
838 static int damon_sysfs_contexts_add_dirs(struct damon_sysfs_contexts *contexts, in damon_sysfs_contexts_add_dirs()
885 struct damon_sysfs_contexts *contexts = container_of(kobj, in nr_contexts_show()
886 struct damon_sysfs_contexts, kobj); in nr_contexts_show()
894 struct damon_sysfs_contexts *contexts; in nr_contexts_store()
904 contexts = container_of(kobj, struct damon_sysfs_contexts, kobj); in nr_contexts_store()
917 kfree(container_of(kobj, struct damon_sysfs_contexts, kobj)); in damon_sysfs_contexts_release()
[all …]