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

Function vm_page_updatefake

freebsd/vm/vm_page.c:1312–1320  ·  view source on GitHub ↗

* vm_page_updatefake: * * Update the given fictitious page to the specified physical address and * memory attribute. */

Source from the content-addressed store, hash-verified

1310 * memory attribute.
1311 */
1312void
1313vm_page_updatefake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr)
1314{
1315
1316 KASSERT((m->flags & PG_FICTITIOUS) != 0,
1317 ("vm_page_updatefake: bad page %p", m));
1318 m->phys_addr = paddr;
1319 pmap_page_set_memattr(m, memattr);
1320}
1321
1322/*
1323 * vm_page_free:

Callers 2

old_dev_pager_faultFunction · 0.85

Calls 1

pmap_page_set_memattrFunction · 0.50

Tested by

no test coverage detected