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

Function pmap_unwire_ptp

freebsd/i386/i386/pmap.c:1963–1973  ·  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

1961 * page table page was unmapped and FALSE otherwise.
1962 */
1963static inline boolean_t
1964pmap_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
1975static void
1976_pmap_unwire_ptp(pmap_t pmap, vm_page_t m, struct spglist *free)

Callers 2

pmap_unuse_ptFunction · 0.70
pmap_abort_ptpFunction · 0.70

Calls 1

_pmap_unwire_ptpFunction · 0.70

Tested by

no test coverage detected