* 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. */
| 990 | * page table page was unmapped and FALSE otherwise. |
| 991 | */ |
| 992 | static PMAP_INLINE boolean_t |
| 993 | pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m) |
| 994 | { |
| 995 | |
| 996 | --m->ref_count; |
| 997 | if (m->ref_count == 0) { |
| 998 | _pmap_unwire_ptp(pmap, va, m); |
| 999 | return (TRUE); |
| 1000 | } else |
| 1001 | return (FALSE); |
| 1002 | } |
| 1003 | |
| 1004 | static void |
| 1005 | _pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m) |
no test coverage detected