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

Function kva_free

freebsd/vm/vm_kern.c:165–171  ·  view source on GitHub ↗

* kva_free: * * Release a region of kernel virtual memory allocated * with kva_alloc, and return the physical pages * associated with that region. * * This routine may not block on kernel maps. */

Source from the content-addressed store, hash-verified

163 * This routine may not block on kernel maps.
164 */
165void
166kva_free(vm_offset_t addr, vm_size_t size)
167{
168
169 size = round_page(size);
170 vmem_free(kernel_arena, addr, size);
171}
172
173static vm_page_t
174kmem_alloc_contig_pages(vm_object_t object, vm_pindex_t pindex, int domain,

Callers 10

pmap_unmapdevFunction · 0.85
pmap_unmapdevFunction · 0.85
pmap_unmapbiosFunction · 0.85
pmap_demote_l1Function · 0.85
pmap_demote_l2_lockedFunction · 0.85
pmap_unmapdevFunction · 0.85
kcov_freeFunction · 0.85
vm_thread_stack_disposeFunction · 0.85
pcpu_page_freeFunction · 0.85

Calls 1

vmem_freeFunction · 0.85

Tested by

no test coverage detected