MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pmap_unwire_ptp

Function pmap_unwire_ptp

freebsd/mips/mips/pmap.c:992–1002  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

990 * page table page was unmapped and FALSE otherwise.
991 */
992static PMAP_INLINE boolean_t
993pmap_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
1004static void
1005_pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m)

Callers 3

_pmap_unwire_ptpFunction · 0.70
pmap_unuse_ptFunction · 0.70
pmap_enter_quick_lockedFunction · 0.70

Calls 1

_pmap_unwire_ptpFunction · 0.70

Tested by

no test coverage detected