vm_map_remove(9freebsd)

vm_map_remove9freebsd

Remove a virtual address range from a map

Usage

#include <sys/param.h>

#include <vm/vm.h>

#include <vm/vm_map.h>

int

vm_map_remove(vm_map_t map, vm_offset_t start, vm_offset_t end);

Overview

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.

Return values

The vm_map_remove() always returns KERN_SUCCESS.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

This manual page was written by Bruce M Simpson ⟨[email protected]⟩.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.