diff options
Diffstat (limited to 'static/freebsd/man9/vm_page_grab.9 4.html')
| -rw-r--r-- | static/freebsd/man9/vm_page_grab.9 4.html | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/static/freebsd/man9/vm_page_grab.9 4.html b/static/freebsd/man9/vm_page_grab.9 4.html deleted file mode 100644 index 7073418e..00000000 --- a/static/freebsd/man9/vm_page_grab.9 4.html +++ /dev/null @@ -1,76 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">VM_PAGE_GRAB(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">VM_PAGE_GRAB(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">vm_page_grab</code> — - <span class="Nd">returns a page from an object</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">vm/vm.h</a>></code> - <br/> - <code class="In">#include <<a class="In">vm/vm_page.h</a>></code></p> -<p class="Pp"><var class="Ft">vm_page_t</var> - <br/> - <code class="Fn">vm_page_grab</code>(<var class="Fa" style="white-space: nowrap;">vm_object_t - object</var>, <var class="Fa" style="white-space: nowrap;">vm_pindex_t - pindex</var>, <var class="Fa" style="white-space: nowrap;">int - allocflags</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="#vm_page_grab"><code class="Fn" id="vm_page_grab">vm_page_grab</code></a>() - function returns the page at <var class="Fa">pindex</var> from the given - object. If the page exists and is busy, - <code class="Fn">vm_page_grab</code>() will sleep while waiting for it. If - the page does not exist, it is allocated. The function sleeps until the - allocation request can be satisfied.</p> -<p class="Pp" id="vm_page_grab~2">The function requires the - <var class="Fa">object</var> to be locked on entry, and returns with the - object locked. If the - <a class="permalink" href="#vm_page_grab~2"><code class="Fn">vm_page_grab</code></a>() - function sleeps for any reason, the object lock is temporary dropped.</p> -<p class="Pp" id="vm_page_grab~3">The - <a class="permalink" href="#vm_page_grab~3"><code class="Fn">vm_page_grab</code></a>() - supports all of the flags supported by <a class="Xr">vm_page_alloc(9)</a>. - In addition, <code class="Fn">vm_page_grab</code>() supports the following - flags:</p> -<dl class="Bl-tag"> - <dt id="VM_ALLOC_IGN_SBUSY"><a class="permalink" href="#VM_ALLOC_IGN_SBUSY"><code class="Dv">VM_ALLOC_IGN_SBUSY</code></a></dt> - <dd>When waiting for the busy state of the existing page to drain, only test - for exclusive busy; ignore the shared busy counter.</dd> -</dl> -</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">vm_page_grab</code>() always returns the - page.</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">vm_page_alloc(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> - <<a class="Mt" href="mailto:davidc@acns.ab.ca">davidc@acns.ab.ca</a>>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">August 23, 2013</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
