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

Function pmap_pti_wire_pte

freebsd/amd64/amd64/pmap.c:10678–10686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10676}
10677
10678static void
10679pmap_pti_wire_pte(void *pte)
10680{
10681 vm_page_t m;
10682
10683 VM_OBJECT_ASSERT_WLOCKED(pti_obj);
10684 m = PHYS_TO_VM_PAGE(DMAP_TO_PHYS((uintptr_t)pte));
10685 m->ref_count++;
10686}
10687
10688static void
10689pmap_pti_unwire_pde(void *pde, bool only_ref)

Callers 3

pmap_pti_initFunction · 0.85
pmap_pti_pteFunction · 0.85
pmap_pti_add_kva_lockedFunction · 0.85

Calls 1

PHYS_TO_VM_PAGEFunction · 0.85

Tested by

no test coverage detected