summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/insmntque.9 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/insmntque.9 3.html')
-rw-r--r--static/freebsd/man9/insmntque.9 3.html84
1 files changed, 0 insertions, 84 deletions
diff --git a/static/freebsd/man9/insmntque.9 3.html b/static/freebsd/man9/insmntque.9 3.html
deleted file mode 100644
index 94bac6db..00000000
--- a/static/freebsd/man9/insmntque.9 3.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">INSMNTQUE(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">INSMNTQUE(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">insmntque</code>,
- <code class="Nm">insmntque1</code> &#x2014; <span class="Nd">associate a
- vnode with a mount</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
- &lt;<a class="In">sys/param.h</a>&gt;</code>
- <br/>
- <code class="In">#include &lt;<a class="In">sys/vnode.h</a>&gt;</code></p>
-<p class="Pp"><var class="Ft">int</var>
- <br/>
- <code class="Fn">insmntque</code>(<var class="Fa" style="white-space: nowrap;">struct
- vnode *vp</var>, <var class="Fa" style="white-space: nowrap;">struct mount
- *mp</var>);</p>
-<p class="Pp"><var class="Ft">int</var>
- <br/>
- <code class="Fn">insmntque1</code>(<var class="Fa" style="white-space: nowrap;">struct
- vnode *vp</var>, <var class="Fa" style="white-space: nowrap;">struct mount
- *mp</var>);</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The
- <a class="permalink" href="#insmntque"><code class="Fn" id="insmntque">insmntque</code></a>()
- function associates a vnode with a mount. This includes updating
- <var class="Va">v_mount</var> for the vnode, and inserting the vnode into
- the mount's vnode list.</p>
-<p class="Pp">The indirect mount reference count, maintained as the count of the
- vnodes owned by it, is incremented for each vnode added to the mount, and
- that reference is decremented by <a class="Xr">vgone(9)</a>.</p>
-<p class="Pp">The mount's interlock is held while the vnode is inserted. The
- vnode must be exclusively locked.</p>
-<p class="Pp" id="insmntque~2">On failure,
- <a class="permalink" href="#insmntque~2"><code class="Fn">insmntque</code></a>()
- resets vnode's operations vector to the vector of
- <a class="Xr">deadfs(9)</a>, clears <var class="Va">v_data</var>, and then
- calls <a class="Xr">vgone(9)</a> and <a class="Xr">vput(9)</a>. If more
- elaborated cleanup after <code class="Fn">insmntque</code>() failure is
- needed, the
- <a class="permalink" href="#insmntque1"><code class="Fn" id="insmntque1">insmntque1</code></a>()
- function may be used instead. It does not do any cleanup following a
- failure, leaving all the work to the caller. In particular, the operations
- vector <var class="Va">v_op</var> and <var class="Va">v_data</var> fields of
- the vnode are kept intact.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
- VALUES</a></h1>
-<p class="Pp">The <code class="Fn">insmntque</code>() function will always
- return 0, unless the file system is currently being unmounted in which case
- it may return <code class="Dv">EBUSY</code>. Also,
- <code class="Fn">insmntque</code>() may be forced to insert the vnode into
- the mount's vnode list by setting the <var class="Va">VV_FORCEINSMQ</var>
- flag in the vnode <var class="Va">v_flag</var>, even if the file system is
- being unmounted.</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">vgone(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">Chad David</span>
- &lt;<a class="Mt" href="mailto:davidc@acns.ab.ca">davidc@acns.ab.ca</a>&gt;.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">October 24, 2025</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>