diff options
| author | Attilio Rao <attilio@FreeBSD.org> | 2008-01-22 20:16:09 +0000 |
|---|---|---|
| committer | Attilio Rao <attilio@FreeBSD.org> | 2008-01-22 20:16:09 +0000 |
| commit | fa8852657556e4c05e0eb0433b91e6ab959af19b (patch) | |
| tree | 491385d19829f7df011f23351db689bdea21b2fb /share | |
| parent | ac8e1cb6fc4fcd971fa52074fca5b14b7ede4738 (diff) | |
Notes
Diffstat (limited to 'share')
| -rw-r--r-- | share/man/man9/Makefile | 1 | ||||
| -rw-r--r-- | share/man/man9/lock.9 | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index deb879688658..1d6cc3b3631d 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -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 \ diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index c96dbb2d0438..3d27750230ac 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -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 |
