diff options
Diffstat (limited to 'static/freebsd/man9/vref.9 4.html')
| -rw-r--r-- | static/freebsd/man9/vref.9 4.html | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/static/freebsd/man9/vref.9 4.html b/static/freebsd/man9/vref.9 4.html deleted file mode 100644 index 56e1adf8..00000000 --- a/static/freebsd/man9/vref.9 4.html +++ /dev/null @@ -1,68 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">VREF(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">VREF(9)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">vref</code>, <code class="Nm">vrefl</code> - — <span class="Nd">increment the use count for a vnode</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">sys/param.h</a>></code> - <br/> - <code class="In">#include <<a class="In">sys/vnode.h</a>></code></p> -<p class="Pp"><var class="Ft">void</var> - <br/> - <code class="Fn">vref</code>(<var class="Fa" style="white-space: nowrap;">struct - vnode *vp</var>);</p> -<p class="Pp"><var class="Ft">void</var> - <br/> - <code class="Fn">vrefl</code>(<var class="Fa" style="white-space: nowrap;">struct - vnode *vp</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">Increment the <var class="Va">v_usecount</var> field of a - vnode.</p> -<dl class="Bl-tag"> - <dt><var class="Fa">vp</var></dt> - <dd>the vnode to increment</dd> -</dl> -<p class="Pp">Each vnode maintains a reference count of how many parts of the - system are using the vnode. This allows the system to detect when a vnode is - no longer being used and can be safely recycled for a different file.</p> -<p class="Pp" id="vref">Any code in the system which is using a vnode (e.g. - during the operation of some algorithm or to store in a data structure) - should call - <a class="permalink" href="#vref"><code class="Fn">vref</code></a>() or - <a class="permalink" href="#vrefl"><code class="Fn" id="vrefl">vrefl</code></a>().</p> -<p class="Pp" id="vref~2"><a class="permalink" href="#vref~2"><code class="Fn">vref</code></a>() - locks the vnode interlock while - <a class="permalink" href="#vrefl~2"><code class="Fn" id="vrefl~2">vrefl</code></a>() - expects the interlock to already be held.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">vget(9)</a>, <a class="Xr">vnode(9)</a>, - <a class="Xr">vput(9)</a>, <a class="Xr">vrefcnt(9)</a>, - <a class="Xr">vrele(9)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> -<p class="Pp">This manual page was written by <span class="An">Doug - Rabson</span>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">January 18, 2016</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
