* 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. */
| 1645 | * page table page was unmapped and FALSE otherwise. |
| 1646 | */ |
| 1647 | static inline boolean_t |
| 1648 | pmap_unwire_l3(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free) |
| 1649 | { |
| 1650 | |
| 1651 | --m->ref_count; |
| 1652 | if (m->ref_count == 0) { |
| 1653 | _pmap_unwire_l3(pmap, va, m, free); |
| 1654 | return (TRUE); |
| 1655 | } else |
| 1656 | return (FALSE); |
| 1657 | } |
| 1658 | |
| 1659 | static void |
| 1660 | _pmap_unwire_l3(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free) |
no test coverage detected