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

Function pmap_qremove

freebsd/amd64/amd64/pmap.c:3880–3892  ·  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

3878 * Note: SMP coherent. Uses a ranged shootdown IPI.
3879 */
3880void
3881pmap_qremove(vm_offset_t sva, int count)
3882{
3883 vm_offset_t va;
3884
3885 va = sva;
3886 while (count-- > 0) {
3887 KASSERT(va >= VM_MIN_KERNEL_ADDRESS, ("usermode va %lx", va));
3888 pmap_kremove(va);
3889 va += PAGE_SIZE;
3890 }
3891 pmap_invalidate_range(kernel_pmap, sva, va);
3892}
3893
3894/***************************************************
3895 * Page table page management routines.....

Callers 2

pmap_unmapdevFunction · 0.70
pmap_unmap_io_transientFunction · 0.70

Calls 2

pmap_kremoveFunction · 0.70
pmap_invalidate_rangeFunction · 0.70

Tested by

no test coverage detected