| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: vfsops.9,v 1.49 2019/01/01 10:06:54 hannken Exp $ | | 1 | .\" $NetBSD: vfsops.9,v 1.50 2020/07/04 21:07:29 christos Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2001 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2001 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 |
| @@ -17,27 +17,27 @@ | | | @@ -17,27 +17,27 @@ |
17 | .\" | | 17 | .\" |
18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | .\" POSSIBILITY OF SUCH DAMAGE. | | 28 | .\" POSSIBILITY OF SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .Dd January 1, 2019 | | 30 | .Dd July 4, 2020 |
31 | .Dt VFSOPS 9 | | 31 | .Dt VFSOPS 9 |
32 | .Os | | 32 | .Os |
33 | .Sh NAME | | 33 | .Sh NAME |
34 | .Nm vfsops , | | 34 | .Nm vfsops , |
35 | .Nm VFS_MOUNT , | | 35 | .Nm VFS_MOUNT , |
36 | .Nm VFS_START , | | 36 | .Nm VFS_START , |
37 | .Nm VFS_UNMOUNT , | | 37 | .Nm VFS_UNMOUNT , |
38 | .Nm VFS_ROOT , | | 38 | .Nm VFS_ROOT , |
39 | .Nm VFS_QUOTACTL , | | 39 | .Nm VFS_QUOTACTL , |
40 | .Nm VFS_STATVFS , | | 40 | .Nm VFS_STATVFS , |
41 | .Nm VFS_SYNC , | | 41 | .Nm VFS_SYNC , |
42 | .Nm VFS_VGET , | | 42 | .Nm VFS_VGET , |
43 | .Nm VFS_LOADVNODE , | | 43 | .Nm VFS_LOADVNODE , |
| @@ -350,27 +350,27 @@ If the file system does not support this | | | @@ -350,27 +350,27 @@ If the file system does not support this |
350 | Initialise the vnode | | 350 | Initialise the vnode |
351 | .Fa vp | | 351 | .Fa vp |
352 | with the file identified by the arguments | | 352 | with the file identified by the arguments |
353 | .Fa key | | 353 | .Fa key |
354 | and | | 354 | and |
355 | .Fa key_len | | 355 | .Fa key_len |
356 | for the file system specified by the mount structure | | 356 | for the file system specified by the mount structure |
357 | .Fa mp . | | 357 | .Fa mp . |
358 | .Pp | | 358 | .Pp |
359 | The new key is returned in the address specified by | | 359 | The new key is returned in the address specified by |
360 | .Fa new_key . | | 360 | .Fa new_key . |
361 | .Pp | | 361 | .Pp |
362 | Caller of this function assures no other thread will try to load this file. | | 362 | Caller of this function assures no other thread will try to load this file. |
363 | .It Fn VFS_NEWVNODE "mp" "dvp" "vp" "vap" "cred" "key_len" "new_key" | | 363 | .It Fn VFS_NEWVNODE "mp" "dvp" "vp" "vap" "cred" "extra" "key_len" "new_key" |
364 | Initialise the vnode | | 364 | Initialise the vnode |
365 | .Fa vp | | 365 | .Fa vp |
366 | with a new file for the file system specified by the mount structure | | 366 | with a new file for the file system specified by the mount structure |
367 | .Fa mp . | | 367 | .Fa mp . |
368 | .Pp | | 368 | .Pp |
369 | The argument | | 369 | The argument |
370 | .Fa dvp | | 370 | .Fa dvp |
371 | points to the directory to create the file in. | | 371 | points to the directory to create the file in. |
372 | .Pp | | 372 | .Pp |
373 | The argument | | 373 | The argument |
374 | .Fa vap | | 374 | .Fa vap |
375 | points to the attributes for the file to create. | | 375 | points to the attributes for the file to create. |
376 | .Pp | | 376 | .Pp |