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.\" $FreeBSD$ 277d216f0fSBruce M Simpson.\" 287d216f0fSBruce M Simpson.Dd July 19, 2003 29a970c85cSRuslan Ermilov.Dt VM_MAP_REMOVE 9 30b4ca3754SRuslan Ermilov.Os 317d216f0fSBruce M Simpson.Sh NAME 327d216f0fSBruce M Simpson.Nm vm_map_remove 337d216f0fSBruce M Simpson.Nd remove a virtual address range from a map 347d216f0fSBruce M Simpson.Sh SYNOPSIS 357d216f0fSBruce M Simpson.In sys/param.h 367d216f0fSBruce M Simpson.In vm/vm.h 377d216f0fSBruce M Simpson.In vm/vm_map.h 387d216f0fSBruce M Simpson.Ft int 397d216f0fSBruce M Simpson.Fn vm_map_remove "vm_map_t map" "vm_offset_t start" "vm_offset_t end" 407d216f0fSBruce M Simpson.Sh DESCRIPTION 417d216f0fSBruce M SimpsonThe 427d216f0fSBruce M Simpson.Fn vm_map_remove 437d216f0fSBruce M Simpsonfunction removes the given address range bounded by 447d216f0fSBruce M Simpson.Fa start 457d216f0fSBruce M Simpsonand 467d216f0fSBruce M Simpson.Fa end 477d216f0fSBruce M Simpsonfrom the target 487d216f0fSBruce M Simpson.Fa map . 497d216f0fSBruce M Simpson.Sh IMPLEMENTATION NOTES 507d216f0fSBruce M SimpsonThis is the exported form of 51b188a3ebSHiten Pandya.Xr vm_map_delete 9 527d216f0fSBruce M Simpsonwhich may be called by consumers of the VM subsystem. 537d216f0fSBruce M Simpson.Pp 547d216f0fSBruce M SimpsonThe function calls 557d216f0fSBruce M Simpson.Xr vm_map_lock 9 567d216f0fSBruce M Simpsonto hold a lock on 577d216f0fSBruce M Simpson.Fa map 587d216f0fSBruce M Simpsonfor the duration of the function call. 597d216f0fSBruce M Simpson.Sh RETURN VALUES 607d216f0fSBruce M SimpsonThe 617d216f0fSBruce M Simpson.Fn vm_map_remove 627d216f0fSBruce M Simpsonalways returns 637d216f0fSBruce M Simpson.Dv KERN_SUCCESS . 647d216f0fSBruce M Simpson.Sh SEE ALSO 657d216f0fSBruce M Simpson.Xr vm_map 9 , 667d216f0fSBruce M Simpson.Xr vm_map_delete 9 677d216f0fSBruce M Simpson.Sh AUTHORS 68571dba6eSHiten PandyaThis manual page was written by 69*8a7314fcSBaptiste Daroussin.An Bruce M Simpson Aq Mt bms@spc.org . 70