Deleted Added
full compact
mpool.3 (108037) mpool.3 (108087)
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)mpool.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)mpool.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/db/man/mpool.3 108037 2002-12-18 12:45:11Z ru $
33.\" $FreeBSD: head/lib/libc/db/man/mpool.3 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd June 4, 1993
36.Dt MPOOL 3
37.Os
38.Sh NAME
39.Nm mpool
40.Nd "shared memory buffer pool"
41.Sh SYNOPSIS

--- 99 unchanged lines hidden (view full) ---

141If the page exists, a pointer to the page is returned.
142Otherwise,
143.Dv NULL
144is returned and
145.Va errno
146is set.
147The
148.Fa flags
34.\"
35.Dd June 4, 1993
36.Dt MPOOL 3
37.Os
38.Sh NAME
39.Nm mpool
40.Nd "shared memory buffer pool"
41.Sh SYNOPSIS

--- 99 unchanged lines hidden (view full) ---

141If the page exists, a pointer to the page is returned.
142Otherwise,
143.Dv NULL
144is returned and
145.Va errno
146is set.
147The
148.Fa flags
149parameter is not currently used.
149argument is not currently used.
150.Pp
151The function
152.Fn mpool_put
153unpins the page referenced by
154.Fa pgaddr .
150.Pp
151The function
152.Fn mpool_put
153unpins the page referenced by
154.Fa pgaddr .
155.Fa Pgaddr
155The
156.Fa pgaddr
157argument
156must be an address previously returned by
157.Fn mpool_get
158or
159.Fn mpool_new .
160The
161.Fa flags
158must be an address previously returned by
159.Fn mpool_get
160or
161.Fn mpool_new .
162The
163.Fa flags
162value is specified by
164argument is specified by
163.Em or Ns 'ing
164any of the following values:
165.Bl -tag -width indent
166.It Dv MPOOL_DIRTY
167The page has been modified and needs to be written to the backing file.
168.El
169.Pp
170The

--- 74 unchanged lines hidden ---
165.Em or Ns 'ing
166any of the following values:
167.Bl -tag -width indent
168.It Dv MPOOL_DIRTY
169The page has been modified and needs to be written to the backing file.
170.El
171.Pp
172The

--- 74 unchanged lines hidden ---