Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102647486
D31126.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
974 B
Referenced Files
None
Subscribers
None
D31126.diff
View Options
Index: share/man/man9/vget.9
===================================================================
--- share/man/man9/vget.9
+++ share/man/man9/vget.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 24, 1996
+.Dd July 9, 2021
.Dt VGET 9
.Os
.Sh NAME
@@ -38,14 +38,16 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn vget "struct vnode *vp" "int lockflag" "struct thread *td"
+.Fn vget "struct vnode *vp" "int flags"
.Sh DESCRIPTION
Get a vnode from the free list and increment its reference count.
-.Bl -tag -width lockflag
+.Bl -tag -width flags
.It Fa vp
The vnode to remove from the free list.
-.It Fa lockflag
-If non-zero, the vnode will also be locked.
+.It Fa flags
+Lock flags; see
+.Xr vn_lock 9
+for available lock flags.
.El
.Pp
When not in use, vnodes are kept on a free list.
@@ -62,6 +64,7 @@
.Fn vget
to increment the reference count and remove it from the free list.
.Sh SEE ALSO
+.Xr vn_lock 9 ,
.Xr vnode 9 ,
.Xr vput 9 ,
.Xr vref 9 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 7:34 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14655290
Default Alt Text
D31126.diff (974 B)
Attached To
Mode
D31126: vget(9): update after r364271
Attached
Detach File
Event Timeline
Log In to Comment