Lines Matching refs:schemes_arr
1390 struct damon_sysfs_scheme **schemes_arr = schemes->schemes_arr; in damon_sysfs_schemes_rm_dirs() local
1394 damon_sysfs_scheme_rm_dirs(schemes_arr[i]); in damon_sysfs_schemes_rm_dirs()
1395 kobject_put(&schemes_arr[i]->kobj); in damon_sysfs_schemes_rm_dirs()
1398 kfree(schemes_arr); in damon_sysfs_schemes_rm_dirs()
1399 schemes->schemes_arr = NULL; in damon_sysfs_schemes_rm_dirs()
1405 struct damon_sysfs_scheme **schemes_arr, *scheme; in damon_sysfs_schemes_add_dirs() local
1412 schemes_arr = kmalloc_array(nr_schemes, sizeof(*schemes_arr), in damon_sysfs_schemes_add_dirs()
1414 if (!schemes_arr) in damon_sysfs_schemes_add_dirs()
1416 schemes->schemes_arr = schemes_arr; in damon_sysfs_schemes_add_dirs()
1434 schemes_arr[i] = scheme; in damon_sysfs_schemes_add_dirs()
1675 sysfs_schemes->schemes_arr[i]); in damon_sysfs_set_schemes()
1684 scheme = damon_sysfs_mk_scheme(sysfs_schemes->schemes_arr[i]); in damon_sysfs_set_schemes()
1709 sysfs_stats = sysfs_schemes->schemes_arr[schemes_idx++]->stats; in damon_sysfs_schemes_update_stats()
1752 sysfs_regions = sysfs_schemes->schemes_arr[schemes_idx]->tried_regions; in damon_sysfs_before_damos_apply()
1786 sysfs_scheme = sysfs_schemes->schemes_arr[schemes_idx++]; in damon_sysfs_schemes_clear_regions()