vm_map_find.9 (178928) | vm_map_find.9 (233648) |
---|---|
1.\" 2.\" Copyright (c) 2003 Bruce M Simpson <bms@spc.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" 2.\" Copyright (c) 2003 Bruce M Simpson <bms@spc.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man9/vm_map_find.9 178928 2008-05-10 18:55:35Z alc $ | 26.\" $FreeBSD: head/share/man/man9/vm_map_find.9 233648 2012-03-29 05:02:12Z eadler $ |
27.\" 28.Dd May 10, 2008 29.Dt VM_MAP_FIND 9 30.Os 31.Sh NAME 32.Nm vm_map_find 33.Nd find a free region within a map, and optionally map a vm_object 34.Sh SYNOPSIS --- 31 unchanged lines hidden (view full) --- 66is 67.Pf non- Dv NULL , 68the reference count on the object must be incremented 69by the caller before calling this function to account for the new entry. 70.Pp 71If 72.Fa find_space 73is either | 27.\" 28.Dd May 10, 2008 29.Dt VM_MAP_FIND 9 30.Os 31.Sh NAME 32.Nm vm_map_find 33.Nd find a free region within a map, and optionally map a vm_object 34.Sh SYNOPSIS --- 31 unchanged lines hidden (view full) --- 66is 67.Pf non- Dv NULL , 68the reference count on the object must be incremented 69by the caller before calling this function to account for the new entry. 70.Pp 71If 72.Fa find_space 73is either |
74.Dv VMFS_ALIGNED_SPACE | 74.Dv VMFS_ALIGNED_SPACE |
75or 76.Dv VMFS_ANY_SPACE , 77the function will call 78.Xr vm_map_findspace 9 79to discover a free region. 80Moreover, if 81.Fa find_space 82is --- 45 unchanged lines hidden --- | 75or 76.Dv VMFS_ANY_SPACE , 77the function will call 78.Xr vm_map_findspace 9 79to discover a free region. 80Moreover, if 81.Fa find_space 82is --- 45 unchanged lines hidden --- |