* If the given page belongs to a reservation, returns the level of that * reservation. Otherwise, returns -1. */
| 1141 | * reservation. Otherwise, returns -1. |
| 1142 | */ |
| 1143 | int |
| 1144 | vm_reserv_level(vm_page_t m) |
| 1145 | { |
| 1146 | vm_reserv_t rv; |
| 1147 | |
| 1148 | rv = vm_reserv_from_page(m); |
| 1149 | return (rv->object != NULL ? 0 : -1); |
| 1150 | } |
| 1151 | |
| 1152 | /* |
| 1153 | * Returns a reservation level if the given page belongs to a fully populated |
nothing calls this directly
no test coverage detected