Lines Matching defs:regions
113 * scheme regions directory
126 struct damon_sysfs_scheme_regions *regions = kmalloc(sizeof(*regions),
129 if (!regions)
132 regions->kobj = (struct kobject){};
133 INIT_LIST_HEAD(®ions->regions_list);
134 regions->nr_regions = 0;
135 regions->total_bytes = 0;
136 return regions;
142 struct damon_sysfs_scheme_regions *regions = container_of(kobj,
145 return sysfs_emit(buf, "%lu\n", regions->total_bytes);
149 struct damon_sysfs_scheme_regions *regions)
153 list_for_each_entry_safe(r, next, ®ions->regions_list, list) {
156 regions->nr_regions--;
1719 * damon_sysfs_schemes that need to update its schemes regions dir. Protected
1728 * registered, damon_sysfs_lock should be held to ensure the regions