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

Function pmap_qremove

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

* This routine tears out page mappings from the * kernel -- it is meant only for temporary mappings. * Note: SMP coherent. Uses a ranged shootdown IPI. */

Source from the content-addressed store, hash-verified

1833 * Note: SMP coherent. Uses a ranged shootdown IPI.
1834 */
1835void
1836pmap_qremove(vm_offset_t sva, int count)
1837{
1838 vm_offset_t va;
1839
1840 va = sva;
1841 while (count-- > 0) {
1842 pmap_kremove(va);
1843 va += PAGE_SIZE;
1844 }
1845 tlb_flush_range(sva, va - sva);
1846}
1847
1848/*
1849 * Are we current address space or kernel?

Callers 5

memrwFunction · 0.70
pmap_pv_reclaimFunction · 0.70
free_pv_chunkFunction · 0.70
tegra_bo_destructFunction · 0.50
sf_buf_unmapFunction · 0.50

Calls 2

tlb_flush_rangeFunction · 0.85
pmap_kremoveFunction · 0.70

Tested by

no test coverage detected