vm_map_delete9
Deallocate an address range from a map
Usage
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_map.h>
int
vm_map_delete(vm_map_t map, vm_offset_t start, vm_offset_t end);
Overview
The vm_map_delete() function deallocates the address range bounded by start and end from the map.
Implementation notes
This function is for FreeBSD VM internal use only. The vm_map_remove(9) function should be called by FreeBSD VM consumers instead.
Return values
The vm_map_delete() function always returns KERN_SUCCESS.