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

Function pmap_is_referenced

freebsd/mips/mips/pmap.c:3196–3203  ·  view source on GitHub ↗

* pmap_is_referenced: * * Return whether or not the specified physical page was referenced * in any physical maps. */

Source from the content-addressed store, hash-verified

3194 * in any physical maps.
3195 */
3196boolean_t
3197pmap_is_referenced(vm_page_t m)
3198{
3199
3200 KASSERT((m->oflags & VPO_UNMANAGED) == 0,
3201 ("pmap_is_referenced: page %p is not managed", m));
3202 return ((m->md.pv_flags & PV_TABLE_REF) != 0);
3203}
3204
3205/*
3206 * Miscellaneous support routines follow

Callers 2

kern_mincoreFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected