Lines Matching refs:damon_region
50 struct damon_region { struct
334 struct damon_target *t, struct damon_region *r,
337 struct damon_target *t, struct damon_region *r,
448 static inline struct damon_region *damon_next_region(struct damon_region *r) in damon_next_region()
450 return container_of(r->list.next, struct damon_region, list); in damon_next_region()
453 static inline struct damon_region *damon_prev_region(struct damon_region *r) in damon_prev_region()
455 return container_of(r->list.prev, struct damon_region, list); in damon_prev_region()
458 static inline struct damon_region *damon_last_region(struct damon_target *t) in damon_last_region()
460 return list_last_entry(&t->regions_list, struct damon_region, list); in damon_last_region()
483 struct damon_region *damon_new_region(unsigned long start, unsigned long end);
488 static inline void damon_insert_region(struct damon_region *r, in damon_insert_region()
489 struct damon_region *prev, struct damon_region *next, in damon_insert_region()
496 void damon_add_region(struct damon_region *r, struct damon_target *t);
497 void damon_destroy_region(struct damon_region *r, struct damon_target *t);