summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_LOCK.9
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-10-10 10:17:02 +0000
committerbde <bde@FreeBSD.org>2001-10-10 10:17:02 +0000
commit1afb151feb8e247e22b81ba51d99de6fc23d1296 (patch)
tree8dedcfccb5b6a47c012d6fd0cc2656004d7a6564 /share/man/man9/VOP_LOCK.9
parentadca9bb8abae9ca7a0882139fe26ac3faf443975 (diff)
downloadFreeBSD-src-1afb151feb8e247e22b81ba51d99de6fc23d1296.zip
FreeBSD-src-1afb151feb8e247e22b81ba51d99de6fc23d1296.tar.gz
Fixed some bitrot. The KSE interface change for vops had not reached here.
Didn't fix older bugs. Most of the examples don't even match historical interfaces.
Diffstat (limited to 'share/man/man9/VOP_LOCK.9')
-rw-r--r--share/man/man9/VOP_LOCK.912
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9
index 5fe2f9f..fbc597c 100644
--- a/share/man/man9/VOP_LOCK.9
+++ b/share/man/man9/VOP_LOCK.9
@@ -42,13 +42,13 @@
.In sys/lock.h
.In sys/vnode.h
.Ft int
-.Fn VOP_LOCK "struct vnode *vp" "int flags" "struct proc *p"
+.Fn VOP_LOCK "struct vnode *vp" "int flags" "struct thread *td"
.Ft int
-.Fn VOP_UNLOCK "struct vnode *vp" "int flags" "struct proc *p"
+.Fn VOP_UNLOCK "struct vnode *vp" "int flags" "struct thread *td"
.Ft int
-.Fn VOP_ISLOCKED "struct vnode *vp" "struct proc *p"
+.Fn VOP_ISLOCKED "struct vnode *vp" "struct thread *td"
.Ft int
-.Fn vn_lock "struct vnode *vp" "int flags" "struct proc *p"
+.Fn vn_lock "struct vnode *vp" "int flags" "struct thread *td"
.Sh DESCRIPTION
These calls are used to serialize access to the filesystem, such as
to prevent two writes to the same file from happening at the
@@ -90,8 +90,8 @@ with these control flags:
.It Dv LK_RETRY Ta "Retry until locked"
.It Dv LK_NOOBJ Ta "Don't create object"
.El
-.It Ar p
-process context to use for the locks
+.It Ar td
+thread context to use for the locks
.El
.Pp
Kernel code should use
OpenPOWER on IntegriCloud