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

Function pmap_pti_alloc_page

freebsd/amd64/amd64/pmap.c:10579–10588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10577}
10578
10579static vm_page_t
10580pmap_pti_alloc_page(void)
10581{
10582 vm_page_t m;
10583
10584 VM_OBJECT_ASSERT_WLOCKED(pti_obj);
10585 m = vm_page_grab(pti_obj, pti_pg_idx++, VM_ALLOC_NOBUSY |
10586 VM_ALLOC_WIRED | VM_ALLOC_ZERO);
10587 return (m);
10588}
10589
10590static bool
10591pmap_pti_free_page(vm_page_t m)

Callers 4

pmap_pti_initFunction · 0.85
pmap_pti_pdpeFunction · 0.85
pmap_pti_pdeFunction · 0.85
pmap_pti_pteFunction · 0.85

Calls 1

vm_page_grabFunction · 0.85

Tested by

no test coverage detected