d100276457
Submitted by: Akira Ikeuchi <a_ikeuchi@mic.mitsumi.co.jp> Reviewed by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
95 lines
3.4 KiB
Groff
95 lines
3.4 KiB
Groff
.\" %NetBSD: vslock.9,v 1.1 1996/06/15 20:47:29 pk Exp %
|
||
.\"
|
||
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||
.\" All rights reserved.
|
||
.\"
|
||
.\" This code is derived from software contributed to The NetBSD Foundation
|
||
.\" by Paul Kranenburg.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the NetBSD
|
||
.\" Foundation, Inc. and its contributors.
|
||
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
||
.\" contributors may be used to endorse or promote products derived
|
||
.\" from this software without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
||
.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||
.\"
|
||
.\" %FreeBSD: src/share/man/man9/vslock.9,v 1.15 2004/08/16 03:12:10 green Exp %
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.Dd August 10, 2004
|
||
.Dt VSLOCK 9
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm vslock ,
|
||
.Nm vsunlock
|
||
.Nd <EFBFBD>桼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤Υ<EFBFBD><EFBFBD>ɥ쥹<EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ؤΥ<EFBFBD><EFBFBD>å<EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD>
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.In sys/param.h
|
||
.In sys/proc.h
|
||
.In vm/vm.h
|
||
.In vm/vm_extern.h
|
||
.Ft int
|
||
.Fn vslock "void *addr" "size_t len"
|
||
.Ft void
|
||
.Fn vsunlock "void *addr" "size_t len"
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn vslock
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn vsunlock
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϸ<EFBFBD><EFBFBD>¹<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υץ<EFBFBD><EFBFBD><EF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