diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-10-22 05:26:07 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-10-22 05:26:07 +0000 |
commit | 0bb1384abeda58e2abe5a12bbf93dd68d6f345fa (patch) | |
tree | 740dc9ea7936e89cb4d0bd2082419a007a5c1b77 /share | |
parent | 3fa890e0e929b19c71fda4e10b8df05fbd564f95 (diff) |
rename ml_join to ml_enlist and expose it to the rest of the kernel.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/Makefile | 4 | ||||
-rw-r--r-- | share/man/man9/ml_init.9 | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 9d2af27ac34..7017fa23644 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.247 2015/10/21 08:48:12 mpi Exp $ +# $OpenBSD: Makefile,v 1.248 2015/10/22 05:26:06 dlg Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -267,7 +267,7 @@ MLINKS+=microtime.9 getmicrotime.9 microtime.9 microuptime.9 \ microtime.9 getnanouptime.9 microtime.9 bintime.9 \ microtime.9 binuptime.9 MLINKS+=ml_init.9 ml_enqueue.9 ml_init.9 ml_dequeue.9 ml_init.9 ml_requeue.9 \ - ml_init.9 ml_dechain.9 \ + ml_init.9 ml_enlist.9 ml_init.9 ml_dechain.9 \ ml_init.9 ml_filter.9 ml_init.9 ml_len.9 ml_init.9 ml_empty.9 \ ml_init.9 MBUF_LIST_INITIALIZER.9 ml_init.9 MBUF_LIST_FOREACH.9 MLINKS+=mountroothook_establish.9 mountroothook_disestablish.9 diff --git a/share/man/man9/ml_init.9 b/share/man/man9/ml_init.9 index 7f0a5b71d69..272df87b21f 100644 --- a/share/man/man9/ml_init.9 +++ b/share/man/man9/ml_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ml_init.9,v 1.6 2015/10/02 09:24:13 sobrado Exp $ +.\" $OpenBSD: ml_init.9,v 1.7 2015/10/22 05:26:06 dlg Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 2 2015 $ +.Dd $Mdocdate: October 22 2015 $ .Dt ML_INIT 9 .Os .Sh NAME @@ -22,6 +22,7 @@ .Nm ml_enqueue , .Nm ml_dequeue , .Nm ml_requeue , +.Nm ml_enlist , .Nm ml_dechain , .Nm ml_len , .Nm ml_empty , @@ -38,6 +39,8 @@ .Fn ml_dequeue "struct mbuf_list *ml" .Ft void .Fn ml_requeue "struct mbuf_list *ml" "struct mbuf *m" +.Ft void +.Fn ml_enlist "struct mbuf_list *ml" "struct mbuf_list *src" .Ft struct mbuf * .Fn ml_dechain "struct mbuf_list *ml" .Ft struct mbuf * @@ -92,6 +95,12 @@ Enqueue mbuf at the head of the .Fa ml mbuf list. +.It Fn ml_enlist "struct mbuf_list *ml" "struct mbuf_list *src" +Enqueue all the mbufs on the +.Fa src +mbuf list on to the end of the +.Fa ml +mbuf list. .It Fn ml_dechain "struct mbuf_list *ml" Dequeues all mbufs from the .Fa ml @@ -137,6 +146,7 @@ Note that it is unsafe to modify the list while iterating over it. .Fn ml_enqueue , .Fn ml_dequeue , .Fn ml_requeue , +.Fn ml_enlist , .Fn ml_dechain , .Fn ml_len , .Fn ml_empty , |