Searched refs:damon_sysfs_targets (Results 1 – 2 of 2) sorted by relevance
290 struct damon_sysfs_targets { struct 296 static struct damon_sysfs_targets *damon_sysfs_targets_alloc(void) in damon_sysfs_targets_alloc() argument 298 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, kob in damon_sysfs_targets_release() [all...]
43 struct damon_sysfs_targets *sysfs_targets; in damon_sysfs_test_add_targets()