diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2023-07-03 06:45:45 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2023-07-03 06:45:45 +0000 |
commit | a46686b4fde30a9b3d062bf9591edbbeac94172e (patch) | |
tree | f8c2b7bcfc6c17cf9dd3e9fbd31a8a56aaec62c4 /share/man/man9 | |
parent | af704f6436b692e431e2625ac256c6bec2949c5c (diff) |
Bring malloc(9) and <sys/malloc.h> into sync for M_* entries, such
that the former's text comes from the latter's comments. Rationalize
capitalization, whitespace, and plural-vs-singular. Mark things for
for automation in the future.
Prompted by loss of sync from the addition of M_IFGROUP and M_PF
Previously worked up in discussion with schwarze@ and jmc@
ok deraadt@, miod@, jmc@
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/malloc.9 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index 727ee1300b6..8d9f8a71c13 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: malloc.9,v 1.69 2023/03/17 19:44:15 millert Exp $ +.\" $OpenBSD: malloc.9,v 1.70 2023/07/03 06:45:44 guenther Exp $ .\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 17 2023 $ +.Dd $Mdocdate: July 3 2023 $ .Dt MALLOC 9 .Os .Sh NAME @@ -148,20 +148,23 @@ are enabled. The following types are currently defined: .Pp .Bl -tag -offset indent -width XXXXXXXXXXXXXX -compact -.It Dv M_FREE -Should be on free list. +.\" START DEFINES sys/malloc.h (M_FREE,M_LAST) .It Dv M_DEVBUF Device driver memory. .It Dv M_PCB Protocol control blocks. .It Dv M_RTABLE Routing tables. +.It Dv M_PF +Packet filter structures. .It Dv M_IFADDR Interface addresses. +.It Dv M_IFGROUP +Interface groups. .It Dv M_SYSCTL Sysctl persistent buffers. .It Dv M_COUNTERS -Per-CPU Counters for use via +Per-CPU counters via .Xr counters_alloc 9 . .It Dv M_IOCTLOPS Ioctl data buffers. @@ -275,7 +278,7 @@ related credentials. .It Dv M_IP6OPT IPv6 options. .It Dv M_IP6NDP -IPv6 neighbour discovery structures. +IPv6 Neighbor Discovery structures. .It Dv M_TEMP Miscellaneous temporary data buffers. .It Dv M_NTFSMNT @@ -306,11 +309,12 @@ UDF mount structures. .It Dv M_UDFFENTRY UDF file entries. .It Dv M_UDFFID -UDF file ID. +UDF file IDs. .It Dv M_AGP AGP memory. .It Dv M_DRM Direct Rendering Manager. +.\" END DEFINES .El .Sh CONTEXT .Fn malloc |