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

Function pmap_remove_pt_page

freebsd/arm64/arm64/pmap.c:3426–3432  ·  view source on GitHub ↗

* Removes the page table page mapping the specified virtual address from the * specified pmap's collection of idle page table pages, and returns it. * Otherwise, returns NULL if there is no page table page corresponding to the * specified virtual address. */

Source from the content-addressed store, hash-verified

3424 * specified virtual address.
3425 */
3426static __inline vm_page_t
3427pmap_remove_pt_page(pmap_t pmap, vm_offset_t va)
3428{
3429
3430 PMAP_LOCK_ASSERT(pmap, MA_OWNED);
3431 return (vm_radix_remove(&pmap->pm_root, pmap_l2_pindex(va)));
3432}
3433
3434/*
3435 * Performs a break-before-make update of a pmap entry. This is needed when

Callers 4

pmap_remove_kernel_l2Function · 0.70
pmap_remove_l2Function · 0.70
pmap_remove_pagesFunction · 0.70
pmap_demote_l2_lockedFunction · 0.70

Calls 1

vm_radix_removeFunction · 0.85

Tested by

no test coverage detected