Index: VFS_CHECKEXP.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_CHECKEXP.9,v retrieving revision 1.9 diff -u -r1.9 VFS_CHECKEXP.9 --- VFS_CHECKEXP.9 12 Dec 2002 17:25:58 -0000 1.9 +++ VFS_CHECKEXP.9 27 May 2003 16:04:42 -0000 @@ -41,13 +41,13 @@ .Pp Its arguments are: .Bl -tag -width credanonp -.It Ar mp +.It Fa mp The mount point to be checked. -.It Ar nam +.It Fa nam An mbuf containing the network address of the client. -.It Ar exflagsp +.It Fa exflagsp Return parameter for the export flags for this client. -.It Ar credanonp +.It Fa credanonp Return parameter for the anonymous credentials for this client. .El .Pp @@ -62,7 +62,7 @@ The file system should call .Xr vfs_export_lookup 9 with the address of an appropriate -.Dv netexport +.Vt netexport structure and the address of the client, .Fa nam , to verify that the client can access this file system. Index: VFS_FHTOVP.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_FHTOVP.9,v retrieving revision 1.13 diff -u -r1.13 VFS_FHTOVP.9 --- VFS_FHTOVP.9 12 Dec 2002 17:25:58 -0000 1.13 +++ VFS_FHTOVP.9 27 May 2003 16:04:42 -0000 @@ -45,11 +45,11 @@ .Pp Its arguments are: .Bl -tag -width vpp -.It Ar mp +.It Fa mp The file system. -.It Ar fhp +.It Fa fhp The filehandle to convert. -.It Ar vpp +.It Fa vpp Return parameter for the new locked vnode. .El .Pp Index: VFS_MOUNT.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_MOUNT.9,v retrieving revision 1.10 diff -u -r1.10 VFS_MOUNT.9 --- VFS_MOUNT.9 12 Dec 2002 17:25:58 -0000 1.10 +++ VFS_MOUNT.9 27 May 2003 16:04:42 -0000 @@ -45,18 +45,18 @@ .Pp Its arguments are: .Bl -tag -width data -.It Ar mp +.It Fa mp Structure representing the file system. -.It Ar path +.It Fa path Pathname where the file system is being mounted. -.It Ar data +.It Fa data File system specific data. This should be read into the kernel using .Xr copyin 9 . -.It Ar ndp +.It Fa ndp Contains the result of a .Xr namei 9 call on the pathname of the mountpoint. -.It Ar td +.It Fa td Thread which is mounting the file system. .El .Pp Index: VFS_ROOT.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_ROOT.9,v retrieving revision 1.7 diff -u -r1.7 VFS_ROOT.9 --- VFS_ROOT.9 12 Dec 2002 17:25:58 -0000 1.7 +++ VFS_ROOT.9 27 May 2003 16:04:42 -0000 @@ -45,9 +45,9 @@ .Pp Its arguments are: .Bl -tag -width vpp -.It Ar mp +.It Fa mp The file system. -.It Ar vpp +.It Fa vpp Return parameter for the root vnode. .El .Sh SEE ALSO Index: VFS_START.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_START.9,v retrieving revision 1.8 diff -u -r1.8 VFS_START.9 --- VFS_START.9 12 Dec 2002 17:25:58 -0000 1.8 +++ VFS_START.9 27 May 2003 16:04:42 -0000 @@ -46,11 +46,11 @@ and before the first access to the file system. Its arguments are: .Bl -tag -width flags -.It Ar mp +.It Fa mp The file system. -.It Ar flags +.It Fa flags ?? -.It Ar td +.It Fa td Thread which is starting the file system. .El .Sh SEE ALSO Index: VFS_STATFS.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_STATFS.9,v retrieving revision 1.8 diff -u -r1.8 VFS_STATFS.9 --- VFS_STATFS.9 12 Dec 2002 17:25:58 -0000 1.8 +++ VFS_STATFS.9 27 May 2003 16:04:42 -0000 @@ -46,11 +46,11 @@ .Pp Its arguments are: .Bl -tag -width sbp -.It Ar mp +.It Fa mp The file system. -.It Ar sbp +.It Fa sbp Return parameter for the file system's status. -.It Ar td +.It Fa td The thread which is querying the file system. .El .Sh SEE ALSO Index: VFS_SYNC.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_SYNC.9,v retrieving revision 1.10 diff -u -r1.10 VFS_SYNC.9 --- VFS_SYNC.9 12 Dec 2002 17:25:58 -0000 1.10 +++ VFS_SYNC.9 27 May 2003 16:04:42 -0000 @@ -45,9 +45,9 @@ .Pp Its arguments are: .Bl -tag -width waitfor -.It Ar mp +.It Fa mp The file system. -.It Ar waitfor +.It Fa waitfor Whether the function should wait for I/O to complete. Possible values are: .Bl -tag -width MNT_NOWAIT @@ -58,9 +58,9 @@ .It Dv MNT_LAZY push data not written by file system syncer .El -.It Ar cred +.It Fa cred The caller's credentials. -.It Ar td +.It Fa td The calling thread. .El .Pp Index: VFS_UNMOUNT.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_UNMOUNT.9,v retrieving revision 1.8 diff -u -r1.8 VFS_UNMOUNT.9 --- VFS_UNMOUNT.9 12 Dec 2002 17:25:58 -0000 1.8 +++ VFS_UNMOUNT.9 27 May 2003 16:04:42 -0000 @@ -45,11 +45,11 @@ .Pp Its arguments are: .Bl -tag -width mntflags -.It Ar mp +.It Fa mp The file system. -.It Ar mntflags +.It Fa mntflags Various flags. -.It Ar td +.It Fa td Thread which is unmounting the file system. .El .Pp Index: VFS_VGET.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_VGET.9,v retrieving revision 1.10 diff -u -r1.10 VFS_VGET.9 --- VFS_VGET.9 12 Dec 2002 17:25:58 -0000 1.10 +++ VFS_VGET.9 27 May 2003 16:04:42 -0000 @@ -44,14 +44,14 @@ This converts an inode number into a locked vnode. .Pp Its arguments are: -.Bl -tag -width ".Ar flags" -.It Ar mp +.Bl -tag -width flags +.It Fa mp The file system. -.It Ar ino +.It Fa ino The inode representing the file. -.It Ar flags +.It Fa flags Additional locking flags to pass through. -.It Ar vpp +.It Fa vpp Return parameter for the vnode. .El .Pp Index: VFS_VPTOFH.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VFS_VPTOFH.9,v retrieving revision 1.7 diff -u -r1.7 VFS_VPTOFH.9 --- VFS_VPTOFH.9 1 Oct 2001 16:09:24 -0000 1.7 +++ VFS_VPTOFH.9 27 May 2003 16:04:42 -0000 @@ -47,9 +47,9 @@ .Pp Its arguments are: .Bl -tag -width fhp -.It Ar vp +.It Fa vp The vnode to make a filehandle for. -.It Ar fhp +.It Fa fhp Return parameter for the filehandle. .El .Sh SEE ALSO Index: VOP_ACCESS.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_ACCESS.9,v retrieving revision 1.18 diff -u -r1.18 VOP_ACCESS.9 --- VOP_ACCESS.9 12 Dec 2002 17:25:58 -0000 1.18 +++ VOP_ACCESS.9 27 May 2003 16:04:48 -0000 @@ -46,13 +46,13 @@ .Pp Its arguments are: .Bl -tag -width mode -.It Ar vp +.It Fa vp the vnode of the file to check -.It Ar mode +.It Fa mode the type of access required -.It Ar cred +.It Fa cred the user credentials to check -.It Ar td +.It Fa td the thread which is checking .El .Pp Index: VOP_ACLCHECK.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_ACLCHECK.9,v retrieving revision 1.9 diff -u -r1.9 VOP_ACLCHECK.9 --- VOP_ACLCHECK.9 12 Dec 2002 17:25:58 -0000 1.9 +++ VOP_ACLCHECK.9 27 May 2003 16:04:48 -0000 @@ -43,15 +43,15 @@ .Pp Its arguments are: .Bl -tag -width type -.It Ar vp +.It Fa vp the vnode of the file or directory -.It Ar type +.It Fa type the type of ACL to check -.It Ar aclp +.It Fa aclp a pointer to an ACL structure from which to retrieve the ACL data -.It Ar cred +.It Fa cred the user credentials to use in authorizing the request -.It Ar td +.It Fa td the thread checking the ACL .El .Pp Index: VOP_ADVLOCK.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_ADVLOCK.9,v retrieving revision 1.10 diff -u -r1.10 VOP_ADVLOCK.9 --- VOP_ADVLOCK.9 12 Dec 2002 17:25:58 -0000 1.10 +++ VOP_ADVLOCK.9 27 May 2003 16:04:48 -0000 @@ -44,16 +44,16 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width flags -.It Ar vp +.It Fa vp the vnode being manipulated -.It Ar id +.It Fa id the id token which is changing the lock -.It Ar op +.It Fa op the operation to perform (see .Xr fcntl 2 ) -.It Ar fl +.It Fa fl description of the lock -.It Ar flags +.It Fa flags One of more of the following: .Bl -column F_UNLCK -offset indent .It Dv F_RDLCK Ta "shared or read lock" Index: VOP_BWRITE.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_BWRITE.9,v retrieving revision 1.9 diff -u -r1.9 VOP_BWRITE.9 --- VOP_BWRITE.9 12 Dec 2002 17:25:58 -0000 1.9 +++ VOP_BWRITE.9 27 May 2003 16:04:48 -0000 @@ -42,9 +42,9 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode of the file being written to -.It Ar bp +.It Fa bp the buffer to be written .El .Sh RETURN VALUES Index: VOP_CREATE.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_CREATE.9,v retrieving revision 1.12 diff -u -r1.12 VOP_CREATE.9 --- VOP_CREATE.9 12 Dec 2002 17:25:58 -0000 1.12 +++ VOP_CREATE.9 27 May 2003 16:04:48 -0000 @@ -55,15 +55,15 @@ .Pp The arguments are: .Bl -tag -width target -.It Ar dvp +.It Fa dvp the locked vnode of the directory -.It Ar vpp +.It Fa vpp the address of a variable where the resulting locked vnode should be stored -.It Ar cnp +.It Fa cnp the pathname component created -.It Ar vap +.It Fa vap the attributes that the new object should be created with -.It Ar target +.It Fa target the pathname of the target of the symlink .El .Pp Index: VOP_FSYNC.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_FSYNC.9,v retrieving revision 1.12 diff -u -r1.12 VOP_FSYNC.9 --- VOP_FSYNC.9 12 Dec 2002 17:25:58 -0000 1.12 +++ VOP_FSYNC.9 27 May 2003 16:04:48 -0000 @@ -49,11 +49,11 @@ .Pp Its arguments are: .Bl -tag -width waitfor -.It Ar vp +.It Fa vp the vnode of the file -.It Ar cred +.It Fa cred the caller's credentials -.It Ar waitfor +.It Fa waitfor whether the function should wait for I/O to complete. Possible values are: .Bl -tag -width MNT_NOWAIT @@ -64,7 +64,7 @@ .It Dv MNT_LAZY push data not written by file system syncer .El -.It Ar td +.It Fa td the calling thread .El .Pp Index: VOP_GETEXTATTR.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_GETEXTATTR.9,v retrieving revision 1.15 diff -u -r1.15 VOP_GETEXTATTR.9 --- VOP_GETEXTATTR.9 12 Dec 2002 17:25:58 -0000 1.15 +++ VOP_GETEXTATTR.9 27 May 2003 16:04:48 -0000 @@ -53,7 +53,7 @@ .Bl -tag -width ".Fa attrnamespace" .It Fa vp the vnode of the file or directory -.It Ar attrnamespace +.It Fa attrnamespace integer constant indicating which extended attribute namespace the attribute name is present in .It Fa name Index: VOP_GETPAGES.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_GETPAGES.9,v retrieving revision 1.6 diff -u -r1.6 VOP_GETPAGES.9 --- VOP_GETPAGES.9 1 Oct 2001 16:09:24 -0000 1.6 +++ VOP_GETPAGES.9 27 May 2003 16:04:48 -0000 @@ -46,19 +46,19 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width reqpage -.It Ar vp +.It Fa vp The file to access. -.It Ar m +.It Fa m A page ??? -.It Ar count +.It Fa count How many pages to access. -.It Ar sync +.It Fa sync Nonzero if the write should be synchronous. -.It Ar rtvals +.It Fa rtvals ??? -.It Ar reqpage +.It Fa reqpage ??? -.It Ar offset +.It Fa offset Offset in the file to start accessing. .El .Pp Index: VOP_INACTIVE.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_INACTIVE.9,v retrieving revision 1.11 diff -u -r1.11 VOP_INACTIVE.9 --- VOP_INACTIVE.9 24 Dec 2002 13:41:46 -0000 1.11 +++ VOP_INACTIVE.9 27 May 2003 16:04:48 -0000 @@ -45,7 +45,7 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode being reclaimed .El .Pp Index: VOP_IOCTL.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_IOCTL.9,v retrieving revision 1.11 diff -u -r1.11 VOP_IOCTL.9 --- VOP_IOCTL.9 12 Dec 2002 17:25:58 -0000 1.11 +++ VOP_IOCTL.9 27 May 2003 16:04:48 -0000 @@ -44,17 +44,17 @@ .Pp Its arguments are: .Bl -tag -width command -.It Ar vp +.It Fa vp the vnode of the file (normally representing a device) -.It Ar command +.It Fa command the device specific operation to perform -.It Ar cnp +.It Fa cnp extra data for the specified operation -.It Ar fflag +.It Fa fflag some flags ??? -.It Ar cred +.It Fa cred the caller's credentials -.It Ar td +.It Fa td the calling thread .El .Pp Index: VOP_LINK.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_LINK.9,v retrieving revision 1.19 diff -u -r1.19 VOP_LINK.9 --- VOP_LINK.9 24 Dec 2002 13:41:46 -0000 1.19 +++ VOP_LINK.9 27 May 2003 16:04:48 -0000 @@ -44,11 +44,11 @@ .Pp Its arguments are: .Bl -tag -width 8n -.It Ar dvp +.It Fa dvp the vnode of the directory -.It Ar vp +.It Fa vp the vnode of the file to be linked -.It Ar cnp +.It Fa cnp pathname information about the file .El .Pp Index: VOP_LOCK.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_LOCK.9,v retrieving revision 1.13 diff -u -r1.13 VOP_LOCK.9 --- VOP_LOCK.9 12 Dec 2002 17:25:58 -0000 1.13 +++ VOP_LOCK.9 27 May 2003 16:04:48 -0000 @@ -56,9 +56,9 @@ .Pp The arguments are: .Bl -tag -width flags -.It Ar vp +.It Fa vp the vnode being locked or unlocked -.It Ar flags +.It Fa flags One of the lock request types: .Bl -column LK_EXCLUPGRADE -offset indent .It Dv LK_SHARED Ta "Shared lock" @@ -90,7 +90,7 @@ .It Dv LK_RETRY Ta "Retry until locked" .It Dv LK_NOOBJ Ta "Don't create object" .El -.It Ar td +.It Fa td thread context to use for the locks .El .Pp Index: VOP_LOOKUP.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_LOOKUP.9,v retrieving revision 1.18 diff -u -r1.18 VOP_LOOKUP.9 --- VOP_LOOKUP.9 12 Dec 2002 17:25:58 -0000 1.18 +++ VOP_LOOKUP.9 27 May 2003 16:04:48 -0000 @@ -45,11 +45,11 @@ .Pp Its arguments are: .Bl -tag -width vpp -.It Ar dvp +.It Fa dvp the locked vnode of the directory to search -.It Ar vpp +.It Fa vpp the address of a variable where the resulting locked vnode should be stored -.It Ar cnp +.It Fa cnp the pathname component to be searched for .El .Pp Index: VOP_OPENCLOSE.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_OPENCLOSE.9,v retrieving revision 1.11 diff -u -r1.11 VOP_OPENCLOSE.9 --- VOP_OPENCLOSE.9 24 Dec 2002 13:41:46 -0000 1.11 +++ VOP_OPENCLOSE.9 27 May 2003 16:04:48 -0000 @@ -51,11 +51,11 @@ .Pp The arguments are: .Bl -tag -width mode -.It Ar vp +.It Fa vp the vnode of the file -.It Ar mode +.It Fa mode the access mode required by the calling process -.It Ar td +.It Fa td the thread which is accessing the file .El .Pp Index: VOP_PATHCONF.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_PATHCONF.9,v retrieving revision 1.9 diff -u -r1.9 VOP_PATHCONF.9 --- VOP_PATHCONF.9 1 Oct 2001 16:09:24 -0000 1.9 +++ VOP_PATHCONF.9 27 May 2003 16:04:48 -0000 @@ -43,11 +43,11 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width retval -.It Ar vp +.It Fa vp the vnode to get information about -.It Ar name +.It Fa name the type of information to return -.It Ar retval +.It Fa retval the place to return the information .El .Pp Index: VOP_PRINT.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_PRINT.9,v retrieving revision 1.7 diff -u -r1.7 VOP_PRINT.9 --- VOP_PRINT.9 1 Oct 2001 16:09:24 -0000 1.7 +++ VOP_PRINT.9 27 May 2003 16:04:48 -0000 @@ -42,7 +42,7 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode to print .El .Sh RETURN VALUES Index: VOP_RDWR.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_RDWR.9,v retrieving revision 1.13 diff -u -r1.13 VOP_RDWR.9 --- VOP_RDWR.9 12 Dec 2002 17:25:58 -0000 1.13 +++ VOP_RDWR.9 27 May 2003 16:04:48 -0000 @@ -48,13 +48,13 @@ .Pp The arguments are: .Bl -tag -width ioflag -.It Ar vp +.It Fa vp the vnode of the file -.It Ar uio +.It Fa uio the location of the data to be read or written -.It Ar ioflag +.It Fa ioflag various flags -.It Ar cnp +.It Fa cnp the credentials of the caller .El .Pp Index: VOP_READDIR.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_READDIR.9,v retrieving revision 1.10 diff -u -r1.10 VOP_READDIR.9 --- VOP_READDIR.9 11 Oct 2002 14:58:26 -0000 1.10 +++ VOP_READDIR.9 27 May 2003 16:04:48 -0000 @@ -43,21 +43,21 @@ .Sh DESCRIPTION Read directory entries. .Bl -tag -width ncookies -.It Ar vp +.It Fa vp the vnode of the directory -.It Ar uio +.It Fa uio where to read the directory contents -.It Ar cred +.It Fa cred the caller's credentials -.It Ar eofflag +.It Fa eofflag return end of file status (NULL if not wanted) -.It Ar ncookies +.It Fa ncookies number of directory cookies generated for NFS (NULL if not wanted) -.It Ar cookies +.It Fa cookies directory seek cookies generated for NFS (NULL if not wanted) .El The directory contents are read into -.Dv struct dirent +.Vt struct dirent structures. If the on-disc data structures differ from this then they should be translated. .Sh LOCKS Index: VOP_READLINK.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_READLINK.9,v retrieving revision 1.10 diff -u -r1.10 VOP_READLINK.9 --- VOP_READLINK.9 18 Sep 2002 09:34:00 -0000 1.10 +++ VOP_READLINK.9 27 May 2003 16:04:48 -0000 @@ -43,11 +43,11 @@ .Sh DESCRIPTION This reads the target pathname of a symbolic link .Bl -tag -width uio -.It Ar vp +.It Fa vp the vnode of the symlink -.It Ar uio +.It Fa uio the location of the data to be read or written -.It Ar cred +.It Fa cred the credentials of the caller .El .Sh LOCKS Index: VOP_REALLOCBLKS.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_REALLOCBLKS.9,v retrieving revision 1.8 diff -u -r1.8 VOP_REALLOCBLKS.9 --- VOP_REALLOCBLKS.9 1 Oct 2001 16:09:24 -0000 1.8 +++ VOP_REALLOCBLKS.9 27 May 2003 16:04:48 -0000 @@ -42,9 +42,9 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width buflist -.It Ar vp +.It Fa vp the file to manipulate -.It Ar buflist +.It Fa buflist a list of buffers to rearrange .El .Pp Index: VOP_REMOVE.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_REMOVE.9,v retrieving revision 1.11 diff -u -r1.11 VOP_REMOVE.9 --- VOP_REMOVE.9 18 Sep 2002 22:12:43 -0000 1.11 +++ VOP_REMOVE.9 27 May 2003 16:04:48 -0000 @@ -47,11 +47,11 @@ .Pp The arguments are: .Bl -tag -width dvp -.It Ar dvp +.It Fa dvp the vnode of the directory -.It Ar vp +.It Fa vp the vnode of the file to be removed -.It Ar cnp +.It Fa cnp pathname information about the file .El .Sh LOCKS Index: VOP_RENAME.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_RENAME.9,v retrieving revision 1.16 diff -u -r1.16 VOP_RENAME.9 --- VOP_RENAME.9 29 Nov 2002 11:39:20 -0000 1.16 +++ VOP_RENAME.9 27 May 2003 16:04:48 -0000 @@ -45,17 +45,17 @@ .Pp Its arguments are: .Bl -tag -width fdvp -.It Ar fdvp +.It Fa fdvp the vnode of the old parent directory -.It Ar fvp +.It Fa fvp the vnode of the file to be renamed -.It Ar fcnp +.It Fa fcnp pathname information about the file's current name -.It Ar tdvp +.It Fa tdvp the vnode of the new parent directory -.It Ar tvp +.It Fa tvp the vnode of the target file (if it exists) -.It Ar tcnp +.It Fa tcnp pathname information about the file's new name .El .Sh LOCKS Index: VOP_STRATEGY.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/VOP_STRATEGY.9,v retrieving revision 1.14 diff -u -r1.14 VOP_STRATEGY.9 --- VOP_STRATEGY.9 12 Dec 2002 17:25:58 -0000 1.14 +++ VOP_STRATEGY.9 27 May 2003 16:04:48 -0000 @@ -42,9 +42,9 @@ .Sh DESCRIPTION The arguments are: .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode that the buffer is for -.It Ar bp +.It Fa bp the buffer to be read or written .El .Pp Index: atomic.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/atomic.9,v retrieving revision 1.10 diff -u -r1.10 atomic.9 --- atomic.9 17 Jan 2002 15:57:43 -0000 1.10 +++ atomic.9 27 May 2003 15:52:15 -0000 @@ -67,7 +67,7 @@ advanced synchronization primitives such as mutexes. .Ss Types Each atomic operation operates on a specific -.Ar type . +.Fa type . The type to use is indicated in the function name. The available types that can be used are: .Pp @@ -125,7 +125,7 @@ To denote this, the suffix .Dq Li _acq is inserted into the function name immediately prior to the -.Dq Li _ Ns Aq Ar type +.Dq Li _ Ns Aq Fa type suffix. For example, to subtract two integers ensuring that any later writes will happen after the subtraction is performed, use @@ -139,7 +139,7 @@ To denote this, the suffix .Dq Li _rel is inserted into the function name immediately prior to the -.Dq Li _ Ns Aq Ar type +.Dq Li _ Ns Aq Fa type suffix. For example, to add two long integers ensuring that all previous writes will happen first, use Index: devclass.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/devclass.9,v retrieving revision 1.8 diff -u -r1.8 devclass.9 --- devclass.9 10 Jul 2001 15:30:56 -0000 1.8 +++ devclass.9 27 May 2003 04:23:59 -0000 @@ -38,18 +38,18 @@ .Vt typedef struct devclass *devclass_t ; .Sh DESCRIPTION The -.Dv devclass +.Nm object has two main functions in the system. The first is to manage the allocation of unit numbers for device instances and the second is to hold the list of device drivers for a particular bus type. Each -.Dv devclass +.Nm has a name and there cannot be two devclasses with the same name. This ensures that unique unit numbers are allocated to device instances. .Pp Beware that this means -.Dv devclass +.Nm must be the same for different bus attachments of the same device driver. .Sh SEE ALSO .Xr devclass_add_driver 9 , Index: devclass_find.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/devclass_find.9,v retrieving revision 1.6 diff -u -r1.6 devclass_find.9 --- devclass_find.9 1 Oct 2001 16:09:24 -0000 1.6 +++ devclass_find.9 27 May 2003 04:24:38 -0000 @@ -41,11 +41,11 @@ .Fn devclass_find "const char *classname" .Sh DESCRIPTION Search for the -.Dv devclass +.Nm with the specified name. .Sh RETURN VALUES If the -.Dv devclass +.Nm exists, it is returned, otherwise .Dv NULL is returned. Index: device.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/device.9,v retrieving revision 1.13 diff -u -r1.13 device.9 --- device.9 9 Jan 2002 11:43:47 -0000 1.13 +++ device.9 27 May 2003 14:52:59 -0000 @@ -41,16 +41,16 @@ system such as an expansion card, the bus which that card is plugged into, disk drives attached to the expansion card etc. The system defines one device, -.Dv root_bus +.Va root_bus and all other devices are created dynamically during autoconfiguration. Normally devices representing top-level busses in the system (ISA, PCI etc.) will be attached directly to -.Dv root_bus +.Va root_bus and other devices will be added as children of their relevant bus. .Pp The devices in a system form a tree. All devices except -.Dv root_bus +.Va root_bus have a parent (see .Xr device_get_parent 9 ) . In addition, any device can have children attached to it (see @@ -83,13 +83,13 @@ .Pp Devices can be in one of several states: .Bl -tag -width DS_NOTPRESENT -.It Ar DS_NOTPRESENT +.It Dv DS_NOTPRESENT the device has not been probed for existence or the probe failed -.It Ar DS_ALIVE +.It Dv DS_ALIVE the device probe succeeded but not yet attached -.It Ar DS_ATTACHED +.It Dv DS_ATTACHED the device has been successfully attached -.It Ar DS_BUSY +.It Dv DS_BUSY the device is currently open .El .Pp Index: device_printf.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/device_printf.9,v retrieving revision 1.1 diff -u -r1.1 device_printf.9 --- device_printf.9 22 Apr 2003 03:32:31 -0000 1.1 +++ device_printf.9 27 May 2003 16:02:39 -0000 @@ -43,11 +43,11 @@ .Xr printf 9 function. It outputs the name of the -.Ar dev +.Fa dev device, followed by a colon and a space, and then what .Xr printf 9 woult print if you passed -.Ar fmt +.Fa fmt and the remaining arguments to it. .Sh RETURN VALUES The Index: kobj.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/kobj.9,v retrieving revision 1.12 diff -u -r1.12 kobj.9 --- kobj.9 26 Dec 2001 23:14:04 -0000 1.12 +++ kobj.9 27 May 2003 04:21:26 -0000 @@ -114,11 +114,11 @@ .Fn kobj_class_compile_static should be called with the class and a pointer to a statically allocated -.Dv kobj_ops +.Vt kobj_ops structure before the class is used to initialise any objects. .Pp To define a class, first define a simple array of -.Dv kobj_method_t . +.Vt kobj_method_t . Each method which the class implements should be entered into the table using the macro .Fn KOBJMETHOD @@ -128,7 +128,7 @@ The macro .Fn DEFINE_CLASS can then be used to initialise a -.Dv kobj_class_t +.Vt kobj_class_t structure. The size argument to .Fn DEFINE_CLASS Index: ktr.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/ktr.9,v retrieving revision 1.4 diff -u -r1.4 ktr.9 --- ktr.9 12 Oct 2002 03:01:11 -0000 1.4 +++ ktr.9 27 May 2003 15:59:36 -0000 @@ -62,7 +62,7 @@ .Xr gdb 1 . .Pp Events are created and logged in the kernel via the -.Dv CTR Ns Ar x +.Dv CTR Ns x macros. The first parameter is a mask of event types .Pq Dv KTR_* Index: make_dev.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/make_dev.9,v retrieving revision 1.12 diff -u -r1.12 make_dev.9 --- make_dev.9 11 Feb 2002 01:21:29 -0000 1.12 +++ make_dev.9 24 May 2003 19:58:56 -0000 @@ -121,6 +121,8 @@ if any exist. A device may simultaneously be a parent and a child, so it is possible to build a complete hierarchy. +.Sh SEE ALSO +.Xr devfs 5 .Sh HISTORY The .Fn make_dev Index: rtalloc.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/rtalloc.9,v retrieving revision 1.12 diff -u -r1.12 rtalloc.9 --- rtalloc.9 1 Oct 2001 16:09:25 -0000 1.12 +++ rtalloc.9 27 May 2003 15:58:40 -0000 @@ -85,7 +85,7 @@ The default interface is .Fn rtalloc . Its only argument is -.Ar ro , +.Fa ro , a pointer to a .Dq Li "struct route" , which is defined as follows: @@ -104,7 +104,7 @@ structure are set to zero. On subsequent calls, .Fn rtalloc returns without performing a lookup if -.Ar ro->ro_rt +.Va ro->ro_rt is non-null and the .Dv RTF_UP flag is set in the route's @@ -120,11 +120,11 @@ and .Dv RTF_PRCLONING flags are undesired. The -.Ar ro +.Fa ro argument is the same as .Fn rtalloc , but there is additionally a -.Ar flags +.Fa flags argument, which lists the flags in the route which are to be .Em ignored (ordinarily, one or both of @@ -145,9 +145,9 @@ Instead, it takes a .Dq Li "struct sockaddr *" directly as the -.Ar sa +.Fa sa argument. The second argument, -.Ar report , +.Fa report , controls whether .Dv RTM_RESOLVE requests are sent to the lower layers when an @@ -158,7 +158,7 @@ in the processing of those lower layers which use the cloning facility. The third argument, -.Ar flags , +.Fa flags , is a set of flags to ignore, as in .Fn rtalloc_ign . .Sh RETURN VALUES @@ -185,7 +185,7 @@ although with much different internals. The .Fn rtalloc_ign function and the -.Ar flags +.Fa flags argument to .Fn rtalloc1 first appeared in @@ -198,6 +198,6 @@ and the .Fn rtalloc_ign function and the -.Ar flags +.Fa flags argument to .Fn rtalloc1 . Index: sleep.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/sleep.9,v retrieving revision 1.40 diff -u -r1.40 sleep.9 --- sleep.9 16 May 2003 15:52:32 -0000 1.40 +++ sleep.9 27 May 2003 15:50:55 -0000 @@ -56,17 +56,17 @@ external event, it is put on sleep by .Fn tsleep . The parameter -.Ar ident +.Fa ident is an arbitrary address that uniquely identifies the event on which the process is being asleep. All processes sleeping on a single -.Ar ident +.Fa ident are woken up later by .Fn wakeup , often called from inside an interrupt routine, to indicate that the resource the process was blocking on is available now. .Pp The parameter -.Ar wmesg +.Fa wmesg is a string describing the sleep condition for tools like .Xr ps 1 . Due to the limited space of those programs to display arbitrary strings, @@ -89,12 +89,12 @@ performed on the specified identifier. The process will then be made runnable with the specified -.Ar priority . +.Fa priority . Sleeps at most -.Ar timo +.Fa timo \&/ hz seconds (0 means no timeout). If -.Ar pri +.Fa pri includes the .Dv PCATCH flag, signals are checked before and after sleeping, else signals are @@ -116,16 +116,16 @@ .Fn msleep function is a variation on tsleep. The parameter -.Ar mtx +.Fa mtx is a mutex which will be released before sleeping and reacquired before .Fn msleep returns. If -.Ar pri +.Fa pri includes the .Dv PDROP flag, the -.Ar mtx +.Fa mtx parameter will not be reacquired before returning. The mutex is used to ensure that a condition can be checked atomically, and @@ -152,7 +152,7 @@ .Fn sleep function used to be the traditional form. It did not let you specify a timeout or a -.Ar wmesg , +.Fa wmesg , hence it was discontinued. .Sh AUTHORS .An -nosplit Index: vget.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/vget.9,v retrieving revision 1.8 diff -u -r1.8 vget.9 --- vget.9 24 Dec 2002 13:41:46 -0000 1.8 +++ vget.9 27 May 2003 15:54:49 -0000 @@ -42,9 +42,9 @@ .Sh DESCRIPTION Get a vnode from the free list and increment its reference count. .Bl -tag -width lockflag -.It Ar vp +.It Fa vp the vnode to remove from the free list -.It Ar lockflag +.It Fa lockflag if non-zero, the vnode will also be locked .El .Pp Index: vnode.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/vnode.9,v retrieving revision 1.25 diff -u -r1.25 vnode.9 --- vnode.9 24 May 2003 18:19:11 -0000 1.25 +++ vnode.9 27 May 2003 14:50:13 -0000 @@ -80,7 +80,7 @@ system calls. .Pp Any call which returns a vnode (e.g.\& -.Xr VFS_GET 9 , +.Xr vget 9 , .Xr VOP_LOOKUP 9 etc.) will increase the Index: vput.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/vput.9,v retrieving revision 1.9 diff -u -r1.9 vput.9 --- vput.9 1 Oct 2001 16:09:25 -0000 1.9 +++ vput.9 27 May 2003 15:55:26 -0000 @@ -41,10 +41,10 @@ .Fn vput "struct vnode *vp" .Sh DESCRIPTION Decrement the -.Dv v_usecount +.Va v_usecount field of a vnode and unlock the vnode. .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode to decrement .El .Pp Index: vref.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/vref.9,v retrieving revision 1.9 diff -u -r1.9 vref.9 --- vref.9 24 Dec 2002 13:41:46 -0000 1.9 +++ vref.9 27 May 2003 15:55:36 -0000 @@ -41,10 +41,10 @@ .Fn vref "struct vnode *vp" .Sh DESCRIPTION Increment the -.Dv v_usecount +.Va v_usecount field of a vnode. .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode to increment .El .Pp Index: vrele.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/vrele.9,v retrieving revision 1.10 diff -u -r1.10 vrele.9 --- vrele.9 24 Dec 2002 13:41:46 -0000 1.10 +++ vrele.9 27 May 2003 15:55:55 -0000 @@ -41,10 +41,10 @@ .Fn vrele "struct vnode *vp" .Sh DESCRIPTION Decrement the -.Dv v_usecount +.Va v_usecount field of a vnode. .Bl -tag -width 2n -.It Ar vp +.It Fa vp the vnode to decrement .El .Pp @@ -52,7 +52,7 @@ .Fn vrele when it is finished with the vnode. If the -.Dv v_usecount +.Va v_usecount field of the vnode reaches zero, then it will be placed on the free list. .Sh SEE ALSO .Xr vget 9 , Index: zone.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/zone.9,v retrieving revision 1.23 diff -u -r1.23 zone.9 --- zone.9 29 Nov 2002 11:39:20 -0000 1.23 +++ zone.9 27 May 2003 03:31:05 -0000 @@ -105,7 +105,7 @@ Their purpose is to provide hooks for initializing or destroying things that need to be done at the time of the allocation or release of a resource. -A good useage for the +A good usage for the .Fa ctor and .Fa dtor