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

Function vm_map_remove

freebsd/vm/vm_map.c:4024–4034  ·  view source on GitHub ↗

* vm_map_remove: * * Remove the given address range from the target map. * This is the exported form of vm_map_delete. */

Source from the content-addressed store, hash-verified

4022 * This is the exported form of vm_map_delete.
4023 */
4024int
4025vm_map_remove(vm_map_t map, vm_offset_t start, vm_offset_t end)
4026{
4027 int result;
4028
4029 vm_map_lock(map);
4030 VM_MAP_RANGE_CHECK(map, start, end);
4031 result = vm_map_delete(map, start, end);
4032 vm_map_unlock(map);
4033 return (result);
4034}
4035
4036/*
4037 * vm_map_check_protection:

Callers 13

vmm_mmio_freeFunction · 0.85
vm_mmap_memsegFunction · 0.85
vm_free_memmapFunction · 0.85
shm_delete_mappingFunction · 0.85
link_elf_unload_fileFunction · 0.85
pipe_free_kmemFunction · 0.85
exec_new_vmspaceFunction · 0.85
shm_mapFunction · 0.85
shm_unmapFunction · 0.85
copyout_unmapFunction · 0.85
link_elf_unload_fileFunction · 0.85
kmapent_freeFunction · 0.85

Calls 1

vm_map_deleteFunction · 0.85

Tested by

no test coverage detected