<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: include/vfs/vfs.h Source File</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('db/da9/include_2vfs_2vfs_8h_source.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">vfs.h</div> </div> </div><!--header--> <div class="contents"> <a href="../../db/da9/include_2vfs_2vfs_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*-</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2002-2018 The UbixOS Project.</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All rights reserved.</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This was developed by Christopher W. Olsen for the UbixOS Project.</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without modification, are permitted</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * provided that the following conditions are met:</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * 1) Redistributions of source code must retain the above copyright notice, this list of</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * conditions, the following disclaimer and the list of authors.</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * 2) Redistributions in binary form must reproduce the above copyright notice, this list of</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * conditions, the following disclaimer and the list of authors in the documentation and/or</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * other materials provided with the distribution.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * 3) Neither the name of the UbixOS Project nor the names of its contributors may be used to</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * endorse or promote products derived from this software without specific prior written</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * permission.</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> *</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> */</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifndef _VFS_VFS_H</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#define _VFS_VFS_H</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="../../d0/d27/include_2sys_2types_8h.html">sys/types.h</a>></span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="../../d6/db4/include_2vfs_2file_8h.html">vfs/file.h</a>></span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<a class="code" href="../../d2/d29/mount_8h.html">vfs/mount.h</a>></span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="../../d3/d7e/sysproto__posix_8h.html">sys/sysproto_posix.h</a>></span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <<a class="code" href="../../db/dd5/thread_8h.html">sys/thread.h</a>></span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <<a class="code" href="../../d7/d97/net_8h.html">net/net.h</a>></span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="../../d1/df2/wait_8h.html">ubixos/wait.h</a>></span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a62208fd94f08131f925ce4211733feba"> 39</a></span> <span class="preprocessor">#define MAY_EXEC 1</span></div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#aab568dbcaa818aedb9385f4bbafbdc51"> 40</a></span> <span class="preprocessor">#define MAY_WRITE 2</span></div> <div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#acd51aa88fa7b7dd3e50acb63ad2c1ef6"> 41</a></span> <span class="preprocessor">#define MAY_READ 4</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a7345172cf7a0188e85f54fca04e800fb"> 43</a></span> <span class="preprocessor">#define maxFd 32</span></div> <div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a0b9c2cfc0e4cef01ef0f439550a080d8"> 44</a></span> <span class="preprocessor">#define fdAvail 1</span></div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a249a3d8cdfed3302062ad215b95a4294"> 45</a></span> <span class="preprocessor">#define fdOpen 2</span></div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#aa461f4419baab36cdd1143cd0fe66e0e"> 46</a></span> <span class="preprocessor">#define fdRead 3</span></div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a4907ecb6121af1b80c5c5b436ebe3cb5"> 47</a></span> <span class="preprocessor">#define fdEof 4</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div> <div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#ae8e814536103f514b8460ec7a0fc4553"> 49</a></span> <span class="preprocessor">#define fileRead 0x0001</span></div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a4898b5a1a1daebda9d11b4afde062e5c"> 50</a></span> <span class="preprocessor">#define fileWrite 0x0002</span></div> <div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#a3e8798b0a6e30da29349c1b6d827f52a"> 51</a></span> <span class="preprocessor">#define fileBinary 0x0004</span></div> <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../db/da9/include_2vfs_2vfs_8h.html#ae4c27d5653358d16438504434867dfff"> 52</a></span> <span class="preprocessor">#define fileAppend 0x0008</span></div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div> <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html"> 59</a></span> <span class="keyword">struct </span><a class="code" href="../../de/dfb/structfileSystem.html">fileSystem</a> {</div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#a385cd52ba55b3ed318ee54f3f42b5a54"> 60</a></span>  <span class="keyword">struct </span><a class="code" href="../../de/dfb/structfileSystem.html">fileSystem</a> *<a class="code" href="../../de/dfb/structfileSystem.html#a385cd52ba55b3ed318ee54f3f42b5a54">prev</a>;</div> <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#aa53ac2dce5c23d729ca2e49907a542de"> 61</a></span>  <span class="keyword">struct </span><a class="code" href="../../de/dfb/structfileSystem.html">fileSystem</a> *<a class="code" href="../../de/dfb/structfileSystem.html#aa53ac2dce5c23d729ca2e49907a542de">next</a>;</div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#a1a162bc57655bb47dbbdc2e1285f08e5"> 62</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#a1a162bc57655bb47dbbdc2e1285f08e5">vfsInitFS</a>)(<span class="keywordtype">void</span>*); </div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#afaaabb8985602f584ae9365ad4a7763e"> 63</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#afaaabb8985602f584ae9365ad4a7763e">vfsRead</a>)(<span class="keywordtype">void</span>*, <span class="keywordtype">char</span>*, <a class="code" href="../../d0/d27/include_2sys_2types_8h.html#afa178be408981cc5edd64227b6332fc6">off_t</a>, long); </div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#a424d675982c926fab607b8fb3819ff7e"> 64</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#a424d675982c926fab607b8fb3819ff7e">vfsWrite</a>)(<span class="keywordtype">void</span>*, <span class="keywordtype">char</span>*, <a class="code" href="../../d0/d27/include_2sys_2types_8h.html#afa178be408981cc5edd64227b6332fc6">off_t</a>, long); </div> <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#af2816f106f39d0355faf5689d92a9b8b"> 65</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#af2816f106f39d0355faf5689d92a9b8b">vfsOpenFile</a>)(<span class="keywordtype">void</span>*, <span class="keywordtype">void</span>*); </div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#ad8f269aaf16c2ed5b2171b18a0bee418"> 66</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#ad8f269aaf16c2ed5b2171b18a0bee418">vfsUnlink</a>)(<span class="keywordtype">char</span>*, <span class="keywordtype">void</span>*); </div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#a4cd903f29e242ecc35938b91d43c4ba5"> 67</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#a4cd903f29e242ecc35938b91d43c4ba5">vfsMakeDir</a>)(<span class="keywordtype">char</span>*, <span class="keywordtype">void</span>*); </div> <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#a74c0d3cf3df39d9227bcd98cf73ef6ba"> 68</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#a74c0d3cf3df39d9227bcd98cf73ef6ba">vfsRemDir</a>)(<span class="keywordtype">char</span>*); </div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#af66a5069337e4e257e517f6823b9c178"> 69</a></span>  int (*<a class="code" href="../../de/dfb/structfileSystem.html#af66a5069337e4e257e517f6823b9c178">vfsSync</a>)(void); </div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="../../de/dfb/structfileSystem.html#aa1b7987f710ba203dffb15590ff58ce0"> 70</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/dfb/structfileSystem.html#aa1b7987f710ba203dffb15590ff58ce0">vfsType</a>; </div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> };</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div> <div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html"> 73</a></span> <span class="keyword">struct </span><a class="code" href="../../dd/d5f/structinode__operations.html">inode_operations</a> {</div> <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a7be5e72a98ac07b748e77ae234592bb9"> 74</a></span>  <span class="keyword">struct </span>file_operations *<a class="code" href="../../dd/d5f/structinode__operations.html#a7be5e72a98ac07b748e77ae234592bb9">default_file_ops</a>;</div> <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a26426232f01a8c45b8f1fcdc3c3a1995"> 75</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a26426232f01a8c45b8f1fcdc3c3a1995">create</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int, int, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>**);</div> <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#ae2d0cd46daad5f8edbbc6bf272f5f6ef"> 76</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#ae2d0cd46daad5f8edbbc6bf272f5f6ef">lookup</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>**);</div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a4632baf5a268a2d977e5a917ad466b1b"> 77</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a4632baf5a268a2d977e5a917ad466b1b">link</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int);</div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a65da2c7438988c419c78f78b3d87cac7"> 78</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a65da2c7438988c419c78f78b3d87cac7">unlink</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int);</div> <div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a63132b07d7a2adf1c050347cc23bdbcc"> 79</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a63132b07d7a2adf1c050347cc23bdbcc">symlink</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int, <span class="keyword">const</span> <span class="keywordtype">char</span>*);</div> <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a23f8bc1b7e600570ba41b6d34df1a612"> 80</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a23f8bc1b7e600570ba41b6d34df1a612">mkdir</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int, int);</div> <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#af4b126f23f4f52c8321197b4a4db7c30"> 81</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#af4b126f23f4f52c8321197b4a4db7c30">rmdir</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int);</div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#af1c7355d9cd4b20001e5113e399589f8"> 82</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#af1c7355d9cd4b20001e5113e399589f8">mknod</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int, int, int);</div> <div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a5eaa8822225ea18bbc4f1ab9037b1852"> 83</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a5eaa8822225ea18bbc4f1ab9037b1852">rename</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, int);</div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#acd23fbd87d79893d30a5a68c651d72d4"> 84</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#acd23fbd87d79893d30a5a68c651d72d4">readlink</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keywordtype">char</span>*, int);</div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#aa35664261988a830d4bffcbf13743684"> 85</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#aa35664261988a830d4bffcbf13743684">follow_link</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, int, int, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>**);</div> <div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a31987b134f87edb3b183df818ab32a5f"> 86</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a31987b134f87edb3b183df818ab32a5f">bmap</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, int);</div> <div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a2a457148bc687a61512e3a920f24b73f"> 87</a></span>  void (*<a class="code" href="../../dd/d5f/structinode__operations.html#a2a457148bc687a61512e3a920f24b73f">truncate</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*);</div> <div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../dd/d5f/structinode__operations.html#a9498ad8187220a0751acc29b725f1fe3"> 88</a></span>  int (*<a class="code" href="../../dd/d5f/structinode__operations.html#a9498ad8187220a0751acc29b725f1fe3">permission</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*, int);</div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> };</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">/* VFS Functions */</span></div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">int</span> <a class="code" href="../../db/da9/include_2vfs_2vfs_8h.html#aca585ca14c08d6c1a07e1b886fc9749a">vfs_init</a>();</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">int</span> <a class="code" href="../../db/da9/include_2vfs_2vfs_8h.html#a8652b1ccbcf7d2a872c5781640f7d59a">vfsRegisterFS</a>(<span class="keyword">struct</span> <a class="code" href="../../de/dfb/structfileSystem.html">fileSystem</a>);</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">struct </span><a class="code" href="../../de/dfb/structfileSystem.html">fileSystem</a>* <a class="code" href="../../db/da9/include_2vfs_2vfs_8h.html#a025f2b08eb8930f06292f32f960ad0c7">vfs_findFS</a>(<span class="keywordtype">int</span>);</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div> <div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html"> 96</a></span> <span class="keyword">struct </span><a class="code" href="../../d1/d80/structsuper__operations.html">super_operations</a> {</div> <div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#ad3f81a8ac9bb6ca4f5666bc6232eb592"> 97</a></span>  void (*<a class="code" href="../../d1/d80/structsuper__operations.html#ad3f81a8ac9bb6ca4f5666bc6232eb592">read_inode</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*);</div> <div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#ae4c95dd626e62f1656f0f14652b082e7"> 98</a></span>  int (*<a class="code" href="../../d1/d80/structsuper__operations.html#ae4c95dd626e62f1656f0f14652b082e7">notify_change</a>)(<span class="keywordtype">int</span> flags, <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*);</div> <div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#a600df86ad28345eabc0e69ca919e8827"> 99</a></span>  void (*<a class="code" href="../../d1/d80/structsuper__operations.html#a600df86ad28345eabc0e69ca919e8827">write_inode</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*);</div> <div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#ac2d5b20c8406fe65285daa09beb32ef5"> 100</a></span>  void (*<a class="code" href="../../d1/d80/structsuper__operations.html#ac2d5b20c8406fe65285daa09beb32ef5">put_inode</a>)(<span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a>*);</div> <div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#a5c4551d81dbabe2163a93ffbe09f7c3d"> 101</a></span>  void (*<a class="code" href="../../d1/d80/structsuper__operations.html#a5c4551d81dbabe2163a93ffbe09f7c3d">put_super</a>)(<span class="keyword">struct </span><a class="code" href="../../de/d37/structsuper__block.html">super_block</a>*);</div> <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#a89850afa042e226983bfdbd215437258"> 102</a></span>  void (*<a class="code" href="../../d1/d80/structsuper__operations.html#a89850afa042e226983bfdbd215437258">write_super</a>)(<span class="keyword">struct </span><a class="code" href="../../de/d37/structsuper__block.html">super_block</a>*);</div> <div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#a1ea5a538642868cf254313a62c3473fd"> 103</a></span>  void (*<a class="code" href="../../db/dc9/structstatfs.html">statfs</a>)(<span class="keyword">struct </span><a class="code" href="../../de/d37/structsuper__block.html">super_block</a>*, <span class="keyword">struct </span><a class="code" href="../../db/dc9/structstatfs.html">statfs</a>*);</div> <div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d1/d80/structsuper__operations.html#a11784cb284a2c8e15ce109aae1494a5c"> 104</a></span>  int (*<a class="code" href="../../d1/d80/structsuper__operations.html#a11784cb284a2c8e15ce109aae1494a5c">remount_fs</a>)(<span class="keyword">struct </span><a class="code" href="../../de/d37/structsuper__block.html">super_block</a>*, <span class="keywordtype">int</span>*, <span class="keywordtype">char</span>*);</div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> };</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div> <div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html"> 107</a></span> <span class="keyword">struct </span><a class="code" href="../../de/d37/structsuper__block.html">super_block</a> {</div> <div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#ae2911c2a99617fbc3577810e964902f5"> 108</a></span>  <a class="code" href="../../d0/d6f/__types_8h.html#a45c90547fafad0ff956b06bb5245cdcf">__dev_t</a> <a class="code" href="../../de/d37/structsuper__block.html#ae2911c2a99617fbc3577810e964902f5">s_dev</a>;</div> <div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a77d5874edcce037865e0a9bb4cf82951"> 109</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="../../de/d37/structsuper__block.html#a77d5874edcce037865e0a9bb4cf82951">s_blocksize</a>;</div> <div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a6bc06d86024fd194bf7592a84fab719f"> 110</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="../../de/d37/structsuper__block.html#a6bc06d86024fd194bf7592a84fab719f">s_blocksize_bits</a>;</div> <div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a407ac10fa82d5f79f50287c0d668ebc3"> 111</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="../../de/d37/structsuper__block.html#a407ac10fa82d5f79f50287c0d668ebc3">s_lock</a>;</div> <div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a1e7757b0b6563a40109023a07adab817"> 112</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="../../de/d37/structsuper__block.html#a1e7757b0b6563a40109023a07adab817">s_rd_only</a>;</div> <div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a52e1a19903777b16396bb347d21d843a"> 113</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="../../de/d37/structsuper__block.html#a52e1a19903777b16396bb347d21d843a">s_dirt</a>;</div> <div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#ad9e59d58fdb5ede31dc4aac235d2ab53"> 114</a></span>  <span class="keyword">struct </span><a class="code" href="../../d1/d80/structsuper__operations.html">super_operations</a> *<a class="code" href="../../de/d37/structsuper__block.html#ad9e59d58fdb5ede31dc4aac235d2ab53">s_op</a>;</div> <div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#aa81e217583e7edbab7216dad02709b1b"> 115</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="../../de/d37/structsuper__block.html#aa81e217583e7edbab7216dad02709b1b">s_flags</a>;</div> <div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a9e077247fbee118a9db2919f1571ff4f"> 116</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="../../de/d37/structsuper__block.html#a9e077247fbee118a9db2919f1571ff4f">s_magic</a>;</div> <div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#aa5fd3a110b1a0ddd2793cf834a424975"> 117</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="../../de/d37/structsuper__block.html#aa5fd3a110b1a0ddd2793cf834a424975">s_time</a>;</div> <div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#a161369fc3cb8cda6c26818b9642508f6"> 118</a></span>  <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a> *<a class="code" href="../../de/d37/structsuper__block.html#a161369fc3cb8cda6c26818b9642508f6">s_covered</a>;</div> <div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#ab512ca6a0a83eecffe89740646927228"> 119</a></span>  <span class="keyword">struct </span><a class="code" href="../../d0/df8/structinode.html">inode</a> *<a class="code" href="../../de/d37/structsuper__block.html#ab512ca6a0a83eecffe89740646927228">s_mounted</a>;</div> <div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#abccfa8828135623cb39f5ff7b8d3be7f"> 120</a></span>  <span class="keyword">struct </span><a class="code" href="../../d6/d6e/structwait__queue.html">wait_queue</a> *<a class="code" href="../../de/d37/structsuper__block.html#abccfa8828135623cb39f5ff7b8d3be7f">s_wait</a>;</div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">union </span>{</div> <div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="../../de/d37/structsuper__block.html#acff53ba5b9041db59ffd47503fd53095"> 122</a></span>  <span class="keyword">struct </span><a class="code" href="../../db/d28/structmsdos__sb__info.html">msdos_sb_info</a> <a class="code" href="../../de/d37/structsuper__block.html#acff53ba5b9041db59ffd47503fd53095">msdos_sb</a>;</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"> struct fs ufs1_sb;</span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment"> struct fs ufs2_sb;</span></div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment"> */</span></div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  } <a class="code" href="../../de/d37/structsuper__block.html#a4923d1f26b3c147357322955ab9655ea">u</a>;</div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span> };</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <div class="ttc" id="astructsuper__operations_html"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html">super_operations</a></div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00096">vfs.h:96</a></div></div> <div class="ttc" id="astructfileSystem_html_a424d675982c926fab607b8fb3819ff7e"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#a424d675982c926fab607b8fb3819ff7e">fileSystem::vfsWrite</a></div><div class="ttdeci">int(* vfsWrite)(void *, char *, off_t, long)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00064">vfs.h:64</a></div></div> <div class="ttc" id="astructsuper__block_html_aa81e217583e7edbab7216dad02709b1b"><div class="ttname"><a href="../../de/d37/structsuper__block.html#aa81e217583e7edbab7216dad02709b1b">super_block::s_flags</a></div><div class="ttdeci">unsigned long s_flags</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00115">vfs.h:115</a></div></div> <div class="ttc" id="astructfileSystem_html_aa53ac2dce5c23d729ca2e49907a542de"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#aa53ac2dce5c23d729ca2e49907a542de">fileSystem::next</a></div><div class="ttdeci">struct fileSystem * next</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00061">vfs.h:61</a></div></div> <div class="ttc" id="a__types_8h_html_a45c90547fafad0ff956b06bb5245cdcf"><div class="ttname"><a href="../../d0/d6f/__types_8h.html#a45c90547fafad0ff956b06bb5245cdcf">__dev_t</a></div><div class="ttdeci">__uint32_t __dev_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d6f/__types_8h_source.html#l00048">_types.h:48</a></div></div> <div class="ttc" id="ainclude_2vfs_2vfs_8h_html_a025f2b08eb8930f06292f32f960ad0c7"><div class="ttname"><a href="../../db/da9/include_2vfs_2vfs_8h.html#a025f2b08eb8930f06292f32f960ad0c7">vfs_findFS</a></div><div class="ttdeci">struct fileSystem * vfs_findFS(int)</div></div> <div class="ttc" id="ainclude_2vfs_2file_8h_html"><div class="ttname"><a href="../../d6/db4/include_2vfs_2file_8h.html">file.h</a></div></div> <div class="ttc" id="astructinode__operations_html_acd23fbd87d79893d30a5a68c651d72d4"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#acd23fbd87d79893d30a5a68c651d72d4">inode_operations::readlink</a></div><div class="ttdeci">int(* readlink)(struct inode *, char *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00084">vfs.h:84</a></div></div> <div class="ttc" id="ainclude_2vfs_2vfs_8h_html_a8652b1ccbcf7d2a872c5781640f7d59a"><div class="ttname"><a href="../../db/da9/include_2vfs_2vfs_8h.html#a8652b1ccbcf7d2a872c5781640f7d59a">vfsRegisterFS</a></div><div class="ttdeci">int vfsRegisterFS(struct fileSystem)</div><div class="ttdoc">register a file system</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/df2/vfs_8c_source.html#l00079">vfs.c:79</a></div></div> <div class="ttc" id="astructsuper__block_html_a1e7757b0b6563a40109023a07adab817"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a1e7757b0b6563a40109023a07adab817">super_block::s_rd_only</a></div><div class="ttdeci">unsigned char s_rd_only</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00112">vfs.h:112</a></div></div> <div class="ttc" id="astructsuper__operations_html_a11784cb284a2c8e15ce109aae1494a5c"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#a11784cb284a2c8e15ce109aae1494a5c">super_operations::remount_fs</a></div><div class="ttdeci">int(* remount_fs)(struct super_block *, int *, char *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00104">vfs.h:104</a></div></div> <div class="ttc" id="astructinode__operations_html_a23f8bc1b7e600570ba41b6d34df1a612"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a23f8bc1b7e600570ba41b6d34df1a612">inode_operations::mkdir</a></div><div class="ttdeci">int(* mkdir)(struct inode *, const char *, int, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00080">vfs.h:80</a></div></div> <div class="ttc" id="asysproto__posix_8h_html"><div class="ttname"><a href="../../d3/d7e/sysproto__posix_8h.html">sysproto_posix.h</a></div></div> <div class="ttc" id="astructinode__operations_html_a2a457148bc687a61512e3a920f24b73f"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a2a457148bc687a61512e3a920f24b73f">inode_operations::truncate</a></div><div class="ttdeci">void(* truncate)(struct inode *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00087">vfs.h:87</a></div></div> <div class="ttc" id="astructsuper__block_html_ae2911c2a99617fbc3577810e964902f5"><div class="ttname"><a href="../../de/d37/structsuper__block.html#ae2911c2a99617fbc3577810e964902f5">super_block::s_dev</a></div><div class="ttdeci">__dev_t s_dev</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00108">vfs.h:108</a></div></div> <div class="ttc" id="astructinode__operations_html_a4632baf5a268a2d977e5a917ad466b1b"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a4632baf5a268a2d977e5a917ad466b1b">inode_operations::link</a></div><div class="ttdeci">int(* link)(struct inode *, struct inode *, const char *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00077">vfs.h:77</a></div></div> <div class="ttc" id="astructsuper__block_html"><div class="ttname"><a href="../../de/d37/structsuper__block.html">super_block</a></div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00107">vfs.h:107</a></div></div> <div class="ttc" id="astructsuper__operations_html_a5c4551d81dbabe2163a93ffbe09f7c3d"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#a5c4551d81dbabe2163a93ffbe09f7c3d">super_operations::put_super</a></div><div class="ttdeci">void(* put_super)(struct super_block *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00101">vfs.h:101</a></div></div> <div class="ttc" id="astructsuper__block_html_a6bc06d86024fd194bf7592a84fab719f"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a6bc06d86024fd194bf7592a84fab719f">super_block::s_blocksize_bits</a></div><div class="ttdeci">unsigned char s_blocksize_bits</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00110">vfs.h:110</a></div></div> <div class="ttc" id="astructfileSystem_html"><div class="ttname"><a href="../../de/dfb/structfileSystem.html">fileSystem</a></div><div class="ttdoc">filesSystem Structure</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00059">vfs.h:59</a></div></div> <div class="ttc" id="ainclude_2sys_2types_8h_html"><div class="ttname"><a href="../../d0/d27/include_2sys_2types_8h.html">types.h</a></div></div> <div class="ttc" id="astructfileSystem_html_afaaabb8985602f584ae9365ad4a7763e"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#afaaabb8985602f584ae9365ad4a7763e">fileSystem::vfsRead</a></div><div class="ttdeci">int(* vfsRead)(void *, char *, off_t, long)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00063">vfs.h:63</a></div></div> <div class="ttc" id="astructsuper__block_html_a77d5874edcce037865e0a9bb4cf82951"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a77d5874edcce037865e0a9bb4cf82951">super_block::s_blocksize</a></div><div class="ttdeci">unsigned long s_blocksize</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00109">vfs.h:109</a></div></div> <div class="ttc" id="astructinode__operations_html_af1c7355d9cd4b20001e5113e399589f8"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#af1c7355d9cd4b20001e5113e399589f8">inode_operations::mknod</a></div><div class="ttdeci">int(* mknod)(struct inode *, const char *, int, int, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00082">vfs.h:82</a></div></div> <div class="ttc" id="await_8h_html"><div class="ttname"><a href="../../d1/df2/wait_8h.html">wait.h</a></div></div> <div class="ttc" id="ainclude_2vfs_2vfs_8h_html_aca585ca14c08d6c1a07e1b886fc9749a"><div class="ttname"><a href="../../db/da9/include_2vfs_2vfs_8h.html#aca585ca14c08d6c1a07e1b886fc9749a">vfs_init</a></div><div class="ttdeci">int vfs_init()</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/df2/vfs_8c_source.html#l00046">vfs.c:46</a></div></div> <div class="ttc" id="astructsuper__operations_html_a89850afa042e226983bfdbd215437258"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#a89850afa042e226983bfdbd215437258">super_operations::write_super</a></div><div class="ttdeci">void(* write_super)(struct super_block *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00102">vfs.h:102</a></div></div> <div class="ttc" id="astructsuper__block_html_a9e077247fbee118a9db2919f1571ff4f"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a9e077247fbee118a9db2919f1571ff4f">super_block::s_magic</a></div><div class="ttdeci">unsigned long s_magic</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00116">vfs.h:116</a></div></div> <div class="ttc" id="astructsuper__operations_html_ae4c95dd626e62f1656f0f14652b082e7"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#ae4c95dd626e62f1656f0f14652b082e7">super_operations::notify_change</a></div><div class="ttdeci">int(* notify_change)(int flags, struct inode *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00098">vfs.h:98</a></div></div> <div class="ttc" id="astructfileSystem_html_a4cd903f29e242ecc35938b91d43c4ba5"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#a4cd903f29e242ecc35938b91d43c4ba5">fileSystem::vfsMakeDir</a></div><div class="ttdeci">int(* vfsMakeDir)(char *, void *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00067">vfs.h:67</a></div></div> <div class="ttc" id="astructinode__operations_html_af4b126f23f4f52c8321197b4a4db7c30"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#af4b126f23f4f52c8321197b4a4db7c30">inode_operations::rmdir</a></div><div class="ttdeci">int(* rmdir)(struct inode *, const char *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00081">vfs.h:81</a></div></div> <div class="ttc" id="astructinode__operations_html_a7be5e72a98ac07b748e77ae234592bb9"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a7be5e72a98ac07b748e77ae234592bb9">inode_operations::default_file_ops</a></div><div class="ttdeci">struct file_operations * default_file_ops</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00074">vfs.h:74</a></div></div> <div class="ttc" id="astructinode_html"><div class="ttname"><a href="../../d0/df8/structinode.html">inode</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d73/inode_8h_source.html#l00039">inode.h:39</a></div></div> <div class="ttc" id="astructsuper__block_html_a407ac10fa82d5f79f50287c0d668ebc3"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a407ac10fa82d5f79f50287c0d668ebc3">super_block::s_lock</a></div><div class="ttdeci">unsigned char s_lock</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00111">vfs.h:111</a></div></div> <div class="ttc" id="astructfileSystem_html_af66a5069337e4e257e517f6823b9c178"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#af66a5069337e4e257e517f6823b9c178">fileSystem::vfsSync</a></div><div class="ttdeci">int(* vfsSync)(void)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00069">vfs.h:69</a></div></div> <div class="ttc" id="astructinode__operations_html_a63132b07d7a2adf1c050347cc23bdbcc"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a63132b07d7a2adf1c050347cc23bdbcc">inode_operations::symlink</a></div><div class="ttdeci">int(* symlink)(struct inode *, const char *, int, const char *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00079">vfs.h:79</a></div></div> <div class="ttc" id="astructinode__operations_html_aa35664261988a830d4bffcbf13743684"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#aa35664261988a830d4bffcbf13743684">inode_operations::follow_link</a></div><div class="ttdeci">int(* follow_link)(struct inode *, struct inode *, int, int, struct inode **)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00085">vfs.h:85</a></div></div> <div class="ttc" id="astructinode__operations_html_a26426232f01a8c45b8f1fcdc3c3a1995"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a26426232f01a8c45b8f1fcdc3c3a1995">inode_operations::create</a></div><div class="ttdeci">int(* create)(struct inode *, const char *, int, int, struct inode **)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00075">vfs.h:75</a></div></div> <div class="ttc" id="astructinode__operations_html_a31987b134f87edb3b183df818ab32a5f"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a31987b134f87edb3b183df818ab32a5f">inode_operations::bmap</a></div><div class="ttdeci">int(* bmap)(struct inode *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00086">vfs.h:86</a></div></div> <div class="ttc" id="astructsuper__block_html_a4923d1f26b3c147357322955ab9655ea"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a4923d1f26b3c147357322955ab9655ea">super_block::u</a></div><div class="ttdeci">union super_block::@23 u</div></div> <div class="ttc" id="astructfileSystem_html_a385cd52ba55b3ed318ee54f3f42b5a54"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#a385cd52ba55b3ed318ee54f3f42b5a54">fileSystem::prev</a></div><div class="ttdeci">struct fileSystem * prev</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00060">vfs.h:60</a></div></div> <div class="ttc" id="astructsuper__block_html_a161369fc3cb8cda6c26818b9642508f6"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a161369fc3cb8cda6c26818b9642508f6">super_block::s_covered</a></div><div class="ttdeci">struct inode * s_covered</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00118">vfs.h:118</a></div></div> <div class="ttc" id="astructfileSystem_html_a74c0d3cf3df39d9227bcd98cf73ef6ba"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#a74c0d3cf3df39d9227bcd98cf73ef6ba">fileSystem::vfsRemDir</a></div><div class="ttdeci">int(* vfsRemDir)(char *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00068">vfs.h:68</a></div></div> <div class="ttc" id="astructfileSystem_html_a1a162bc57655bb47dbbdc2e1285f08e5"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#a1a162bc57655bb47dbbdc2e1285f08e5">fileSystem::vfsInitFS</a></div><div class="ttdeci">int(* vfsInitFS)(void *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00062">vfs.h:62</a></div></div> <div class="ttc" id="astructsuper__block_html_acff53ba5b9041db59ffd47503fd53095"><div class="ttname"><a href="../../de/d37/structsuper__block.html#acff53ba5b9041db59ffd47503fd53095">super_block::msdos_sb</a></div><div class="ttdeci">struct msdos_sb_info msdos_sb</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00122">vfs.h:122</a></div></div> <div class="ttc" id="astructmsdos__sb__info_html"><div class="ttname"><a href="../../db/d28/structmsdos__sb__info.html">msdos_sb_info</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d8/dff/msdos__fs_8h_source.html#l00035">msdos_fs.h:35</a></div></div> <div class="ttc" id="astructinode__operations_html_a65da2c7438988c419c78f78b3d87cac7"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a65da2c7438988c419c78f78b3d87cac7">inode_operations::unlink</a></div><div class="ttdeci">int(* unlink)(struct inode *, const char *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00078">vfs.h:78</a></div></div> <div class="ttc" id="astructinode__operations_html"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html">inode_operations</a></div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00073">vfs.h:73</a></div></div> <div class="ttc" id="astructfileSystem_html_aa1b7987f710ba203dffb15590ff58ce0"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#aa1b7987f710ba203dffb15590ff58ce0">fileSystem::vfsType</a></div><div class="ttdeci">int vfsType</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00070">vfs.h:70</a></div></div> <div class="ttc" id="astructsuper__block_html_aa5fd3a110b1a0ddd2793cf834a424975"><div class="ttname"><a href="../../de/d37/structsuper__block.html#aa5fd3a110b1a0ddd2793cf834a424975">super_block::s_time</a></div><div class="ttdeci">unsigned long s_time</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00117">vfs.h:117</a></div></div> <div class="ttc" id="astructsuper__operations_html_ad3f81a8ac9bb6ca4f5666bc6232eb592"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#ad3f81a8ac9bb6ca4f5666bc6232eb592">super_operations::read_inode</a></div><div class="ttdeci">void(* read_inode)(struct inode *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00097">vfs.h:97</a></div></div> <div class="ttc" id="astructinode__operations_html_a9498ad8187220a0751acc29b725f1fe3"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a9498ad8187220a0751acc29b725f1fe3">inode_operations::permission</a></div><div class="ttdeci">int(* permission)(struct inode *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00088">vfs.h:88</a></div></div> <div class="ttc" id="astructsuper__block_html_abccfa8828135623cb39f5ff7b8d3be7f"><div class="ttname"><a href="../../de/d37/structsuper__block.html#abccfa8828135623cb39f5ff7b8d3be7f">super_block::s_wait</a></div><div class="ttdeci">struct wait_queue * s_wait</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00120">vfs.h:120</a></div></div> <div class="ttc" id="astructstatfs_html"><div class="ttname"><a href="../../db/dc9/structstatfs.html">statfs</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d29/mount_8h_source.html#l00041">mount.h:41</a></div></div> <div class="ttc" id="astructinode__operations_html_ae2d0cd46daad5f8edbbc6bf272f5f6ef"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#ae2d0cd46daad5f8edbbc6bf272f5f6ef">inode_operations::lookup</a></div><div class="ttdeci">int(* lookup)(struct inode *, const char *, int, struct inode **)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00076">vfs.h:76</a></div></div> <div class="ttc" id="amount_8h_html"><div class="ttname"><a href="../../d2/d29/mount_8h.html">mount.h</a></div></div> <div class="ttc" id="ainclude_2sys_2types_8h_html_afa178be408981cc5edd64227b6332fc6"><div class="ttname"><a href="../../d0/d27/include_2sys_2types_8h.html#afa178be408981cc5edd64227b6332fc6">off_t</a></div><div class="ttdeci">__int64_t off_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d27/include_2sys_2types_8h_source.html#l00119">types.h:119</a></div></div> <div class="ttc" id="astructwait__queue_html"><div class="ttname"><a href="../../d6/d6e/structwait__queue.html">wait_queue</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d1/df2/wait_8h_source.html#l00034">wait.h:34</a></div></div> <div class="ttc" id="astructsuper__operations_html_ac2d5b20c8406fe65285daa09beb32ef5"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#ac2d5b20c8406fe65285daa09beb32ef5">super_operations::put_inode</a></div><div class="ttdeci">void(* put_inode)(struct inode *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00100">vfs.h:100</a></div></div> <div class="ttc" id="anet_8h_html"><div class="ttname"><a href="../../d7/d97/net_8h.html">net.h</a></div></div> <div class="ttc" id="astructsuper__block_html_ad9e59d58fdb5ede31dc4aac235d2ab53"><div class="ttname"><a href="../../de/d37/structsuper__block.html#ad9e59d58fdb5ede31dc4aac235d2ab53">super_block::s_op</a></div><div class="ttdeci">struct super_operations * s_op</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00114">vfs.h:114</a></div></div> <div class="ttc" id="astructsuper__block_html_a52e1a19903777b16396bb347d21d843a"><div class="ttname"><a href="../../de/d37/structsuper__block.html#a52e1a19903777b16396bb347d21d843a">super_block::s_dirt</a></div><div class="ttdeci">unsigned char s_dirt</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00113">vfs.h:113</a></div></div> <div class="ttc" id="athread_8h_html"><div class="ttname"><a href="../../db/dd5/thread_8h.html">thread.h</a></div></div> <div class="ttc" id="astructfileSystem_html_ad8f269aaf16c2ed5b2171b18a0bee418"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#ad8f269aaf16c2ed5b2171b18a0bee418">fileSystem::vfsUnlink</a></div><div class="ttdeci">int(* vfsUnlink)(char *, void *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00066">vfs.h:66</a></div></div> <div class="ttc" id="astructsuper__block_html_ab512ca6a0a83eecffe89740646927228"><div class="ttname"><a href="../../de/d37/structsuper__block.html#ab512ca6a0a83eecffe89740646927228">super_block::s_mounted</a></div><div class="ttdeci">struct inode * s_mounted</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00119">vfs.h:119</a></div></div> <div class="ttc" id="astructfileSystem_html_af2816f106f39d0355faf5689d92a9b8b"><div class="ttname"><a href="../../de/dfb/structfileSystem.html#af2816f106f39d0355faf5689d92a9b8b">fileSystem::vfsOpenFile</a></div><div class="ttdeci">int(* vfsOpenFile)(void *, void *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00065">vfs.h:65</a></div></div> <div class="ttc" id="astructsuper__operations_html_a600df86ad28345eabc0e69ca919e8827"><div class="ttname"><a href="../../d1/d80/structsuper__operations.html#a600df86ad28345eabc0e69ca919e8827">super_operations::write_inode</a></div><div class="ttdeci">void(* write_inode)(struct inode *)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00099">vfs.h:99</a></div></div> <div class="ttc" id="astructinode__operations_html_a5eaa8822225ea18bbc4f1ab9037b1852"><div class="ttname"><a href="../../dd/d5f/structinode__operations.html#a5eaa8822225ea18bbc4f1ab9037b1852">inode_operations::rename</a></div><div class="ttdeci">int(* rename)(struct inode *, const char *, int, struct inode *, const char *, int)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00083">vfs.h:83</a></div></div> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_cafcb9860fd0c7b68e641af1975fb540.html">vfs</a></li><li class="navelem"><a class="el" href="../../db/da9/include_2vfs_2vfs_8h.html">vfs.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>