<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: src/sys/include/ubixfs/ubixfs.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <div class="nav"> <a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a> » <a class="el" href="dir_0da430bc12a622a01803598a1e7c0e05.html">ubixfs</a></div> <h1>ubixfs.h File Reference</h1><code>#include <<a class="el" href="types_8h-source.html">ubixos/types.h</a>></code><br> <code>#include <<a class="el" href="vfs_8h-source.html">vfs/vfs.h</a>></code><br> <code>#include <<a class="el" href="device_8h-source.html">sys/device.h</a>></code><br> <code>#include <<a class="el" href="mpi_8h-source.html">mpi/mpi.h</a>></code><br> <code>#include <<a class="el" href="dirCache_8h-source.html">ubixfs/dirCache.h</a>></code><br> <p> Include dependency graph for ubixfs.h:<p><center><img src="ubixfs_8h__incl.png" border="0" usemap="#src/sys/include/ubixfs/ubixfs.h_map" alt=""></center> <map name="src/sys/include/ubixfs/ubixfs.h_map"> <area href="types_8h.html" shape="rect" coords="471,107,591,133" alt=""> <area href="vfs_8h.html" shape="rect" coords="312,56,389,83" alt=""> <area href="device_8h.html" shape="rect" coords="297,107,404,133" alt=""> <area href="mpi_8h.html" shape="rect" coords="305,157,396,184" alt=""> <area href="dirCache_8h.html" shape="rect" coords="281,208,420,235" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="ubixfs_8h__dep__incl.png" border="0" usemap="#src/sys/include/ubixfs/ubixfs.hdep_map" alt=""></center> <map name="src/sys/include/ubixfs/ubixfs.hdep_map"> <area href="hd_8h.html" shape="rect" coords="284,56,465,83" alt=""> <area href="init_8h.html" shape="rect" coords="519,5,727,32" alt=""> <area href="syscall_8c.html" shape="rect" coords="287,107,463,133" alt=""> <area href="block_8c.html" shape="rect" coords="292,157,457,184" alt=""> <area href="dirCache_8c.html" shape="rect" coords="280,208,469,235" alt=""> <area href="directory_8c.html" shape="rect" coords="281,259,468,285" alt=""> <area href="thread_8c.html" shape="rect" coords="288,309,461,336" alt=""> <area href="ubixfs_8c.html" shape="rect" coords="289,360,460,387" alt=""> <area href="hd_8c.html" shape="rect" coords="560,56,685,83" alt=""> <area href="main_8c.html" shape="rect" coords="776,5,920,32" alt=""> </map> <p> <a href="ubixfs_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structblockAllocationTableEntry.html">blockAllocationTableEntry</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structbootSect.html">bootSect</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structdirectoryEntry.html">directoryEntry</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structdirectoryList.html">directoryList</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpartitionInformation.html">partitionInformation</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structubixDiskLabel.html">ubixDiskLabel</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structubixDiskLabel_1_1ubixPartitions.html">ubixDiskLabel::ubixPartitions</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structubixFSInfo.html">ubixFSInfo</a></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#d4eebb29e7c75230c032b1e6f71e061d">blockSize</a> 8</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#9c66702437ce6449d7886b4dbaad3c02">EOBC</a> -1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#e5bdc5213c0fa1f31c2ff20c158e7c97">MAXUBIXPARTITIONS</a> 16</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#beed60f8493a7dd3bfdfc2e41c1d700c">typeContainer</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#b0df352296e0f22896675aba0aa11b6e">typeDeleted</a> 8</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#c3414f1c06fc8a9d01787cde437ec5b9">typeDirectory</a> 4</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#e1596b995fc42be2fe1cfbe0ee9b8d61">typeFile</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#1b1ab97d6d5dfbfb20f0f80d7c625941">UBIXDISKMAGIC</a> ((<a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)0x45)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#bd7a711afb8ae672c3e08a9308d06c5b">UBIXFS_ALIGN</a>(size) (size + ((((size) % (UBIXFS_BLOCKSIZE_BYTES)) == 0)? 0 : ((UBIXFS_BLOCKSIZE_BYTES) - ((size) % (UBIXFS_BLOCKSIZE_BYTES)))))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#dab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a> blockSize*512</td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structdirectoryList.html">directoryList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#d04230b24061b77cd5971ef2ce2b2b1d">dirList_t</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#756e1f497c4d9fed64ac0a2256f9fa46">addDirEntry</a> (struct <a class="el" href="structdirectoryEntry.html">directoryEntry</a> *dir, <a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#182b9be545371d2fcda6981134de2b44">freeBlocks</a> (int block, <a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#d2880707d0f942f5119f946db4e13e4e">getFreeBlocks</a> (int count, <a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#173757dd173062c905191b7897737f5b">readFile</a> (char *<a class="el" href="structfile.html">file</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#3882cc85dc373eba13315dfb0da4c578">readUbixFS</a> (<a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd, char *data, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, long size)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#99dfa2e54401fafb70357a6632c4ef10">syncBat</a> (struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> *mp)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#1d4159e0eb816b6b23c214d7c601dcb4">ubixfs_init</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#2c53ad6e6ce2e149eec9b5361dd10eda">ubixfs_initialize</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#7400c9aaa5ced0d1c81ac05a129cfb20">ubixfs_thread</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structdirectoryList.html">dirList_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#3f7a88e7f709a200096c93c0deb13ec2">ubixFSLoadDir</a> (char *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#a3a7f1d4d6f7d2477798e933acf2cb3f">ubixFSmkDir</a> (char *dir, <a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#dfbafb62e063e24f4df09029862ba9d0">ubixFSUnlink</a> (char *path, struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> *mp)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#4c7f9c50f698ab4cdde8655aaf6363aa">writeFileByte</a> (int ch, <a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd, long offset)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8h.html#ba0435c266346dd10ac3cbc68655b20c">writeUbixFS</a> (<a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd, char *data, long offset, long size)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="d4eebb29e7c75230c032b1e6f71e061d"></a><!-- doxytag: member="ubixfs.h::blockSize" ref="d4eebb29e7c75230c032b1e6f71e061d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define blockSize 8 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00045">45</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00341">ubixfs_loadData()</a>, <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>, and <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>. </div> </div><p> <a class="anchor" name="9c66702437ce6449d7886b4dbaad3c02"></a><!-- doxytag: member="ubixfs.h::EOBC" ref="9c66702437ce6449d7886b4dbaad3c02" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EOBC -1 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00048">48</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>. </div> </div><p> <a class="anchor" name="e5bdc5213c0fa1f31c2ff20c158e7c97"></a><!-- doxytag: member="ubixfs.h::MAXUBIXPARTITIONS" ref="e5bdc5213c0fa1f31c2ff20c158e7c97" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MAXUBIXPARTITIONS 16 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00044">44</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. </div> </div><p> <a class="anchor" name="beed60f8493a7dd3bfdfc2e41c1d700c"></a><!-- doxytag: member="ubixfs.h::typeContainer" ref="beed60f8493a7dd3bfdfc2e41c1d700c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeContainer 2 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00052">52</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. </div> </div><p> <a class="anchor" name="b0df352296e0f22896675aba0aa11b6e"></a><!-- doxytag: member="ubixfs.h::typeDeleted" ref="b0df352296e0f22896675aba0aa11b6e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeDeleted 8 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00054">54</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00309">ubixFSUnlink()</a>. </div> </div><p> <a class="anchor" name="c3414f1c06fc8a9d01787cde437ec5b9"></a><!-- doxytag: member="ubixfs.h::typeDirectory" ref="c3414f1c06fc8a9d01787cde437ec5b9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeDirectory 4 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00053">53</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>. </div> </div><p> <a class="anchor" name="e1596b995fc42be2fe1cfbe0ee9b8d61"></a><!-- doxytag: member="ubixfs.h::typeFile" ref="e1596b995fc42be2fe1cfbe0ee9b8d61" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeFile 1 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00051">51</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="dirCache_8c-source.html#l00055">ubixfs_cacheFind()</a>. </div> </div><p> <a class="anchor" name="1b1ab97d6d5dfbfb20f0f80d7c625941"></a><!-- doxytag: member="ubixfs.h::UBIXDISKMAGIC" ref="1b1ab97d6d5dfbfb20f0f80d7c625941" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UBIXDISKMAGIC ((<a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)0x45) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00043">43</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00376">ubixfs_initialize()</a>. </div> </div><p> <a class="anchor" name="bd7a711afb8ae672c3e08a9308d06c5b"></a><!-- doxytag: member="ubixfs.h::UBIXFS_ALIGN" ref="bd7a711afb8ae672c3e08a9308d06c5b" args="(size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UBIXFS_ALIGN </td> <td>(</td> <td class="paramtype">size </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> (size + ((((size) % (UBIXFS_BLOCKSIZE_BYTES)) == 0)? 0 : ((UBIXFS_BLOCKSIZE_BYTES) - ((size) % (UBIXFS_BLOCKSIZE_BYTES)))))</td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00041">41</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00046">openFileUbixFS()</a>, and <a class="el" href="ubixfs_8c-source.html#l00341">ubixfs_loadData()</a>. </div> </div><p> <a class="anchor" name="dab92bc23023fba8f349eb34bf5acf46"></a><!-- doxytag: member="ubixfs.h::UBIXFS_BLOCKSIZE_BYTES" ref="dab92bc23023fba8f349eb34bf5acf46" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UBIXFS_BLOCKSIZE_BYTES blockSize*512 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00040">40</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00341">ubixfs_loadData()</a>, and <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>. </div> </div><p> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="d04230b24061b77cd5971ef2ce2b2b1d"></a><!-- doxytag: member="ubixfs.h::dirList_t" ref="d04230b24061b77cd5971ef2ce2b2b1d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct <a class="el" href="structdirectoryList.html">directoryList</a>* <a class="el" href="structdirectoryList.html">dirList_t</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8h-source.html#l00065">65</a> of file <a class="el" href="ubixfs_8h-source.html">ubixfs.h</a>. </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="756e1f497c4d9fed64ac0a2256f9fa46"></a><!-- doxytag: member="ubixfs.h::addDirEntry" ref="756e1f497c4d9fed64ac0a2256f9fa46" args="(struct directoryEntry *dir, fileDescriptor *fd)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int addDirEntry </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structdirectoryEntry.html">directoryEntry</a> * </td> <td class="paramname"> <em>dir</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="directory_8c-source.html#l00066">66</a> of file <a class="el" href="directory_8c-source.html">directory.c</a>. <p> References <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="file_8h-source.html#l00052">fileDescriptorStruct::offset</a>, <a class="el" href="ubixfs_8c-source.html#l00194">readUbixFS()</a>, <a class="el" href="file_8h-source.html#l00053">fileDescriptorStruct::size</a>, <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>. <p> Referenced by <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_756e1f497c4d9fed64ac0a2256f9fa46_cgraph.png" border="0" usemap="#ubixfs_8h_756e1f497c4d9fed64ac0a2256f9fa46_cgraph_map" alt=""></center> <map name="ubixfs_8h_756e1f497c4d9fed64ac0a2256f9fa46_cgraph_map"> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="331,208,405,235" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="897,81,964,108" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="169,125,249,152" alt=""> <area href="ubixfs_8h.html#3882cc85dc373eba13315dfb0da4c578" shape="rect" coords="160,68,259,95" alt=""> <area href="ubixfs_8h.html#ba0435c266346dd10ac3cbc68655b20c" shape="rect" coords="159,360,260,387" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="476,309,596,336" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="891,385,971,412" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="883,284,979,311" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="475,157,597,184" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="707,107,773,133" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="701,512,779,539" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="645,309,835,336" alt=""> <area href="ubixfs_8h.html#d2880707d0f942f5119f946db4e13e4e" shape="rect" coords="311,411,425,437" alt=""> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="340,360,396,387" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="335,461,401,488" alt=""> <area href="ubixfs_8h.html#99dfa2e54401fafb70357a6632c4ef10" shape="rect" coords="499,613,573,640" alt=""> </map> </div> </div><p> <a class="anchor" name="182b9be545371d2fcda6981134de2b44"></a><!-- doxytag: member="ubixfs.h::freeBlocks" ref="182b9be545371d2fcda6981134de2b44" args="(int block, fileDescriptor *fd)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int freeBlocks </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="block_8c-source.html#l00079">79</a> of file <a class="el" href="block_8c-source.html">block.c</a>. <p> References <a class="el" href="ubixfs_8h-source.html#l00096">blockAllocationTableEntry::attributes</a>, <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="file_8h-source.html#l00049">fileDescriptorStruct::mp</a>, <a class="el" href="ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, and <a class="el" href="block_8c-source.html#l00074">syncBat()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_182b9be545371d2fcda6981134de2b44_cgraph.png" border="0" usemap="#ubixfs_8h_182b9be545371d2fcda6981134de2b44_cgraph_map" alt=""></center> <map name="ubixfs_8h_182b9be545371d2fcda6981134de2b44_cgraph_map"> <area href="ubixfs_8h.html#99dfa2e54401fafb70357a6632c4ef10" shape="rect" coords="148,5,223,32" alt=""> </map> </div> </div><p> <a class="anchor" name="d2880707d0f942f5119f946db4e13e4e"></a><!-- doxytag: member="ubixfs.h::getFreeBlocks" ref="d2880707d0f942f5119f946db4e13e4e" args="(int count, fileDescriptor *fd)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int getFreeBlocks </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="block_8c-source.html#l00096">96</a> of file <a class="el" href="block_8c-source.html">block.c</a>. <p> References <a class="el" href="ubixfs_8h-source.html#l00096">blockAllocationTableEntry::attributes</a>, <a class="el" href="ubixfs_8h-source.html#l00133">ubixFSInfo::batEntries</a>, <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="file_8h-source.html#l00049">fileDescriptorStruct::mp</a>, <a class="el" href="ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="block_8c-source.html#l00074">syncBat()</a>, and <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>. <p> Referenced by <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>, and <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_d2880707d0f942f5119f946db4e13e4e_cgraph.png" border="0" usemap="#ubixfs_8h_d2880707d0f942f5119f946db4e13e4e_cgraph_map" alt=""></center> <map name="ubixfs_8h_d2880707d0f942f5119f946db4e13e4e_cgraph_map"> <area href="ubixfs_8h.html#99dfa2e54401fafb70357a6632c4ef10" shape="rect" coords="172,5,247,32" alt=""> </map> </div> </div><p> <a class="anchor" name="173757dd173062c905191b7897737f5b"></a><!-- doxytag: member="ubixfs.h::readFile" ref="173757dd173062c905191b7897737f5b" args="(char *file)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int readFile </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>file</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3882cc85dc373eba13315dfb0da4c578"></a><!-- doxytag: member="ubixfs.h::readUbixFS" ref="3882cc85dc373eba13315dfb0da4c578" args="(fileDescriptor *fd, char *data, uInt32, long size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int readUbixFS </td> <td>(</td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>size</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8c-source.html#l00194">194</a> of file <a class="el" href="ubixfs_8c-source.html">ubixfs.c</a>. <p> References <a class="el" href="assert_8h-source.html#l00064">assert</a>, <a class="el" href="file_8h-source.html#l00059">fileDescriptorStruct::cacheNode</a>, <a class="el" href="vfs_8h-source.html#l00043">fdEof</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="dirCache_8h-source.html#l00014">cacheNode::info</a>, <a class="el" href="kpanic_8c-source.html#l00042">kpanic()</a>, <a class="el" href="file_8h-source.html#l00049">fileDescriptorStruct::mp</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="dirCache_8h-source.html#l00016">cacheNode::present</a>, <a class="el" href="file_8h-source.html#l00053">fileDescriptorStruct::size</a>, and <a class="el" href="file_8h-source.html#l00050">fileDescriptorStruct::status</a>. <p> Referenced by <a class="el" href="directory_8c-source.html#l00066">addDirEntry()</a>, and <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_3882cc85dc373eba13315dfb0da4c578_cgraph.png" border="0" usemap="#ubixfs_8h_3882cc85dc373eba13315dfb0da4c578_cgraph_map" alt=""></center> <map name="ubixfs_8h_3882cc85dc373eba13315dfb0da4c578_cgraph_map"> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="152,56,219,83" alt=""> <area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="267,5,357,32" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="279,56,345,83" alt=""> <area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="276,107,348,133" alt=""> <area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="409,81,484,108" alt=""> <area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="407,132,487,159" alt=""> </map> </div> </div><p> <a class="anchor" name="99dfa2e54401fafb70357a6632c4ef10"></a><!-- doxytag: member="ubixfs.h::syncBat" ref="99dfa2e54401fafb70357a6632c4ef10" args="(struct vfs_mountPoint *mp)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void syncBat </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> * </td> <td class="paramname"> <em>mp</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="block_8c-source.html#l00074">74</a> of file <a class="el" href="block_8c-source.html">block.c</a>. <p> References <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00039">vfs_mountPoint::device</a>, <a class="el" href="device_8h-source.html#l00038">device_node::devInfo</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::diskLabel</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#a97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, and <a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">device_interface::write</a>. <p> Referenced by <a class="el" href="block_8c-source.html#l00079">freeBlocks()</a>, and <a class="el" href="block_8c-source.html#l00096">getFreeBlocks()</a>. </div> </div><p> <a class="anchor" name="1d4159e0eb816b6b23c214d7c601dcb4"></a><!-- doxytag: member="ubixfs.h::ubixfs_init" ref="1d4159e0eb816b6b23c214d7c601dcb4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int ubixfs_init </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8c-source.html#l00456">456</a> of file <a class="el" href="ubixfs_8c-source.html">ubixfs.c</a>. <p> References <a class="el" href="kpanic_8c-source.html#l00042">kpanic()</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="ubixfs_8c-source.html#l00046">openFileUbixFS()</a>, <a class="el" href="ubixfs_8c-source.html#l00194">readUbixFS()</a>, <a class="el" href="ubixfs_8h.html#2c53ad6e6ce2e149eec9b5361dd10eda">ubixfs_initialize()</a>, <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>, <a class="el" href="ubixfs_8c-source.html#l00309">ubixFSUnlink()</a>, <a class="el" href="vfs_8c-source.html#l00081">vfsRegisterFS()</a>, <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>, and <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_1d4159e0eb816b6b23c214d7c601dcb4_cgraph.png" border="0" usemap="#ubixfs_8h_1d4159e0eb816b6b23c214d7c601dcb4_cgraph_map" alt=""></center> <map name="ubixfs_8h_1d4159e0eb816b6b23c214d7c601dcb4_cgraph_map"> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="705,56,772,83" alt=""> <area href="ubixfs_8c.html#0ab17f87a44bc7bb7ee3c76262f80e94" shape="rect" coords="320,587,445,613" alt=""> <area href="ubixfs_8h.html#3882cc85dc373eba13315dfb0da4c578" shape="rect" coords="513,56,612,83" alt=""> <area href="ubixfs_8h.html#2c53ad6e6ce2e149eec9b5361dd10eda" shape="rect" coords="145,259,271,285" alt=""> <area href="ubixfs_8h.html#a3a7f1d4d6f7d2477798e933acf2cb3f" shape="rect" coords="155,208,261,235" alt=""> <area href="ubixfs_8h.html#ba0435c266346dd10ac3cbc68655b20c" shape="rect" coords="512,259,613,285" alt=""> <area href="ubixfs_8h.html#dfbafb62e063e24f4df09029862ba9d0" shape="rect" coords="508,536,617,563" alt=""> <area href="vfs_8h.html#8652b1ccbcf7d2a872c5781640f7d59a" shape="rect" coords="327,688,439,715" alt=""> <area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="845,81,936,108" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="857,485,924,512" alt=""> <area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="855,31,927,57" alt=""> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="701,485,776,512" alt=""> <area href="dirCache_8h.html#d136be51f0e49671914a4f0db3bb2314" shape="rect" coords="495,435,631,461" alt=""> <area href="ubixfs_8c.html#ec127f9c4f26d2021e637f5f92ef8e12" shape="rect" coords="497,587,628,613" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="705,435,772,461" alt=""> <area href="ubixfs_8h.html#756e1f497c4d9fed64ac0a2256f9fa46" shape="rect" coords="332,259,433,285" alt=""> <area href="ubixfs_8h.html#d2880707d0f942f5119f946db4e13e4e" shape="rect" coords="681,157,796,184" alt=""> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="711,107,767,133" alt=""> <area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="351,157,415,184" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="523,360,603,387" alt=""> <area href="vfs_8c.html#c49aa10a62b250834a055476c849b7b3" shape="rect" coords="520,840,605,867" alt=""> </map> </div> </div><p> <a class="anchor" name="2c53ad6e6ce2e149eec9b5361dd10eda"></a><!-- doxytag: member="ubixfs.h::ubixfs_initialize" ref="2c53ad6e6ce2e149eec9b5361dd10eda" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int ubixfs_initialize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>. </div> </div><p> <a class="anchor" name="7400c9aaa5ced0d1c81ac05a129cfb20"></a><!-- doxytag: member="ubixfs.h::ubixfs_thread" ref="7400c9aaa5ced0d1c81ac05a129cfb20" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ubixfs_thread </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3f7a88e7f709a200096c93c0deb13ec2"></a><!-- doxytag: member="ubixfs.h::ubixFSLoadDir" ref="3f7a88e7f709a200096c93c0deb13ec2" args="(char *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structdirectoryList.html">dirList_t</a> ubixFSLoadDir </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="directory_8c-source.html#l00041">41</a> of file <a class="el" href="directory_8c-source.html">directory.c</a>. <p> References <a class="el" href="ubixfs_8h-source.html#l00059">directoryList::dirCache</a>, <a class="el" href="directory_8c-source.html#l00038">dirList</a>, <a class="el" href="ubixfs_8h-source.html#l00058">directoryList::dirName</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="ubixfs_8h-source.html#l00061">directoryList::next</a>, <a class="el" href="ubixfs_8h-source.html#l00062">directoryList::prev</a>, <a class="el" href="kprintf_8c-source.html#l00051">sprintf()</a>, and <a class="el" href="string_8c-source.html#l00032">strcmp()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_3f7a88e7f709a200096c93c0deb13ec2_cgraph.png" border="0" usemap="#ubixfs_8h_3f7a88e7f709a200096c93c0deb13ec2_cgraph_map" alt=""></center> <map name="ubixfs_8h_3f7a88e7f709a200096c93c0deb13ec2_cgraph_map"> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="173,122,248,148" alt=""> <area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="179,172,243,199" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="177,223,244,250" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="297,198,417,224" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="719,46,785,72" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="712,324,792,351" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="704,223,800,250" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="296,71,419,98" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="528,71,595,98" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="523,172,600,199" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="467,274,656,300" alt=""> </map> </div> </div><p> <a class="anchor" name="a3a7f1d4d6f7d2477798e933acf2cb3f"></a><!-- doxytag: member="ubixfs.h::ubixFSmkDir" ref="a3a7f1d4d6f7d2477798e933acf2cb3f" args="(char *dir, fileDescriptor *fd)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int ubixFSmkDir </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>dir</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="directory_8c-source.html#l00094">94</a> of file <a class="el" href="directory_8c-source.html">directory.c</a>. <p> References <a class="el" href="directory_8c-source.html#l00066">addDirEntry()</a>, <a class="el" href="ubixfs_8h-source.html#l00110">directoryEntry::attributes</a>, <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="ubixfs_8h-source.html#l00045">blockSize</a>, <a class="el" href="mount_8h-source.html#l00039">vfs_mountPoint::device</a>, <a class="el" href="device_8h-source.html#l00038">device_node::devInfo</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::diskLabel</a>, <a class="el" href="ubixfs_8h-source.html#l00112">directoryEntry::fileName</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="block_8c-source.html#l00096">getFreeBlocks()</a>, <a class="el" href="device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="file_8h-source.html#l00049">fileDescriptorStruct::mp</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#a97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="ubixfs_8h-source.html#l00111">directoryEntry::permissions</a>, <a class="el" href="ubixfs_8h-source.html#l00097">blockAllocationTableEntry::realSector</a>, <a class="el" href="ubixfs_8h-source.html#l00105">directoryEntry::size</a>, <a class="el" href="kprintf_8c-source.html#l00051">sprintf()</a>, <a class="el" href="ubixfs_8h-source.html#l00104">directoryEntry::startCluster</a>, <a class="el" href="ubixfs_8h-source.html#l00053">typeDirectory</a>, <a class="el" href="ubixfs_8h-source.html#l00040">UBIXFS_BLOCKSIZE_BYTES</a>, and <a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">device_interface::write</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_a3a7f1d4d6f7d2477798e933acf2cb3f_cgraph.png" border="0" usemap="#ubixfs_8h_a3a7f1d4d6f7d2477798e933acf2cb3f_cgraph_map" alt=""></center> <map name="ubixfs_8h_a3a7f1d4d6f7d2477798e933acf2cb3f_cgraph_map"> <area href="ubixfs_8h.html#756e1f497c4d9fed64ac0a2256f9fa46" shape="rect" coords="164,221,266,248" alt=""> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="488,208,563,235" alt=""> <area href="ubixfs_8h.html#d2880707d0f942f5119f946db4e13e4e" shape="rect" coords="468,399,583,425" alt=""> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="498,348,554,375" alt=""> <area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="183,449,247,476" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="947,309,1014,336" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="327,297,407,324" alt=""> <area href="ubixfs_8h.html#3882cc85dc373eba13315dfb0da4c578" shape="rect" coords="644,107,743,133" alt=""> <area href="ubixfs_8h.html#ba0435c266346dd10ac3cbc68655b20c" shape="rect" coords="316,247,418,273" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="634,259,754,285" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="811,309,891,336" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="803,259,899,285" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="632,208,755,235" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="818,208,884,235" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="492,259,559,285" alt=""> </map> </div> </div><p> <a class="anchor" name="dfbafb62e063e24f4df09029862ba9d0"></a><!-- doxytag: member="ubixfs.h::ubixFSUnlink" ref="dfbafb62e063e24f4df09029862ba9d0" args="(char *path, struct vfs_mountPoint *mp)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ubixFSUnlink </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> * </td> <td class="paramname"> <em>mp</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8c-source.html#l00309">309</a> of file <a class="el" href="ubixfs_8c-source.html">ubixfs.c</a>. <p> References <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00039">vfs_mountPoint::device</a>, <a class="el" href="device_8h-source.html#l00038">device_node::devInfo</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::diskLabel</a>, <a class="el" href="ubixfs_8h-source.html#l00112">directoryEntry::fileName</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#a97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="structdevice__interface.html#6caf84418059d0121e76d873e305ddcb">device_interface::read</a>, <a class="el" href="ubixfs_8h-source.html#l00134">ubixFSInfo::rootDir</a>, <a class="el" href="string_8c-source.html#l00032">strcmp()</a>, <a class="el" href="ubixfs_8h-source.html#l00054">typeDeleted</a>, <a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">device_interface::write</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>. <p> Referenced by <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_dfbafb62e063e24f4df09029862ba9d0_cgraph.png" border="0" usemap="#ubixfs_8h_dfbafb62e063e24f4df09029862ba9d0_cgraph_map" alt=""></center> <map name="ubixfs_8h_dfbafb62e063e24f4df09029862ba9d0_cgraph_map"> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="163,284,238,311" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="708,360,775,387" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="167,461,234,488" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="287,183,407,209" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="702,208,782,235" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="694,56,790,83" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="286,309,408,336" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="518,309,584,336" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="512,157,590,184" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="456,107,646,133" alt=""> </map> </div> </div><p> <a class="anchor" name="4c7f9c50f698ab4cdde8655aaf6363aa"></a><!-- doxytag: member="ubixfs.h::writeFileByte" ref="4c7f9c50f698ab4cdde8655aaf6363aa" args="(int ch, fileDescriptor *fd, long offset)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int writeFileByte </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>ch</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>offset</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8c-source.html#l00118">118</a> of file <a class="el" href="ubixfs_8c-source.html">ubixfs.c</a>. <p> References <a class="el" href="assert_8h-source.html#l00064">assert</a>, <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::diskLabel</a>, <a class="el" href="vfs_8h-source.html#l00041">fdOpen</a>, <a class="el" href="vfs_8h-source.html#l00042">fdRead</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="file_8h-source.html#l00049">fileDescriptorStruct::mp</a>, <a class="el" href="ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#a97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="ubixfs_8h-source.html#l00080">ubixDiskLabel::ubixPartitions::pBatSize</a>, <a class="el" href="file_8h-source.html#l00055">fileDescriptorStruct::start</a>, and <a class="el" href="file_8h-source.html#l00050">fileDescriptorStruct::status</a>. </div> </div><p> <a class="anchor" name="ba0435c266346dd10ac3cbc68655b20c"></a><!-- doxytag: member="ubixfs.h::writeUbixFS" ref="ba0435c266346dd10ac3cbc68655b20c" args="(fileDescriptor *fd, char *data, long offset, long size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int writeUbixFS </td> <td>(</td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>size</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfs_8c-source.html#l00232">232</a> of file <a class="el" href="ubixfs_8c-source.html">ubixfs.c</a>. <p> References <a class="el" href="assert_8h-source.html#l00064">assert</a>, <a class="el" href="ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="ubixfs_8h-source.html#l00045">blockSize</a>, <a class="el" href="file_8h-source.html#l00057">fileDescriptorStruct::buffer</a>, <a class="el" href="mount_8h-source.html#l00039">vfs_mountPoint::device</a>, <a class="el" href="device_8h-source.html#l00038">device_node::devInfo</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::diskLabel</a>, <a class="el" href="ubixfs_8h-source.html#l00048">EOBC</a>, <a class="el" href="ubixfs_8h-source.html#l00112">directoryEntry::fileName</a>, <a class="el" href="file_8h-source.html#l00056">fileDescriptorStruct::fileName</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::fsInfo</a>, <a class="el" href="block_8c-source.html#l00096">getFreeBlocks()</a>, <a class="el" href="device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="file_8h-source.html#l00049">fileDescriptorStruct::mp</a>, <a class="el" href="ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#a97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="structdevice__interface.html#6caf84418059d0121e76d873e305ddcb">device_interface::read</a>, <a class="el" href="ubixfs_8h-source.html#l00097">blockAllocationTableEntry::realSector</a>, <a class="el" href="file_8h-source.html#l00053">fileDescriptorStruct::size</a>, <a class="el" href="ubixfs_8h-source.html#l00105">directoryEntry::size</a>, <a class="el" href="file_8h-source.html#l00055">fileDescriptorStruct::start</a>, <a class="el" href="ubixfs_8h-source.html#l00104">directoryEntry::startCluster</a>, <a class="el" href="string_8c-source.html#l00032">strcmp()</a>, <a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">device_interface::write</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>. <p> Referenced by <a class="el" href="directory_8c-source.html#l00066">addDirEntry()</a>, and <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>. <p> Here is the call graph for this function:<p><center><img src="ubixfs_8h_ba0435c266346dd10ac3cbc68655b20c_cgraph.png" border="0" usemap="#ubixfs_8h_ba0435c266346dd10ac3cbc68655b20c_cgraph_map" alt=""></center> <map name="ubixfs_8h_ba0435c266346dd10ac3cbc68655b20c_cgraph_map"> <area href="ubixfs_8h.html#d2880707d0f942f5119f946db4e13e4e" shape="rect" coords="159,56,273,83" alt=""> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="188,157,244,184" alt=""> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="179,208,253,235" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="183,259,249,285" alt=""> <area href="ubixfs_8h.html#99dfa2e54401fafb70357a6632c4ef10" shape="rect" coords="347,5,421,32" alt=""> <area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="323,157,445,184" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="745,157,812,184" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="549,309,627,336" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="739,487,819,513" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="731,309,827,336" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="555,157,621,184" alt=""> <area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="875,461,976,488" alt=""> <area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="876,512,975,539" alt=""> <area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="324,360,444,387" alt=""> <area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="493,411,683,437" alt=""> </map> </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:21:12 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>