| 157 | } |
| 158 | |
| 159 | static inline size_t region_device_last(const struct region_device *rdev) |
| 160 | { |
| 161 | return region_last(region_device_region(rdev)); |
| 162 | } |
| 163 | |
| 164 | /* Memory map entire region device. Same semantics as rdev_mmap() above. */ |
| 165 | static inline void *rdev_mmap_full(const struct region_device *rd) |