| 2370 | */ |
| 2371 | |
| 2372 | static __inline void |
| 2373 | pt2_wirecount_init(vm_page_t m) |
| 2374 | { |
| 2375 | u_int i; |
| 2376 | |
| 2377 | /* |
| 2378 | * Note: A page m is allocated with VM_ALLOC_WIRED flag and |
| 2379 | * m->ref_count should be already set correctly. |
| 2380 | * So, there is no need to set it again herein. |
| 2381 | */ |
| 2382 | for (i = 0; i < NPT2_IN_PG; i++) |
| 2383 | m->md.pt2_wirecount[i] = 0; |
| 2384 | } |
| 2385 | |
| 2386 | static __inline void |
| 2387 | pt2_wirecount_inc(vm_page_t m, uint32_t pte1_idx) |
no outgoing calls
no test coverage detected