| 198 | } |
| 199 | |
| 200 | static struct md_page * |
| 201 | page_to_pvh(vm_page_t m) |
| 202 | { |
| 203 | struct vm_phys_seg *seg; |
| 204 | |
| 205 | seg = &vm_phys_segs[m->segind]; |
| 206 | return ((struct md_page *)seg->md_first + |
| 207 | pmap_l2_pindex(VM_PAGE_TO_PHYS(m)) - pmap_l2_pindex(seg->start)); |
| 208 | } |
| 209 | |
| 210 | #define NPV_LIST_LOCKS MAXCPU |
| 211 |
no outgoing calls
no test coverage detected