vm_map_remove — remove a virtual address range from a map
Contents
Description
The vm_map_remove() function removes the given address range bounded by start and end from the target
map.
Implementation Notes
This is the exported form of vm_map_delete(9) which may be called by consumers of the VM subsystem.
The function calls vm_map_lock(9) to hold a lock on map for the duration of the function call.
Name
vm_map_remove — remove a virtual address range from a map
Return Values
The vm_map_remove() always returns KERN_SUCCESS.
See Also
vm_map(9), vm_map_delete(9)
Synopsis
#include<sys/param.h>#include<vm/vm.h>#include<vm/vm_map.h>intvm_map_remove(vm_map_tmap, vm_offset_tstart, vm_offset_tend);
