Newer
Older
ubixos / doc / html / include_2ubixfs_2ubixfs_8h.html
<!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&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;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>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;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>&nbsp;&raquo&nbsp;<a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_0da430bc12a622a01803598a1e7c0e05.html">ubixfs</a></div>
<h1>ubixfs.h File Reference</h1><code>#include &lt;<a class="el" href="include_2ubixos_2types_8h-source.html">ubixos/types.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="include_2vfs_2vfs_8h-source.html">vfs/vfs.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="include_2sys_2device_8h-source.html">sys/device.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="mpi_8h-source.html">mpi/mpi.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="dirCache_8h-source.html">ubixfs/dirCache.h</a>&gt;</code><br>

<p>
<a href="include_2ubixfs_2ubixfs_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 &nbsp;</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 &nbsp;</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 &nbsp;</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 &nbsp;</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 &nbsp;</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 &nbsp;</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 &nbsp;</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 &nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#d4eebb29e7c75230c032b1e6f71e061d">blockSize</a>&nbsp;&nbsp;&nbsp;8</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#9c66702437ce6449d7886b4dbaad3c02">EOBC</a>&nbsp;&nbsp;&nbsp;-1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#e5bdc5213c0fa1f31c2ff20c158e7c97">MAXUBIXPARTITIONS</a>&nbsp;&nbsp;&nbsp;16</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#beed60f8493a7dd3bfdfc2e41c1d700c">typeContainer</a>&nbsp;&nbsp;&nbsp;2</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#b0df352296e0f22896675aba0aa11b6e">typeDeleted</a>&nbsp;&nbsp;&nbsp;8</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#c3414f1c06fc8a9d01787cde437ec5b9">typeDirectory</a>&nbsp;&nbsp;&nbsp;4</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#e1596b995fc42be2fe1cfbe0ee9b8d61">typeFile</a>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#1b1ab97d6d5dfbfb20f0f80d7c625941">UBIXDISKMAGIC</a>&nbsp;&nbsp;&nbsp;((<a class="el" href="ubixfsv2_2types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)0x45)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#bd7a711afb8ae672c3e08a9308d06c5b">UBIXFS_ALIGN</a>(size)&nbsp;&nbsp;&nbsp;(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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#dab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>&nbsp;&nbsp;&nbsp;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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#756e1f497c4d9fed64ac0a2256f9fa46">addDirEntry</a> (struct <a class="el" href="structdirectoryEntry.html">directoryEntry</a> *dir, <a class="el" href="structfileDescriptor.html">fileDescriptor</a> *fd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#182b9be545371d2fcda6981134de2b44">freeBlocks</a> (int block, <a class="el" href="structfileDescriptor.html">fileDescriptor</a> *fd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#d2880707d0f942f5119f946db4e13e4e">getFreeBlocks</a> (int count, <a class="el" href="structfileDescriptor.html">fileDescriptor</a> *fd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#3882cc85dc373eba13315dfb0da4c578">readUbixFS</a> (<a class="el" href="structfileDescriptor.html">fileDescriptor</a> *fd, char *data, <a class="el" href="ubixfsv2_2types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, long size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#1d4159e0eb816b6b23c214d7c601dcb4">ubixfs_init</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#2c53ad6e6ce2e149eec9b5361dd10eda">ubixfs_initialize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#3f7a88e7f709a200096c93c0deb13ec2">ubixFSLoadDir</a> (char *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#a3a7f1d4d6f7d2477798e933acf2cb3f">ubixFSmkDir</a> (char *dir, <a class="el" href="structfileDescriptor.html">fileDescriptor</a> *fd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#4c7f9c50f698ab4cdde8655aaf6363aa">writeFileByte</a> (int ch, <a class="el" href="structfileDescriptor.html">fileDescriptor</a> *fd, long offset)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2ubixfs_2ubixfs_8h.html#ba0435c266346dd10ac3cbc68655b20c">writeUbixFS</a> (<a class="el" href="structfileDescriptor.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&nbsp;&nbsp;&nbsp;8          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00045">45</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;-1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00048">48</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;16          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00044">44</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;2          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00052">52</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;8          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00054">54</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;4          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00053">53</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00051">51</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;((<a class="el" href="ubixfsv2_2types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)0x45)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00043">43</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(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="include_2ubixfs_2ubixfs_8h-source.html#l00041">41</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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&nbsp;&nbsp;&nbsp;blockSize*512          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00040">40</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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="include_2ubixfs_2ubixfs_8h-source.html#l00065">65</a> of file <a class="el" href="include_2ubixfs_2ubixfs_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> *&nbsp;</td>
          <td class="paramname"> <em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em></td><td>&nbsp;</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="ubixfsv2_2file_8h-source.html#l00010">fileDescriptor::offset</a>, <a class="el" href="ubixfs_8c-source.html#l00194">readUbixFS()</a>, <a class="el" href="ubixfsv2_2file_8h-source.html#l00011">fileDescriptor::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>.
