Lines Matching full:schemes

131  * of all schemes as 'idle' again, and register ->before_damos_apply()
227 * schemes/stats directory
1751 * schemes directory
1759 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes) in damon_sysfs_schemes_rm_dirs() argument
1761 struct damon_sysfs_scheme **schemes_arr = schemes->schemes_arr; in damon_sysfs_schemes_rm_dirs()
1764 for (i = 0; i < schemes->nr; i++) { in damon_sysfs_schemes_rm_dirs()
1768 schemes->nr = 0; in damon_sysfs_schemes_rm_dirs()
1770 schemes->schemes_arr = NULL; in damon_sysfs_schemes_rm_dirs()
1773 static int damon_sysfs_schemes_add_dirs(struct damon_sysfs_schemes *schemes, in damon_sysfs_schemes_add_dirs() argument
1779 damon_sysfs_schemes_rm_dirs(schemes); in damon_sysfs_schemes_add_dirs()
1787 schemes->schemes_arr = schemes_arr; in damon_sysfs_schemes_add_dirs()
1796 damon_sysfs_schemes_rm_dirs(schemes); in damon_sysfs_schemes_add_dirs()
1801 &damon_sysfs_scheme_ktype, &schemes->kobj, in damon_sysfs_schemes_add_dirs()
1810 schemes->nr++; in damon_sysfs_schemes_add_dirs()
1815 damon_sysfs_schemes_rm_dirs(schemes); in damon_sysfs_schemes_add_dirs()
1823 struct damon_sysfs_schemes *schemes = container_of(kobj, in nr_schemes_show() local
1826 return sysfs_emit(buf, "%d\n", schemes->nr); in nr_schemes_show()
1832 struct damon_sysfs_schemes *schemes; in nr_schemes_store() local
1840 schemes = container_of(kobj, struct damon_sysfs_schemes, kobj); in nr_schemes_store()
1844 err = damon_sysfs_schemes_add_dirs(schemes, nr); in nr_schemes_store()
2130 * damon_sysfs_schemes that need to update its schemes regions dir. Protected