Searched refs:damon_sysfs_targets (Results 1 – 1 of 1) sorted by relevance
290 struct damon_sysfs_targets { struct296 static struct damon_sysfs_targets *damon_sysfs_targets_alloc(void) in damon_sysfs_targets_alloc() argument298 return kzalloc(sizeof(struct damon_sysfs_targets), GFP_KERNEL); in damon_sysfs_targets_alloc()301 static void damon_sysfs_targets_rm_dirs(struct damon_sysfs_targets *targets) in damon_sysfs_targets_rm_dirs()315 static int damon_sysfs_targets_add_dirs(struct damon_sysfs_targets *targets, in damon_sysfs_targets_add_dirs()362 struct damon_sysfs_targets *targets = container_of(kobj, in nr_targets_show()363 struct damon_sysfs_targets, kobj); in nr_targets_show()371 struct damon_sysfs_targets *targets; in nr_targets_store()379 targets = container_of(kobj, struct damon_sysfs_targets, kobj); in nr_targets_store()393 kfree(container_of(kobj, struct damon_sysfs_targets, kobj)); in damon_sysfs_targets_release()[all …]