BUF_LOCK.9 (79784) | BUF_LOCK.9 (88509) |
---|---|
1.\" 2.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. 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(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" | 1.\" 2.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. 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(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" |
27.\" $FreeBSD: head/share/man/man9/BUF_LOCK.9 79784 2001-07-16 07:37:22Z ru $ | 27.\" $FreeBSD: head/share/man/man9/BUF_LOCK.9 88509 2001-12-26 23:14:04Z davidc $ |
28.\" 29.Dd July 9, 2001 30.Dt BUF_LOCK 9 31.Os 32.Sh NAME 33.Nm BUF_LOCK 34.Nd "locks a buffer" 35.Sh SYNOPSIS 36.In sys/param.h | 28.\" 29.Dd July 9, 2001 30.Dt BUF_LOCK 9 31.Os 32.Sh NAME 33.Nm BUF_LOCK 34.Nd "locks a buffer" 35.Sh SYNOPSIS 36.In sys/param.h |
37.In sys/systm.h 38.In sys/uio.h 39.In sys/bio.h |
|
37.In sys/buf.h 38.Ft int 39.Fn BUF_LOCK "struct buf *bp" "int locktype" 40.Sh DESCRIPTION 41The 42.Fn BUF_LOCK 43function locks the given buffer. 44If the lock is already held this --- 28 unchanged lines hidden --- | 40.In sys/buf.h 41.Ft int 42.Fn BUF_LOCK "struct buf *bp" "int locktype" 43.Sh DESCRIPTION 44The 45.Fn BUF_LOCK 46function locks the given buffer. 47If the lock is already held this --- 28 unchanged lines hidden --- |