Searched refs:damon_sysfs_regions (Results 1 – 1 of 1) sorted by relevance
94 struct damon_sysfs_regions { struct 100 static struct damon_sysfs_regions *damon_sysfs_regions_alloc(void) in damon_sysfs_regions_alloc() argument 102 return kzalloc(sizeof(struct damon_sysfs_regions), GFP_KERNEL); in damon_sysfs_regions_alloc() 105 static void damon_sysfs_regions_rm_dirs(struct damon_sysfs_regions *regions) in damon_sysfs_regions_rm_dirs() 117 static int damon_sysfs_regions_add_dirs(struct damon_sysfs_regions *regions, in damon_sysfs_regions_add_dirs() 158 struct damon_sysfs_regions *regions = container_of(kobj, in nr_regions_show() 159 struct damon_sysfs_regions, kobj); in nr_regions_show() 167 struct damon_sysfs_regions *regions; in nr_regions_store() 175 regions = container_of(kobj, struct damon_sysfs_regions, kobj); in nr_regions_store() 189 kfree(container_of(kobj, struct damon_sysfs_regions, kob in damon_sysfs_regions_release() [all...]