BUF_LOCKFREE.9 (79503) | BUF_LOCKFREE.9 (79574) |
---|---|
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_LOCKFREE.9 79503 2001-07-10 04:22:14Z alfred $ | 27.\" $FreeBSD: head/share/man/man9/BUF_LOCKFREE.9 79574 2001-07-11 03:51:44Z alfred $ |
28.\" 29.Dd July 9, 2001 30.Dt BUF_LOCKFREE 9 31.Os 32.Sh NAME 33.Nm BUF_LOCKFREE 34.Nd "Destroys the buffers lock" 35.Sh SYNOPSIS | 28.\" 29.Dd July 9, 2001 30.Dt BUF_LOCKFREE 9 31.Os 32.Sh NAME 33.Nm BUF_LOCKFREE 34.Nd "Destroys the buffers lock" 35.Sh SYNOPSIS |
36.Fd #include <sys/param.h> |
|
36.Fd #include <sys/buf.h> 37.Ft void | 37.Fd #include <sys/buf.h> 38.Ft void |
38.Fo BUF_LOCKFREE 39.Fa "struct buf *bp" 40.Fc | 39.Fn BUF_LOCKFREE "struct buf *bp" |
41.Sh DESCRIPTION 42The 43.Nm 44macro destroys the buffer lock. The lock must not be held when 45this macro is called or a panic will result. 46.Pp 47Its argument is: 48.Bl -tag 49.It Ar bp 50The buffer whose lock is to be destroyed. 51.Sh SEE ALSO 52.Xr buf 9 53.Xr lockdestroy 9 54.Xr BUF_LOCK 9 55.Xr BUF_TIMELOCK 9 56.Xr BUF_UNLOCK 9 57.Sh AUTHORS 58This man page was written by Chad David. | 40.Sh DESCRIPTION 41The 42.Nm 43macro destroys the buffer lock. The lock must not be held when 44this macro is called or a panic will result. 45.Pp 46Its argument is: 47.Bl -tag 48.It Ar bp 49The buffer whose lock is to be destroyed. 50.Sh SEE ALSO 51.Xr buf 9 52.Xr lockdestroy 9 53.Xr BUF_LOCK 9 54.Xr BUF_TIMELOCK 9 55.Xr BUF_UNLOCK 9 56.Sh AUTHORS 57This man page was written by Chad David. |