diff options
-rw-r--r-- | share/man/man9/Makefile | 4 | ||||
-rw-r--r-- | share/man/man9/buffercache.9 | 17 |
2 files changed, 4 insertions, 17 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index b6c620e368c..44f0fd4893b 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.224 2014/12/10 15:29:52 mikeb Exp $ +# $OpenBSD: Makefile,v 1.225 2014/12/11 14:29:42 jmc Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -70,7 +70,7 @@ MLINKS+=buffercache.9 bread.9 buffercache.9 breadn.9 \ buffercache.9 bwrite.9 buffercache.9 bawrite.9 \ buffercache.9 bdwrite.9 buffercache.9 getblk.9 \ buffercache.9 geteblk.9 buffercache.9 incore.9 \ - buffercache.9 allocbuf.9 buffercache.9 brelse.9 \ + buffercache.9 brelse.9 \ buffercache.9 biodone.9 buffercache.9 biowait.9 MLINKS+=bufq_init.9 bufq_switch.9 bufq_init.9 bufq_destroy.9 \ bufq_init.9 bufq_queue.9 bufq_init.9 bufq_dequeue.9 \ diff --git a/share/man/man9/buffercache.9 b/share/man/man9/buffercache.9 index 471f8cb46ff..7eaed7bc095 100644 --- a/share/man/man9/buffercache.9 +++ b/share/man/man9/buffercache.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: buffercache.9,v 1.9 2013/06/11 16:42:05 deraadt Exp $ +.\" $OpenBSD: buffercache.9,v 1.10 2014/12/11 14:29:42 jmc Exp $ .\" $NetBSD: buffercache.9,v 1.13 2004/06/25 15:31:37 wiz Exp $ .\" .\" Copyright (c)2003 YAMAMOTO Takashi, @@ -102,7 +102,7 @@ .\" .\" .\" ------------------------------------------------------------ -.Dd $Mdocdate: June 11 2013 $ +.Dd $Mdocdate: December 11 2014 $ .Dt BUFFERCACHE 9 .Os .Sh NAME @@ -115,7 +115,6 @@ .Nm getblk , .Nm geteblk , .Nm incore , -.Nm allocbuf , .Nm brelse , .Nm biodone , .Nm biowait @@ -144,8 +143,6 @@ .Ft struct buf * .Fn incore "struct vnode *vp" "daddr_t blkno" .Ft void -.Fn allocbuf "struct buf *bp" "int size" -.Ft void .Fn brelse "struct buf *bp" .Ft void .Fn biodone "struct buf *bp" @@ -297,16 +294,6 @@ Note that doesn't mark the buffer as busy unlike .Fn getblk . .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -.It Fn allocbuf "bp" "size" -Expand or contract the actual memory allocated to a buffer. -If the buffer shrinks, the truncated part of the data -is lost, so it is up to the caller to have written -it out -.Em first -if needed; this routine will not start a write. -If the buffer grows, it is the caller's responsibility to fill out -the buffer's additional contents. -.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .It Fn brelse "bp" Unlock a buffer by clearing the .Dv B_AGE , |