Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmem.9: align lists + tag spdx #1456

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions share/man/man9/vmem.9
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.\"-
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
.\" $NetBSD: vmem.9,v 1.15 2013/01/29 22:02:17 wiz Exp $
.\"
.\" Copyright (c)2006 YAMAMOTO Takashi,
Expand Down Expand Up @@ -74,7 +77,7 @@
.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.Fn vmem_create
creates a new vmem arena.
.Bl -tag -width qcache_max
.Bl -tag -offset indent -width "qcache_max"
.It Fa name
The string to describe the vmem.
.It Fa base
Expand Down Expand Up @@ -117,7 +120,7 @@
.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.Fn vmem_xalloc
allocates a resource from the arena.
.Bl -tag -width nocross
.Bl -tag -offset indent -width "qcache_max"
.It Fa vm
The arena which we allocate from.
.It Fa size
Expand Down Expand Up @@ -159,7 +162,7 @@
.Xr malloc 9
wait flag.
The allocation strategy is one of:
.Bl -tag -width indent
.Bl -tag -width "M_FIRSTFIT"
concussious marked this conversation as resolved.
Show resolved Hide resolved
.It Dv M_FIRSTFIT
Prefer allocation performance.
.It Dv M_BESTFIT
Expand All @@ -182,7 +185,7 @@
frees resource allocated by
.Fn vmem_xalloc
to the arena.
.Bl -tag -width addr
.Bl -tag -offset indent -width "qcache_max"
.It Fa vm
The arena which we free to.
.It Fa addr
Expand All @@ -203,7 +206,7 @@
.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.Fn vmem_alloc
allocates a resource from the arena.
.Bl -tag -width flags
.Bl -tag -offset indent -width "qcache_max"
.It Fa vm
The arena which we allocate from.
.It Fa size
Expand All @@ -228,7 +231,7 @@
frees resource allocated by
.Fn vmem_alloc
to the arena.
.Bl -tag -width addr
.Bl -tag -offset indent -width "qcache_max"
.It Fa vm
The arena which we free to.
.It Fa addr
Expand All @@ -249,10 +252,10 @@
.\" ------------------------------------------------------------
.Fn vmem_destroy
destroys a vmem arena.
.Bl -tag -width vm
.Bl -tag -offset indent -width "qcache_max"
.It Fa vm
The vmem arena being destroyed.
The caller should ensure that no one will use it anymore.

Check warning on line 258 in share/man/man9/vmem.9

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line
.El
.\" ------------------------------------------------------------
.Sh RETURN VALUES
Expand Down
Loading