From: jsg Date: Tue, 4 Jul 2023 03:56:07 +0000 (+0000) Subject: m_reclaim() was removed in uipc_mbuf.c rev 1.195 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=49ad723553680905ec76927d9e55a5ae1299a617;p=openbsd m_reclaim() was removed in uipc_mbuf.c rev 1.195 --- diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index df549928469..724d7dd180d 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.124 2022/03/31 17:27:23 naddy Exp $ +.\" $OpenBSD: mbuf.9,v 1.125 2023/07/04 03:56:07 jsg Exp $ .\" .\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 31 2022 $ +.Dd $Mdocdate: July 4 2023 $ .Dt MGET 9 .Os .Sh NAME @@ -52,7 +52,6 @@ .Nm m_freem , .Nm m_freemp , .Nm m_purge , -.Nm m_reclaim , .Nm m_copydata , .Nm m_cat , .Nm m_devget , @@ -114,8 +113,6 @@ .Ft void .Fn m_purge "struct mbuf *m" .Ft void -.Fn m_reclaim "void" -.Ft void .Fn m_copydata "struct mbuf *m" "int off" "int len" "void *cp" .Ft void .Fn m_cat "struct mbuf *m" "struct mbuf *n" @@ -671,8 +668,6 @@ If is a .Dv NULL pointer, no action occurs. -.It Fn m_reclaim "void" -Ask protocols to free unused memory space. .It Fn m_copydata "struct mbuf *m" "int off" "int len" "void *cp" Copy data from the mbuf chain pointed to by .Fa m diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 2e479b715d9..54de1e41a69 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.h,v 1.257 2023/05/10 12:07:17 bluhm Exp $ */ +/* $OpenBSD: mbuf.h,v 1.258 2023/07/04 03:56:07 jsg Exp $ */ /* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */ /* @@ -437,7 +437,6 @@ void m_adj(struct mbuf *, int); int m_copyback(struct mbuf *, int, int, const void *, int); struct mbuf *m_freem(struct mbuf *); void m_purge(struct mbuf *); -void m_reclaim(void *, int); void m_copydata(struct mbuf *, int, int, void *); void m_cat(struct mbuf *, struct mbuf *); struct mbuf *m_devget(char *, int, int);