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

Function vm_imgact_unmap_page

freebsd/vm/vm_glue.c:250–259  ·  view source on GitHub ↗

* Destroy the given CPU private mapping and unpin the page that it mapped. */

Source from the content-addressed store, hash-verified

248 * Destroy the given CPU private mapping and unpin the page that it mapped.
249 */
250void
251vm_imgact_unmap_page(struct sf_buf *sf)
252{
253 vm_page_t m;
254
255 m = sf_buf_page(sf);
256 sf_buf_free(sf);
257 sched_unpin();
258 vm_page_unwire(m, PQ_ACTIVE);
259}
260
261void
262vm_sync_icache(vm_map_t map, vm_offset_t va, vm_offset_t sz)

Callers 3

__elfN(map_partial)Function · 0.85
__elfN(map_insert)Function · 0.85
__elfN(load_section)Function · 0.85

Calls 4

sched_unpinFunction · 0.85
vm_page_unwireFunction · 0.85
sf_buf_pageFunction · 0.50
sf_buf_freeFunction · 0.50

Tested by

no test coverage detected