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

Function pmap_is_current

freebsd/arm/arm/pmap-v6.c:1851–1857  ·  view source on GitHub ↗

* Are we current address space or kernel? */

Source from the content-addressed store, hash-verified

1849 * Are we current address space or kernel?
1850 */
1851static __inline int
1852pmap_is_current(pmap_t pmap)
1853{
1854
1855 return (pmap == kernel_pmap ||
1856 (pmap == vmspace_pmap(curthread->td_proc->p_vmspace)));
1857}
1858
1859/*
1860 * If the given pmap is not the current or kernel pmap, the returned

Callers 8

pmap_pte2Function · 0.70
pmap_pte2_quickFunction · 0.70
pmap_demote_pte1Function · 0.70
pmap_protectFunction · 0.70
pmap_unwireFunction · 0.70
pmap_adviseFunction · 0.70
pmap_copyFunction · 0.70
pmap_pte2_ddbFunction · 0.70

Calls 1

vmspace_pmapFunction · 0.85

Tested by

no test coverage detected