| 130 | } |
| 131 | |
| 132 | static inline bool region_overlap(const struct region *r1, const struct region *r2) |
| 133 | { |
| 134 | return (region_last(r1) >= region_offset(r2)) && |
| 135 | (region_offset(r1) <= region_last(r2)); |
| 136 | } |
| 137 | |
| 138 | /* Helper to dynamically initialize region device. */ |
| 139 | void region_device_init(struct region_device *rdev, |
no test coverage detected