| 2299 | |
| 2300 | #ifdef INVARIANTS |
| 2301 | static boolean_t |
| 2302 | pt2tab_user_is_empty(pt2_entry_t *tab) |
| 2303 | { |
| 2304 | u_int i, end; |
| 2305 | |
| 2306 | end = pt2tab_index(VM_MAXUSER_ADDRESS); |
| 2307 | for (i = 0; i < end; i++) |
| 2308 | if (tab[i] != 0) return (FALSE); |
| 2309 | return (TRUE); |
| 2310 | } |
| 2311 | #endif |
| 2312 | /* |
| 2313 | * Release any resources held by the given physical map. |
no test coverage detected