* Decrements a page table page's reference count, which is used to record the * number of valid page table entries within the page. If the reference count * drops to zero, then the page table page is unmapped. Returns TRUE if the * page table page was unmapped and FALSE otherwise. */
| 3949 | * page table page was unmapped and FALSE otherwise. |
| 3950 | */ |
| 3951 | static inline boolean_t |
| 3952 | pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free) |
| 3953 | { |
| 3954 | |
| 3955 | --m->ref_count; |
| 3956 | if (m->ref_count == 0) { |
| 3957 | _pmap_unwire_ptp(pmap, va, m, free); |
| 3958 | return (TRUE); |
| 3959 | } else |
| 3960 | return (FALSE); |
| 3961 | } |
| 3962 | |
| 3963 | static void |
| 3964 | _pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free) |
no test coverage detected