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

Function pmap_unwire_l3

freebsd/arm64/arm64/pmap.c:1647–1657  ·  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

1645 * page table page was unmapped and FALSE otherwise.
1646 */
1647static inline boolean_t
1648pmap_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
1659static void
1660_pmap_unwire_l3(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free)

Callers 5

_pmap_unwire_l3Function · 0.85
pmap_unuse_ptFunction · 0.85
pmap_abort_ptpFunction · 0.85
pmap_releaseFunction · 0.85
pmap_remove_l3_rangeFunction · 0.85

Calls 1

_pmap_unwire_l3Function · 0.85

Tested by

no test coverage detected