xref: /freebsd/share/man/man9/vm_map_remove.9 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
17d216f0fSBruce M Simpson.\"
27d216f0fSBruce M Simpson.\" Copyright (c) 2003 Bruce M Simpson <bms@spc.org>
37d216f0fSBruce M Simpson.\" All rights reserved.
47d216f0fSBruce M Simpson.\"
57d216f0fSBruce M Simpson.\" Redistribution and use in source and binary forms, with or without
67d216f0fSBruce M Simpson.\" modification, are permitted provided that the following conditions
77d216f0fSBruce M Simpson.\" are met:
87d216f0fSBruce M Simpson.\" 1. Redistributions of source code must retain the above copyright
97d216f0fSBruce M Simpson.\"    notice, this list of conditions and the following disclaimer.
107d216f0fSBruce M Simpson.\" 2. Redistributions in binary form must reproduce the above copyright
117d216f0fSBruce M Simpson.\"    notice, this list of conditions and the following disclaimer in the
127d216f0fSBruce M Simpson.\"    documentation and/or other materials provided with the distribution.
137d216f0fSBruce M Simpson.\"
147d216f0fSBruce M Simpson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
157d216f0fSBruce M Simpson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
167d216f0fSBruce M Simpson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
177d216f0fSBruce M Simpson.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
187d216f0fSBruce M Simpson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
197d216f0fSBruce M Simpson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
207d216f0fSBruce M Simpson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
217d216f0fSBruce M Simpson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
227d216f0fSBruce M Simpson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
237d216f0fSBruce M Simpson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
247d216f0fSBruce M Simpson.\" SUCH DAMAGE.
257d216f0fSBruce M Simpson.\"
267d216f0fSBruce M Simpson.Dd July 19, 2003
27a970c85cSRuslan Ermilov.Dt VM_MAP_REMOVE 9
28b4ca3754SRuslan Ermilov.Os
297d216f0fSBruce M Simpson.Sh NAME
307d216f0fSBruce M Simpson.Nm vm_map_remove
317d216f0fSBruce M Simpson.Nd remove a virtual address range from a map
327d216f0fSBruce M Simpson.Sh SYNOPSIS
337d216f0fSBruce M Simpson.In sys/param.h
347d216f0fSBruce M Simpson.In vm/vm.h
357d216f0fSBruce M Simpson.In vm/vm_map.h
367d216f0fSBruce M Simpson.Ft int
377d216f0fSBruce M Simpson.Fn vm_map_remove "vm_map_t map" "vm_offset_t start" "vm_offset_t end"
387d216f0fSBruce M Simpson.Sh DESCRIPTION
397d216f0fSBruce M SimpsonThe
407d216f0fSBruce M Simpson.Fn vm_map_remove
417d216f0fSBruce M Simpsonfunction removes the given address range bounded by
427d216f0fSBruce M Simpson.Fa start
437d216f0fSBruce M Simpsonand
447d216f0fSBruce M Simpson.Fa end
457d216f0fSBruce M Simpsonfrom the target
467d216f0fSBruce M Simpson.Fa map .
477d216f0fSBruce M Simpson.Sh IMPLEMENTATION NOTES
487d216f0fSBruce M SimpsonThis is the exported form of
49b188a3ebSHiten Pandya.Xr vm_map_delete 9
507d216f0fSBruce M Simpsonwhich may be called by consumers of the VM subsystem.
517d216f0fSBruce M Simpson.Pp
527d216f0fSBruce M SimpsonThe function calls
537d216f0fSBruce M Simpson.Xr vm_map_lock 9
547d216f0fSBruce M Simpsonto hold a lock on
557d216f0fSBruce M Simpson.Fa map
567d216f0fSBruce M Simpsonfor the duration of the function call.
577d216f0fSBruce M Simpson.Sh RETURN VALUES
587d216f0fSBruce M SimpsonThe
597d216f0fSBruce M Simpson.Fn vm_map_remove
607d216f0fSBruce M Simpsonalways returns
617d216f0fSBruce M Simpson.Dv KERN_SUCCESS .
627d216f0fSBruce M Simpson.Sh SEE ALSO
637d216f0fSBruce M Simpson.Xr vm_map 9 ,
647d216f0fSBruce M Simpson.Xr vm_map_delete 9
657d216f0fSBruce M Simpson.Sh AUTHORS
66571dba6eSHiten PandyaThis manual page was written by
67*8a7314fcSBaptiste Daroussin.An Bruce M Simpson Aq Mt bms@spc.org .
68