Add the newly added function lockmgr_recursed() to the manpages.

This commit is contained in:
attilio 2008-01-22 20:16:09 +00:00
parent 9688ef1c88
commit 32e7c5ef2f
2 changed files with 10 additions and 1 deletions

View File

@ -716,6 +716,7 @@ MLINKS+=lock.9 lockcount.9 \
lock.9 lockmgr.9 \
lock.9 lockmgr_disown.9 \
lock.9 lockmgr_printinfo.9 \
lock.9 lockmgr_recursed.9 \
lock.9 lockstatus.9
MLINKS+=LOCK_PROFILING.9 MUTEX_PROFILING.9
MLINKS+=make_dev.9 destroy_dev.9 \

View File

@ -36,7 +36,8 @@
.Nm lockmgr ,
.Nm lockstatus ,
.Nm lockmgr_disown ,
.Nm lockmgr_printinfo
.Nm lockmgr_printinfo ,
.Nm lockmgr_recursed
.Nd "lockmgr family of functions"
.Sh SYNOPSIS
.In sys/types.h
@ -55,6 +56,8 @@
.Fn lockmgr_disown "struct lock *lkp"
.Ft void
.Fn lockmgr_printinfo "struct lock *lkp"
.Ft int
.Fn lockmgr_recursed "struct lock *lkp"
.Sh DESCRIPTION
The
.Fn lockinit
@ -201,6 +204,11 @@ function prints debugging information about the lock.
It is used primarily by
.Xr VOP_PRINT 9
functions.
.Pp
The
.Fn lockmgr_recursed
function returns true if the lock is recursed, 0
otherwise.
.Sh RETURN VALUES
The
.Fn lockcount