Home
last modified time | relevance | path

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

/openbmc/linux/mm/damon/
H A Dsysfs.c1613 struct damon_sysfs_kdamond **kdamonds_arr; member
1624 struct damon_sysfs_kdamond **kdamonds_arr = kdamonds->kdamonds_arr; in damon_sysfs_kdamonds_rm_dirs() local
1628 damon_sysfs_kdamond_rm_dirs(kdamonds_arr[i]); in damon_sysfs_kdamonds_rm_dirs()
1629 kobject_put(&kdamonds_arr[i]->kobj); in damon_sysfs_kdamonds_rm_dirs()
1632 kfree(kdamonds_arr); in damon_sysfs_kdamonds_rm_dirs()
1633 kdamonds->kdamonds_arr = NULL; in damon_sysfs_kdamonds_rm_dirs()
1653 struct damon_sysfs_kdamond **kdamonds_arr, *kdamond; in damon_sysfs_kdamonds_add_dirs() local
1663 kdamonds_arr = kmalloc_array(nr_kdamonds, sizeof(*kdamonds_arr), in damon_sysfs_kdamonds_add_dirs()
1665 if (!kdamonds_arr) in damon_sysfs_kdamonds_add_dirs()
1667 kdamonds->kdamonds_arr = kdamonds_arr; in damon_sysfs_kdamonds_add_dirs()
[all …]