vrele.9 (7f3dea244c40159a41ab22da77a434d7c5b5e85a) | vrele.9 (218d216271ae1af4cc01c1b1356adecc2f9bc490) |
---|---|
1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1996 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 29 unchanged lines hidden (view full) --- 38.Fd #include <sys/param.h> 39.Fd #include <sys/vnode.h> 40.Ft void 41.Fn vrele "struct vnode *vp" 42.Sh DESCRIPTION 43Decrement the 44.Dv v_usecount 45field of a vnode. | 1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1996 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 29 unchanged lines hidden (view full) --- 38.Fd #include <sys/param.h> 39.Fd #include <sys/vnode.h> 40.Ft void 41.Fn vrele "struct vnode *vp" 42.Sh DESCRIPTION 43Decrement the 44.Dv v_usecount 45field of a vnode. |
46.Bl -tag -width vp | 46.Bl -tag -width 2n |
47.It Ar vp 48the vnode to decrement 49.El 50.Pp 51Any code in the system which is using a vnode should call 52.Xr vrele 9 53when it is finished with the vnode. 54If the 55.Dv v_usecount 56field of the vnode reaches zero, then it will be placed on the free list. 57.Sh SEE ALSO 58.Xr vget 9 , 59.Xr vnode 9 , 60.Xr vput 9 , 61.Xr vref 9 62.Sh AUTHORS 63This man page was written by 64.An Doug Rabson . 65 | 47.It Ar vp 48the vnode to decrement 49.El 50.Pp 51Any code in the system which is using a vnode should call 52.Xr vrele 9 53when it is finished with the vnode. 54If the 55.Dv v_usecount 56field of the vnode reaches zero, then it will be placed on the free list. 57.Sh SEE ALSO 58.Xr vget 9 , 59.Xr vnode 9 , 60.Xr vput 9 , 61.Xr vref 9 62.Sh AUTHORS 63This man page was written by 64.An Doug Rabson . 65 |