aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-02-16 09:05:48 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-02-16 09:05:48 +0000
commit0b39b3ff10af96bd3e7df88e503cdd5c41dc2568 (patch)
tree1d6957724d796a85fb51b8404f2a3a5f0ae9d2fa
parent91e1be28dc5fb82ea96453186c70cb58d9650d50 (diff)
Notes
-rw-r--r--share/man/man9/mbuf.919
1 files changed, 11 insertions, 8 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index a62d6031ca22..a19dcef1de5c 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -323,7 +323,7 @@ This can be achieved during setup of the external storage,
by passing the
.Dv M_RDONLY
bit as a
-.Ar flags
+.Fa flags
argument to the
.Fn MEXTADD
macro, or can be directly set in individual mbufs.
@@ -337,21 +337,24 @@ A function version of
for non-critical paths.
.It Fn m_getm orig len how type
Allocate
-.Ar len
+.Fa len
bytes worth of mbufs and mbuf clusters if necessary and append the resulting
allocated chain to the
-.Ar orig
-mbuf chain, if it is non-NULL.
+.Fa orig
+mbuf chain, if it is
+.No non- Ns Dv NULL .
If the allocation fails at any point,
-free whatever was allocated and return NULL.
+free whatever was allocated and return
+.Dv NULL .
If
-.Ar orig
-is non-NULL,
+.Fa orig
+is
+.No non- Ns Dv NULL ,
it will not be freed.
It is possible to use
.Fn m_getm
to either append
-.Ar len
+.Fa len
bytes to an existing mbuf or mbuf chain
(for example, one which may be sitting in a pre-allocated ring)
or to simply perform an all-or-nothing mbuf and mbuf cluster allocation.