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

Function page_to_pvh

freebsd/arm64/arm64/pmap.c:200–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200static struct md_page *
201page_to_pvh(vm_page_t m)
202{
203 struct vm_phys_seg *seg;
204
205 seg = &vm_phys_segs[m->segind];
206 return ((struct md_page *)seg->md_first +
207 pmap_l2_pindex(VM_PAGE_TO_PHYS(m)) - pmap_l2_pindex(seg->start));
208}
209
210#define NPV_LIST_LOCKS MAXCPU
211

Callers 12

reclaim_pv_chunkFunction · 0.85
pmap_remove_l3Function · 0.85
pmap_remove_l3_rangeFunction · 0.85
pmap_remove_allFunction · 0.85
pmap_page_exists_quickFunction · 0.85
pmap_page_wired_mappingsFunction · 0.85
pmap_page_is_mappedFunction · 0.85
pmap_remove_pagesFunction · 0.85
pmap_page_test_mappingsFunction · 0.85
pmap_remove_writeFunction · 0.85
pmap_ts_referencedFunction · 0.85
pmap_clear_modifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected