Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 1117

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>enum positive_aop_returns</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Filesystems API" /><link rel="up" href="ch01.html#the_filesystem_types" title="The Filesystem types" /><link rel="prev" href="ch01.html" title="Chapter&#160;1.&#160;The Linux VFS" /><link rel="next" href="re02.html" title="inc_nlink" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>enum positive_aop_returns</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01.html">Prev</a>&#160;</td><th width="60%" align="center">The Filesystem types</th><td width="20%" align="right">&#160;<a accesskey="n" href="re02.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="enum positive_aop_returns"><a id="API-enum-positive-aop-returns"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum positive_aop_returns &#8212; 
  aop return codes with specific semantics
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
enum positive_aop_returns {
  AOP_WRITEPAGE_ACTIVATE,
  AOP_TRUNCATED_PAGE
};  </pre></div><div class="refsect1" title="Constants"><a id="id3088563"></a><h2>Constants</h2><div class="variablelist"><dl><dt><span class="term">AOP_WRITEPAGE_ACTIVATE</span></dt><dd><p>
Informs the caller that page writeback has
completed, that the page is still locked, and
should be considered active.  The VM uses this hint
to return the page to the active list -- it won't
be a candidate for writeback again in the near
future.  Other callers must be careful to unlock
the page if they get this return.  Returned by
<code class="function">writepage</code>; 
      </p></dd><dt><span class="term">AOP_TRUNCATED_PAGE</span></dt><dd><p>
The AOP method that was handed a locked page has
unlocked it and the page might have been truncated.
The caller should back up to acquiring a new page and
trying again.  The aop will be taking reasonable
precautions not to livelock.  If the caller held a page
reference, it should drop it before retrying.  Returned
by <code class="function">readpage</code>.
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id3049319"></a><h2>Description</h2><p>
   address_space_operation functions return these large constants to indicate
   special semantics to the caller.  These are much larger than the bytes in a
   page to allow for functions that return the number of bytes operated on in a
   given page.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html#the_filesystem_types">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;1.&#160;The Linux VFS&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>inc_nlink</span></td></tr></table></div></body></html>