You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

221 lines
10 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.8"/>
  7. <title>fuse: fuse_file_info Struct Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">fuse
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.8 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  33. <li><a href="files.html"><span>Files</span></a></li>
  34. </ul>
  35. </div>
  36. <div id="navrow2" class="tabs2">
  37. <ul class="tablist">
  38. <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  39. <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
  40. </ul>
  41. </div>
  42. </div><!-- top -->
  43. <div class="header">
  44. <div class="summary">
  45. <a href="#pub-attribs">Data Fields</a> </div>
  46. <div class="headertitle">
  47. <div class="title">fuse_file_info Struct Reference</div> </div>
  48. </div><!--header-->
  49. <div class="contents">
  50. <p><code>#include &lt;fuse_common.h&gt;</code></p>
  51. <table class="memberdecls">
  52. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  53. Data Fields</h2></td></tr>
  54. <tr class="memitem:ae7d31802727be19670193a411647bca5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#ae7d31802727be19670193a411647bca5">flags</a></td></tr>
  55. <tr class="separator:ae7d31802727be19670193a411647bca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  56. <tr class="memitem:a62d0083192d16484ac3136af3710cc11"><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a62d0083192d16484ac3136af3710cc11">fh_old</a></td></tr>
  57. <tr class="separator:a62d0083192d16484ac3136af3710cc11"><td class="memSeparator" colspan="2">&#160;</td></tr>
  58. <tr class="memitem:ac58a8634699eb8ed8d424cd4413dd75b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#ac58a8634699eb8ed8d424cd4413dd75b">writepage</a></td></tr>
  59. <tr class="separator:ac58a8634699eb8ed8d424cd4413dd75b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  60. <tr class="memitem:a03b59a10e62963d9affa34ad78bd144a"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a03b59a10e62963d9affa34ad78bd144a">direct_io</a>: 1</td></tr>
  61. <tr class="separator:a03b59a10e62963d9affa34ad78bd144a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  62. <tr class="memitem:a23a64eaecbf83f99aba8ee79e6de2780"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a23a64eaecbf83f99aba8ee79e6de2780">keep_cache</a>: 1</td></tr>
  63. <tr class="separator:a23a64eaecbf83f99aba8ee79e6de2780"><td class="memSeparator" colspan="2">&#160;</td></tr>
  64. <tr class="memitem:a9c1571cb4b6be75827f48aac5891606c"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a9c1571cb4b6be75827f48aac5891606c">flush</a>: 1</td></tr>
  65. <tr class="separator:a9c1571cb4b6be75827f48aac5891606c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  66. <tr class="memitem:a272022c57a6a79dd8f98ef597786e154"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a272022c57a6a79dd8f98ef597786e154">nonseekable</a>: 1</td></tr>
  67. <tr class="separator:a272022c57a6a79dd8f98ef597786e154"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. <tr class="memitem:ac320b22a715b226cc175d622307150e3"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#ac320b22a715b226cc175d622307150e3">padding</a>: 27</td></tr>
  69. <tr class="separator:ac320b22a715b226cc175d622307150e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. <tr class="memitem:a45314d0b92a8d4c9de33d996aa59ada8"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a45314d0b92a8d4c9de33d996aa59ada8">fh</a></td></tr>
  71. <tr class="separator:a45314d0b92a8d4c9de33d996aa59ada8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr class="memitem:a3575f36b21f406c211c41c8c31323688"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html#a3575f36b21f406c211c41c8c31323688">lock_owner</a></td></tr>
  73. <tr class="separator:a3575f36b21f406c211c41c8c31323688"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. </table>
  75. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  76. <div class="textblock"><p>Information about open files</p>
  77. <p>Changed in version 2.5 </p>
  78. </div><h2 class="groupheader">Field Documentation</h2>
  79. <a class="anchor" id="a03b59a10e62963d9affa34ad78bd144a"></a>
  80. <div class="memitem">
  81. <div class="memproto">
  82. <table class="memname">
  83. <tr>
  84. <td class="memname">unsigned int fuse_file_info::direct_io</td>
  85. </tr>
  86. </table>
  87. </div><div class="memdoc">
  88. <p>Can be filled in by open, to use direct I/O on this file. Introduced in version 2.4 </p>
  89. </div>
  90. </div>
  91. <a class="anchor" id="a45314d0b92a8d4c9de33d996aa59ada8"></a>
  92. <div class="memitem">
  93. <div class="memproto">
  94. <table class="memname">
  95. <tr>
  96. <td class="memname">uint64_t fuse_file_info::fh</td>
  97. </tr>
  98. </table>
  99. </div><div class="memdoc">
  100. <p>File handle. May be filled in by filesystem in open(). Available in all other file operations </p>
  101. </div>
  102. </div>
  103. <a class="anchor" id="a62d0083192d16484ac3136af3710cc11"></a>
  104. <div class="memitem">
  105. <div class="memproto">
  106. <table class="memname">
  107. <tr>
  108. <td class="memname">unsigned long fuse_file_info::fh_old</td>
  109. </tr>
  110. </table>
  111. </div><div class="memdoc">
  112. <p>Old file handle, don't use </p>
  113. </div>
  114. </div>
  115. <a class="anchor" id="ae7d31802727be19670193a411647bca5"></a>
  116. <div class="memitem">
  117. <div class="memproto">
  118. <table class="memname">
  119. <tr>
  120. <td class="memname">int fuse_file_info::flags</td>
  121. </tr>
  122. </table>
  123. </div><div class="memdoc">
  124. <p>Open flags. Available in open() and release() </p>
  125. </div>
  126. </div>
  127. <a class="anchor" id="a9c1571cb4b6be75827f48aac5891606c"></a>
  128. <div class="memitem">
  129. <div class="memproto">
  130. <table class="memname">
  131. <tr>
  132. <td class="memname">unsigned int fuse_file_info::flush</td>
  133. </tr>
  134. </table>
  135. </div><div class="memdoc">
  136. <p>Indicates a flush operation. Set in flush operation, also maybe set in highlevel lock operation and lowlevel release operation. Introduced in version 2.6 </p>
  137. </div>
  138. </div>
  139. <a class="anchor" id="a23a64eaecbf83f99aba8ee79e6de2780"></a>
  140. <div class="memitem">
  141. <div class="memproto">
  142. <table class="memname">
  143. <tr>
  144. <td class="memname">unsigned int fuse_file_info::keep_cache</td>
  145. </tr>
  146. </table>
  147. </div><div class="memdoc">
  148. <p>Can be filled in by open, to indicate, that cached file data need not be invalidated. Introduced in version 2.4 </p>
  149. </div>
  150. </div>
  151. <a class="anchor" id="a3575f36b21f406c211c41c8c31323688"></a>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="memname">
  155. <tr>
  156. <td class="memname">uint64_t fuse_file_info::lock_owner</td>
  157. </tr>
  158. </table>
  159. </div><div class="memdoc">
  160. <p>Lock owner id. Available in locking operations and flush </p>
  161. </div>
  162. </div>
  163. <a class="anchor" id="a272022c57a6a79dd8f98ef597786e154"></a>
  164. <div class="memitem">
  165. <div class="memproto">
  166. <table class="memname">
  167. <tr>
  168. <td class="memname">unsigned int fuse_file_info::nonseekable</td>
  169. </tr>
  170. </table>
  171. </div><div class="memdoc">
  172. <p>Can be filled in by open, to indicate that the file is not seekable. Introduced in version 2.8 </p>
  173. </div>
  174. </div>
  175. <a class="anchor" id="ac320b22a715b226cc175d622307150e3"></a>
  176. <div class="memitem">
  177. <div class="memproto">
  178. <table class="memname">
  179. <tr>
  180. <td class="memname">unsigned int fuse_file_info::padding</td>
  181. </tr>
  182. </table>
  183. </div><div class="memdoc">
  184. <p>Padding. Do not use </p>
  185. </div>
  186. </div>
  187. <a class="anchor" id="ac58a8634699eb8ed8d424cd4413dd75b"></a>
  188. <div class="memitem">
  189. <div class="memproto">
  190. <table class="memname">
  191. <tr>
  192. <td class="memname">int fuse_file_info::writepage</td>
  193. </tr>
  194. </table>
  195. </div><div class="memdoc">
  196. <p>In case of a write operation indicates if this was caused by a writepage </p>
  197. </div>
  198. </div>
  199. <hr/>The documentation for this struct was generated from the following file:<ul>
  200. <li>include/<a class="el" href="fuse__common_8h.html">fuse_common.h</a></li>
  201. </ul>
  202. </div><!-- contents -->
  203. <!-- start footer part -->
  204. <hr class="footer"/><address class="footer"><small>
  205. Generated on Sat Apr 23 2016 09:43:20 for fuse by &#160;<a href="http://www.doxygen.org/index.html">
  206. <img class="footer" src="doxygen.png" alt="doxygen"/>
  207. </a> 1.8.8
  208. </small></address>
  209. </body>
  210. </html>