Searched refs:regions_arr (Results 1 – 1 of 1) sorted by relevance
96 struct damon_sysfs_region **regions_arr; member107 struct damon_sysfs_region **regions_arr = regions->regions_arr; in damon_sysfs_regions_rm_dirs() local111 kobject_put(®ions_arr[i]->kobj); in damon_sysfs_regions_rm_dirs()113 kfree(regions_arr); in damon_sysfs_regions_rm_dirs()114 regions->regions_arr = NULL; in damon_sysfs_regions_rm_dirs()120 struct damon_sysfs_region **regions_arr, *region; in damon_sysfs_regions_add_dirs() local127 regions_arr = kmalloc_array(nr_regions, sizeof(*regions_arr), in damon_sysfs_regions_add_dirs()129 if (!regions_arr) in damon_sysfs_regions_add_dirs()131 regions->regions_arr = regions_arr; in damon_sysfs_regions_add_dirs()149 regions_arr[i] = region; in damon_sysfs_regions_add_dirs()[all …]