| 732 | } |
| 733 | |
| 734 | static __inline void |
| 735 | pmap_resident_count_dec(pmap_t pmap, int count) |
| 736 | { |
| 737 | |
| 738 | PMAP_LOCK_ASSERT(pmap, MA_OWNED); |
| 739 | KASSERT(pmap->pm_stats.resident_count >= count, |
| 740 | ("pmap %p resident count underflow %ld %d", pmap, |
| 741 | pmap->pm_stats.resident_count, count)); |
| 742 | pmap->pm_stats.resident_count -= count; |
| 743 | } |
| 744 | |
| 745 | static pt_entry_t * |
| 746 | pmap_early_page_idx(vm_offset_t l1pt, vm_offset_t va, u_int *l1_slot, |
no outgoing calls
no test coverage detected