Lines Matching refs:damon_sysfs_targets
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, kobj)); in damon_sysfs_targets_release()
403 ATTRIBUTE_GROUPS(damon_sysfs_targets);
636 struct damon_sysfs_targets *targets;
677 struct damon_sysfs_targets *targets = damon_sysfs_targets_alloc(); in damon_sysfs_context_set_targets()
1195 struct damon_sysfs_targets *sysfs_targets) in damon_sysfs_set_targets()