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

Function pmap_pte_index

freebsd/amd64/include/pmap.h:508–513  ·  view source on GitHub ↗

Return various clipped indexes for a given VA */

Source from the content-addressed store, hash-verified

506
507/* Return various clipped indexes for a given VA */
508static __inline vm_pindex_t
509pmap_pte_index(vm_offset_t va)
510{
511
512 return ((va >> PAGE_SHIFT) & ((1ul << NPTEPGSHIFT) - 1));
513}
514
515static __inline vm_pindex_t
516pmap_pde_index(vm_offset_t va)

Callers 10

pmap_pde_to_pteFunction · 0.85
efi_1t1_pteFunction · 0.85
pmap_pde_to_pteFunction · 0.85
pmap_bootstrap_la57Function · 0.85
pmap_enter_quick_lockedFunction · 0.85
pmap_copyFunction · 0.85
pmap_remove_pagesFunction · 0.85
pmap_large_map_pteFunction · 0.85
pmap_pti_pteFunction · 0.85
sysctl_kmapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected