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

Function pmap_is_modified

freebsd/arm64/arm64/pmap.c:5350–5363  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5348 * in any physical maps.
5349 */
5350boolean_t
5351pmap_is_modified(vm_page_t m)
5352{
5353
5354 KASSERT((m->oflags & VPO_UNMANAGED) == 0,
5355 ("pmap_is_modified: page %p is not managed", m));
5356
5357 /*
5358 * If the page is not busied then this check is racy.
5359 */
5360 if (!pmap_page_is_write_mapped(m))
5361 return (FALSE);
5362 return (pmap_page_test_mappings(m, FALSE, TRUE));
5363}
5364
5365/*
5366 * pmap_is_prefaultable:

Callers

nothing calls this directly

Calls 1

pmap_page_test_mappingsFunction · 0.70

Tested by

no test coverage detected