Sat Feb 22 11:08:05 2014 UTC ()
Mark up NULL with Dv.


(wiz)
diff -r1.21 -r1.22 src/share/man/man9/vfssubr.9

cvs diff -r1.21 -r1.22 src/share/man/man9/vfssubr.9 (expand / switch to unified diff)

--- src/share/man/man9/vfssubr.9 2014/02/22 10:05:54 1.21
+++ src/share/man/man9/vfssubr.9 2014/02/22 11:08:05 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: vfssubr.9,v 1.21 2014/02/22 10:05:54 hannken Exp $ 1.\" $NetBSD: vfssubr.9,v 1.22 2014/02/22 11:08:05 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 2003, 2005, 2006 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2003, 2005, 2006 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Gregory McGarry. 7.\" by Gregory McGarry.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -128,46 +128,50 @@ by the vnode @@ -128,46 +128,50 @@ by the vnode
128.Fa vp . 128.Fa vp .
129.It Fn vfs_mountroot "void" 129.It Fn vfs_mountroot "void"
130Mount the root file system. 130Mount the root file system.
131.It Fn vfs_unmountall "l" 131.It Fn vfs_unmountall "l"
132Unmount all file systems. 132Unmount all file systems.
133.It Fn vfs_busy "mp" "nextp" 133.It Fn vfs_busy "mp" "nextp"
134Mark the mount point specified by 134Mark the mount point specified by
135.Fa mp 135.Fa mp
136as busy and get a reference to it. 136as busy and get a reference to it.
137This function is used to synchronize access and to delay unmounting. 137This function is used to synchronize access and to delay unmounting.
138The caller must hold a pre-existing reference to the mount. 138The caller must hold a pre-existing reference to the mount.
139If 139If
140.Fa nextp 140.Fa nextp
141is not NULL, the caller must hold the 141is not
 142.Dv NULL ,
 143the caller must hold the
142.Em mountlist_lock 144.Em mountlist_lock
143and 145and
144.Fa nextp 146.Fa nextp
145will receive the next mount from mount list on error. 147will receive the next mount from mount list on error.
146The 148The
147.Em mountlist_lock 149.Em mountlist_lock
148is released on return. 150is released on return.
149.It Fn vfs_unbusy "mp" "keepref" "nextp" 151.It Fn vfs_unbusy "mp" "keepref" "nextp"
150Undo a 152Undo a
151.Fn vfs_busy 153.Fn vfs_busy
152on the mount point specified by 154on the mount point specified by
153.Fa mp . 155.Fa mp .
154If 156If
155.Fa keepref 157.Fa keepref
156is true, preserve the reference added by 158is true, preserve the reference added by
157.Fn vfs_busy . 159.Fn vfs_busy .
158If 160If
159.Fa nextp 161.Fa nextp
160is not NULL, the 162is not
 163.Dv NULL ,
 164the
161.Em mountlist_lock 165.Em mountlist_lock
162will be aquired and 166will be aquired and
163.Fa nextp 167.Fa nextp
164will receive the next mount from mount list. 168will receive the next mount from mount list.
165.It Fn vfs_mountalloc "vfsops" "vp" 169.It Fn vfs_mountalloc "vfsops" "vp"
166Allocate and initialise a mount structure, setting 170Allocate and initialise a mount structure, setting
167.Em mnt_vnodecovered 171.Em mnt_vnodecovered
168to 172to
169.Fa vp 173.Fa vp
170and 174and
171.Em mnt_op 175.Em mnt_op
172to 176to
173.Fa vfsops . 177.Fa vfsops .