Searched refs:damon_sysfs_contexts (Results 1 – 1 of 1) sorted by relevance
813 struct damon_sysfs_contexts { struct819 static struct damon_sysfs_contexts *damon_sysfs_contexts_alloc(void) in damon_sysfs_contexts_alloc() argument821 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 …]