</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&nbsp;</td>
          <td class="paramname"> <em>block</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em></td><td>&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00096">blockAllocationTableEntry::attributes</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, and <a class="el" href="block_8c-source.html#l00074">syncBat()</a>.
</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&nbsp;</td>
          <td class="paramname"> <em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em></td><td>&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00096">blockAllocationTableEntry::attributes</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00133">ubixFSInfo::batEntries</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2ubixfs_2ubixfs_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>.
</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 *&nbsp;</td>
          <td class="paramname"> <em>file</em>          </td>
          <td>&nbsp;)&nbsp;</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="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ubixfsv2_2types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</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="shell_8c-source.html#l00047">buffer</a>, <a class="el" href="include_2vfs_2vfs_8h-source.html#l00043">fdEof</a>, <a class="el" href="kpanic_8c-source.html#l00044">kpanic()</a>, <a class="el" href="def_8h-source.html#l00041">NULL</a>, and <a class="el" href="ubixfsv2_2file_8h-source.html#l00011">fileDescriptor::size</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>.
</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> *&nbsp;</td>
          <td class="paramname"> <em>mp</em>          </td>
          <td>&nbsp;)&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::device</a>, <a class="el" href="include_2sys_2device_8h-source.html#l00038">device_node::devInfo</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::diskLabel</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::fsInfo</a>, <a class="el" href="include_2sys_2device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="mount_8h-source.html#l00043">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#ff8b4b31a8831b4cbc95c86745313895">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>&nbsp;)&nbsp;</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#l00044">kpanic()</a>, <a class="el" href="def_8h-source.html#l00041">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="include_2ubixfs_2ubixfs_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#l00080">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>.
</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>&nbsp;)&nbsp;</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>&nbsp;)&nbsp;</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 *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00059">directoryList::dirCache</a>, <a class="el" href="directory_8c-source.html#l00038">dirList</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00058">directoryList::dirName</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00061">directoryList::next</a>, <a class="el" href="include_2ubixfs_2ubixfs_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#l00042">strcmp()</a>.
</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 *&nbsp;</td>
          <td class="paramname"> <em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em></td><td>&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00110">directoryEntry::attributes</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00045">blockSize</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00112">directoryEntry::fileName</a>, <a class="el" href="block_8c-source.html#l00096">getFreeBlocks()</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="include_2ubixfs_2ubixfs_8h-source.html#l00111">directoryEntry::permissions</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00097">blockAllocationTableEntry::realSector</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00105">directoryEntry::size</a>, <a class="el" href="kprintf_8c-source.html#l00051">sprintf()</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00104">directoryEntry::startCluster</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00053">typeDirectory</a>, and <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00040">UBIXFS_BLOCKSIZE_BYTES</a>.
<p>
Referenced by <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>.
</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 *&nbsp;</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> *&nbsp;</td>
          <td class="paramname"> <em>mp</em></td><td>&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h-source.html#l00040">vfs_mountPoint::device</a>, <a class="el" href="include_2sys_2device_8h-source.html#l00038">device_node::devInfo</a>, <a class="el" href="mount_8h-source.html#l00041">vfs_mountPoint::diskLabel</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00112">directoryEntry::fileName</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::fsInfo</a>, <a class="el" href="include_2sys_2device_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#l00043">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#ff8b4b31a8831b4cbc95c86745313895">ubixDiskLabel::partitions</a>, <a class="el" href="structdevice__interface.html#6caf84418059d0121e76d873e305ddcb">device_interface::read</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00134">ubixFSInfo::rootDir</a>, <a class="el" href="string_8c-source.html#l00042">strcmp()</a>, <a class="el" href="include_2ubixfs_2ubixfs_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>.
</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&nbsp;</td>
          <td class="paramname"> <em>ch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>offset</em></td><td>&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2vfs_2vfs_8h-source.html#l00041">fdOpen</a>, <a class="el" href="include_2vfs_2vfs_8h-source.html#l00042">fdRead</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, and <a class="el" href="def_8h-source.html#l00041">NULL</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="structfileDescriptor.html">fileDescriptor</a> *&nbsp;</td>
          <td class="paramname"> <em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</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="include_2ubixfs_2ubixfs_8h-source.html#l00131">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00045">blockSize</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00048">EOBC</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00112">directoryEntry::fileName</a>, <a class="el" href="block_8c-source.html#l00096">getFreeBlocks()</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="include_2ubixfs_2ubixfs_8h-source.html#l00098">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="def_8h-source.html#l00041">NULL</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00097">blockAllocationTableEntry::realSector</a>, <a class="el" href="ubixfsv2_2file_8h-source.html#l00011">fileDescriptor::size</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00105">directoryEntry::size</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h-source.html#l00104">directoryEntry::startCluster</a>, <a class="el" href="string_8c-source.html#l00042">strcmp()</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>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by&nbsp;
<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>