* 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. */
| 1961 | * page table page was unmapped and FALSE otherwise. |
| 1962 | */ |
| 1963 | static inline boolean_t |
| 1964 | pmap_unwire_ptp(pmap_t pmap, vm_page_t m, struct spglist *free) |
| 1965 | { |
| 1966 | |
| 1967 | --m->ref_count; |
| 1968 | if (m->ref_count == 0) { |
| 1969 | _pmap_unwire_ptp(pmap, m, free); |
| 1970 | return (TRUE); |
| 1971 | } else |
| 1972 | return (FALSE); |
| 1973 | } |
| 1974 | |
| 1975 | static void |
| 1976 | _pmap_unwire_ptp(pmap_t pmap, vm_page_t m, struct spglist *free) |
no test coverage detected