Home
last modified time | relevance | path

Searched refs:damon_sysfs_targets (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/mm/damon/
Dsysfs.c1346 struct damon_sysfs_targets { struct
1352 static struct damon_sysfs_targets *damon_sysfs_targets_alloc(void) in damon_sysfs_targets_alloc() argument
1354 return kzalloc(sizeof(struct damon_sysfs_targets), GFP_KERNEL); in damon_sysfs_targets_alloc()
1357 static void damon_sysfs_targets_rm_dirs(struct damon_sysfs_targets *targets) in damon_sysfs_targets_rm_dirs()
1371 static int damon_sysfs_targets_add_dirs(struct damon_sysfs_targets *targets, in damon_sysfs_targets_add_dirs()
1418 struct damon_sysfs_targets *targets = container_of(kobj, in nr_targets_show()
1419 struct damon_sysfs_targets, kobj); in nr_targets_show()
1427 struct damon_sysfs_targets *targets; in nr_targets_store()
1435 targets = container_of(kobj, struct damon_sysfs_targets, kobj); in nr_targets_store()
1449 kfree(container_of(kobj, struct damon_sysfs_targets, kobj)); in damon_sysfs_targets_release()
[all …]