<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: include/ubixfs/ubixfs.h File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d9/d32/include_2ubixfs_2ubixfs_8h.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">ubixfs.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html">sys/types.h</a>></code><br /> <code>#include <<a class="el" href="../../db/da9/include_2vfs_2vfs_8h_source.html">vfs/vfs.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html">sys/device.h</a>></code><br /> <code>#include <<a class="el" href="../../d1/dd8/mpi_8h_source.html">mpi/mpi.h</a>></code><br /> <code>#include <<a class="el" href="../../d1/de9/dirCache_8h_source.html">ubixfs/dirCache.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for ubixfs.h:</div> <div class="dyncontent"> <div class="center"><img src="../../d0/d5d/include_2ubixfs_2ubixfs_8h__incl.png" border="0" usemap="#include_2ubixfs_2ubixfs_8h" alt=""/></div> <map name="include_2ubixfs_2ubixfs_8h" id="include_2ubixfs_2ubixfs_8h"> <area shape="rect" title=" " alt="" coords="1277,5,1427,32"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="1060,976,1151,1003"/> <area shape="rect" href="../../db/da9/include_2vfs_2vfs_8h.html" title=" " alt="" coords="1319,80,1385,107"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="325,752,448,779"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="1217,901,1311,928"/> <area shape="rect" href="../../d1/dd8/mpi_8h.html" title=" " alt="" coords="1753,528,1831,555"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="1230,1200,1327,1227"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="1172,1051,1265,1077"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="1215,1125,1305,1152"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="1021,1125,1139,1152"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="1329,1125,1434,1152"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="1458,1125,1558,1152"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="1321,677,1389,704"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="1601,752,1695,779"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="947,827,1045,853"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="955,752,1043,779"/> <area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="1389,603,1536,629"/> <area shape="rect" href="../../d7/d97/net_8h.html" title=" " alt="" coords="374,155,447,181"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="1219,752,1301,779"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="1070,827,1141,853"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="1624,827,1704,853"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="1507,827,1599,853"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1803,976,1911,1003"/> <area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="1515,901,1597,928"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="1216,827,1304,853"/> <area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="1329,827,1431,853"/> <area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="371,229,450,256"/> <area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="654,603,727,629"/> <area shape="rect" href="../../d6/d40/err_8h.html" title=" " alt="" coords="262,528,333,555"/> <area shape="rect" href="../../de/df7/ip__addr_8h.html" title=" " alt="" coords="454,379,551,405"/> <area shape="rect" href="../../d4/da4/def_8h.html" title=" " alt="" coords="477,528,549,555"/> <area shape="rect" href="../../d0/d35/pbuf_8h.html" title=" " alt="" coords="246,453,325,480"/> <area shape="rect" href="../../d9/d9b/stats_8h.html" title=" " alt="" coords="918,304,1002,331"/> <area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="741,677,843,704"/> <area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="625,677,716,704"/> <area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="520,752,600,779"/> <area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="424,827,523,853"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="736,827,821,853"/> <area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="598,827,711,853"/> <area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="310,901,410,928"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="701,901,771,928"/> <area shape="rect" href="../../d1/da8/ip4__addr_8h.html" title=" " alt="" coords="451,453,555,480"/> <area shape="rect" href="../../d3/d7d/ip6__addr_8h.html" title=" " alt="" coords="579,453,683,480"/> <area shape="rect" href="../../d9/d9a/mem_8h.html" title=" " alt="" coords="859,528,943,555"/> <area shape="rect" href="../../df/dff/memp_8h.html" title=" " alt="" coords="915,379,1005,405"/> <area shape="rect" href="../../d6/d7f/memp__std_8h.html" title=" " alt="" coords="973,453,1112,480"/> <area shape="rect" href="../../d5/d70/memp__priv_8h.html" title=" " alt="" coords="809,453,949,480"/> <area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="1737,603,1847,629"/> <area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="1715,901,1805,928"/> <area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="1830,677,1906,704"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="../../d2/dec/include_2ubixfs_2ubixfs_8h__dep__incl.png" border="0" usemap="#include_2ubixfs_2ubixfs_8hdep" alt=""/></div> <map name="include_2ubixfs_2ubixfs_8hdep" id="include_2ubixfs_2ubixfs_8hdep"> <area shape="rect" title=" " alt="" coords="541,5,691,32"/> <area shape="rect" href="../../d5/d60/arch_2armv6_2syscall_8c.html" title=" " alt="" coords="5,80,147,107"/> <area shape="rect" href="../../d3/d1c/block_8c.html" title=" " alt="" coords="171,80,287,107"/> <area shape="rect" href="../../db/dff/dirCache_8c.html" title=" " alt="" coords="312,80,448,107"/> <area shape="rect" href="../../dc/d20/directory_8c.html" title=" " alt="" coords="473,80,607,107"/> <area shape="rect" href="../../d3/de7/thread_8c.html" title=" " alt="" coords="631,80,753,107"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html" title=" " alt="" coords="777,80,895,107"/> <area shape="rect" href="../../de/d44/hd_8h.html" title=" " alt="" coords="919,80,1033,107"/> <area shape="rect" href="../../d4/d75/ubixos_2init_8h.html" title=" " alt="" coords="1026,155,1163,181"/> <area shape="rect" href="../../d5/d7b/gpt_8c.html" title=" " alt="" coords="791,155,910,181"/> <area shape="rect" href="../../d3/dfa/hd_8c.html" title=" " alt="" coords="934,155,1002,181"/> <area shape="rect" href="../../d0/d29/main_8c.html" title=" " alt="" coords="1053,229,1136,256"/> </map> </div> </div> <p><a href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Data Structures</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/dc4/structblockAllocationTableEntry.html">blockAllocationTableEntry</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d90/structbootSect.html">bootSect</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d3a/structdirectoryEntry.html">directoryEntry</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/dd5/structdirectoryList.html">directoryList</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/ddc/structpartitionInformation.html">partitionInformation</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d6d/structubixDiskLabel.html">ubixDiskLabel</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d5e/structubixDiskLabel_1_1ubixPartitions.html">ubixDiskLabel::ubixPartitions</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d43/structubixFSInfo.html">ubixFSInfo</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:ad4eebb29e7c75230c032b1e6f71e061d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad4eebb29e7c75230c032b1e6f71e061d">blockSize</a>   8</td></tr> <tr class="separator:ad4eebb29e7c75230c032b1e6f71e061d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c66702437ce6449d7886b4dbaad3c02"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a9c66702437ce6449d7886b4dbaad3c02">EOBC</a>   -1</td></tr> <tr class="separator:a9c66702437ce6449d7886b4dbaad3c02"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae5bdc5213c0fa1f31c2ff20c158e7c97"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ae5bdc5213c0fa1f31c2ff20c158e7c97">MAXUBIXPARTITIONS</a>   16</td></tr> <tr class="separator:ae5bdc5213c0fa1f31c2ff20c158e7c97"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abeed60f8493a7dd3bfdfc2e41c1d700c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#abeed60f8493a7dd3bfdfc2e41c1d700c">typeContainer</a>   2</td></tr> <tr class="separator:abeed60f8493a7dd3bfdfc2e41c1d700c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab0df352296e0f22896675aba0aa11b6e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ab0df352296e0f22896675aba0aa11b6e">typeDeleted</a>   8</td></tr> <tr class="separator:ab0df352296e0f22896675aba0aa11b6e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3414f1c06fc8a9d01787cde437ec5b9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ac3414f1c06fc8a9d01787cde437ec5b9">typeDirectory</a>   4</td></tr> <tr class="separator:ac3414f1c06fc8a9d01787cde437ec5b9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae1596b995fc42be2fe1cfbe0ee9b8d61"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ae1596b995fc42be2fe1cfbe0ee9b8d61">typeFile</a>   1</td></tr> <tr class="separator:ae1596b995fc42be2fe1cfbe0ee9b8d61"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b1ab97d6d5dfbfb20f0f80d7c625941"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a1b1ab97d6d5dfbfb20f0f80d7c625941">UBIXDISKMAGIC</a>   ((<a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>)0x45) /* The disk magic number */</td></tr> <tr class="separator:a1b1ab97d6d5dfbfb20f0f80d7c625941"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abd7a711afb8ae672c3e08a9308d06c5b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#abd7a711afb8ae672c3e08a9308d06c5b">UBIXFS_ALIGN</a>(size)   (size + ((((size) % (<a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>)) == 0)? 0 : ((<a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>) - ((size) % (<a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>)))))</td></tr> <tr class="separator:abd7a711afb8ae672c3e08a9308d06c5b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adab92bc23023fba8f349eb34bf5acf46"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>   <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad4eebb29e7c75230c032b1e6f71e061d">blockSize</a>*512</td></tr> <tr class="separator:adab92bc23023fba8f349eb34bf5acf46"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:ad04230b24061b77cd5971ef2ce2b2b1d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="../../de/dd5/structdirectoryList.html">directoryList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad04230b24061b77cd5971ef2ce2b2b1d">dirList_t</a></td></tr> <tr class="separator:ad04230b24061b77cd5971ef2ce2b2b1d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a58993494728ce5af573cd51322735210"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a58993494728ce5af573cd51322735210">addDirEntry</a> (struct <a class="el" href="../../d7/d3a/structdirectoryEntry.html">directoryEntry</a> *dir, <a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd)</td></tr> <tr class="separator:a58993494728ce5af573cd51322735210"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9611956bb9ed5acb26ab7bc9927f4ebb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a9611956bb9ed5acb26ab7bc9927f4ebb">freeBlocks</a> (int block, <a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd)</td></tr> <tr class="separator:a9611956bb9ed5acb26ab7bc9927f4ebb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa74ff712a9d02bb08f6421ce73358654"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#aa74ff712a9d02bb08f6421ce73358654">getFreeBlocks</a> (int count, <a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd)</td></tr> <tr class="separator:aa74ff712a9d02bb08f6421ce73358654"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a173757dd173062c905191b7897737f5b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a173757dd173062c905191b7897737f5b">readFile</a> (char *<a class="el" href="../../d7/d3a/structfile.html">file</a>)</td></tr> <tr class="separator:a173757dd173062c905191b7897737f5b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6b56b9893c2a4b04598034085d8cee8c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a6b56b9893c2a4b04598034085d8cee8c">readUbixFS</a> (<a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd, char *data, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>, long size)</td></tr> <tr class="separator:a6b56b9893c2a4b04598034085d8cee8c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a99dfa2e54401fafb70357a6632c4ef10"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a99dfa2e54401fafb70357a6632c4ef10">syncBat</a> (struct <a class="el" href="../../d3/d57/structvfs__mountPoint.html">vfs_mountPoint</a> *mp)</td></tr> <tr class="separator:a99dfa2e54401fafb70357a6632c4ef10"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1d4159e0eb816b6b23c214d7c601dcb4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a1d4159e0eb816b6b23c214d7c601dcb4">ubixfs_init</a> ()</td></tr> <tr class="separator:a1d4159e0eb816b6b23c214d7c601dcb4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2c53ad6e6ce2e149eec9b5361dd10eda"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a2c53ad6e6ce2e149eec9b5361dd10eda">ubixfs_initialize</a> ()</td></tr> <tr class="separator:a2c53ad6e6ce2e149eec9b5361dd10eda"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7400c9aaa5ced0d1c81ac05a129cfb20"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a7400c9aaa5ced0d1c81ac05a129cfb20">ubixfs_thread</a> ()</td></tr> <tr class="separator:a7400c9aaa5ced0d1c81ac05a129cfb20"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f7a88e7f709a200096c93c0deb13ec2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad04230b24061b77cd5971ef2ce2b2b1d">dirList_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a3f7a88e7f709a200096c93c0deb13ec2">ubixFSLoadDir</a> (char *)</td></tr> <tr class="separator:a3f7a88e7f709a200096c93c0deb13ec2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a55ee126c39c4bb7e875cc82f317e5aee"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a55ee126c39c4bb7e875cc82f317e5aee">ubixFSmkDir</a> (char *dir, <a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd)</td></tr> <tr class="separator:a55ee126c39c4bb7e875cc82f317e5aee"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adfbafb62e063e24f4df09029862ba9d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adfbafb62e063e24f4df09029862ba9d0">ubixFSUnlink</a> (char *path, struct <a class="el" href="../../d3/d57/structvfs__mountPoint.html">vfs_mountPoint</a> *mp)</td></tr> <tr class="separator:adfbafb62e063e24f4df09029862ba9d0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a65f42c9b6ca7c526642fa1c168272b03"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#a65f42c9b6ca7c526642fa1c168272b03">writeFileByte</a> (int ch, <a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd, long offset)</td></tr> <tr class="separator:a65f42c9b6ca7c526642fa1c168272b03"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4c558016c9b29b63d6f8c8ba5fe7384"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ab4c558016c9b29b63d6f8c8ba5fe7384">writeUbixFS</a> (<a class="el" href="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd, char *data, long offset, long size)</td></tr> <tr class="separator:ab4c558016c9b29b63d6f8c8ba5fe7384"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="ad4eebb29e7c75230c032b1e6f71e061d"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad4eebb29e7c75230c032b1e6f71e061d">◆ </a></span>blockSize</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define blockSize   8</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00043">43</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="a9c66702437ce6449d7886b4dbaad3c02"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9c66702437ce6449d7886b4dbaad3c02">◆ </a></span>EOBC</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EOBC   -1</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00045">45</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="ae5bdc5213c0fa1f31c2ff20c158e7c97"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae5bdc5213c0fa1f31c2ff20c158e7c97">◆ </a></span>MAXUBIXPARTITIONS</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MAXUBIXPARTITIONS   16</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00042">42</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="abeed60f8493a7dd3bfdfc2e41c1d700c"></a> <h2 class="memtitle"><span class="permalink"><a href="#abeed60f8493a7dd3bfdfc2e41c1d700c">◆ </a></span>typeContainer</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeContainer   2</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00048">48</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="ab0df352296e0f22896675aba0aa11b6e"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab0df352296e0f22896675aba0aa11b6e">◆ </a></span>typeDeleted</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeDeleted   8</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00050">50</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="ac3414f1c06fc8a9d01787cde437ec5b9"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac3414f1c06fc8a9d01787cde437ec5b9">◆ </a></span>typeDirectory</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeDirectory   4</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00049">49</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="ae1596b995fc42be2fe1cfbe0ee9b8d61"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae1596b995fc42be2fe1cfbe0ee9b8d61">◆ </a></span>typeFile</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define typeFile   1</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00047">47</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="a1b1ab97d6d5dfbfb20f0f80d7c625941"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1b1ab97d6d5dfbfb20f0f80d7c625941">◆ </a></span>UBIXDISKMAGIC</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UBIXDISKMAGIC   ((<a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>)0x45) /* The disk magic number */</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00041">41</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="abd7a711afb8ae672c3e08a9308d06c5b"></a> <h2 class="memtitle"><span class="permalink"><a href="#abd7a711afb8ae672c3e08a9308d06c5b">◆ </a></span>UBIXFS_ALIGN</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UBIXFS_ALIGN</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">size</td><td>)</td> <td>   (size + ((((size) % (<a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>)) == 0)? 0 : ((<a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>) - ((size) % (<a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#adab92bc23023fba8f349eb34bf5acf46">UBIXFS_BLOCKSIZE_BYTES</a>)))))</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00039">39</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <a id="adab92bc23023fba8f349eb34bf5acf46"></a> <h2 class="memtitle"><span class="permalink"><a href="#adab92bc23023fba8f349eb34bf5acf46">◆ </a></span>UBIXFS_BLOCKSIZE_BYTES</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UBIXFS_BLOCKSIZE_BYTES   <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad4eebb29e7c75230c032b1e6f71e061d">blockSize</a>*512</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00038">38</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <h2 class="groupheader">Typedef Documentation</h2> <a id="ad04230b24061b77cd5971ef2ce2b2b1d"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad04230b24061b77cd5971ef2ce2b2b1d">◆ </a></span>dirList_t</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct <a class="el" href="../../de/dd5/structdirectoryList.html">directoryList</a>* <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad04230b24061b77cd5971ef2ce2b2b1d">dirList_t</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00061">61</a> of file <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html">ubixfs.h</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a id="a58993494728ce5af573cd51322735210"></a> <h2 class="memtitle"><span class="permalink"><a href="#a58993494728ce5af573cd51322735210">◆ </a></span>addDirEntry()</h2> <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="../../d7/d3a/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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> * </td> <td class="paramname"><em>fd</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../dc/d20/directory_8c_source.html#l00064">64</a> of file <a class="el" href="../../dc/d20/directory_8c_source.html">directory.c</a>.</p> <p class="reference">References <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../da/d66/string_8h.html#ae33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00069">fileDescriptor::offset</a>, <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00192">readUbixFS()</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, and <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00229">writeUbixFS()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../dc/d20/directory_8c_source.html#l00092">ubixFSmkDir()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a58993494728ce5af573cd51322735210_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a58993494728ce5af573cd51322735210_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a58993494728ce5af573cd51322735210_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a58993494728ce5af573cd51322735210_cgraph"> <area shape="rect" title=" " alt="" coords="5,196,96,223"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="304,247,371,273"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="161,81,219,108"/> <area shape="rect" href="../../da/d66/string_8h.html#ae33b18edb618c656b9b795b9fce2316c" title=" " alt="" coords="154,196,226,223"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#acbf342e4662a8d4904cdb627dc995822" title=" " alt="" coords="145,145,235,172"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#ab4c558016c9b29b63d6f8c8ba5fe7384" title=" " alt="" coords="144,297,236,324"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="576,171,651,197"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="699,145,790,172"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="699,196,791,223"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="310,107,365,133"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="306,5,369,32"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="304,56,371,83"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="443,145,524,172"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="439,196,528,223"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="451,44,515,71"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="449,95,518,121"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="307,157,367,184"/> <area shape="rect" href="../../d3/d1c/block_8c.html#aa74ff712a9d02bb08f6421ce73358654" title=" " alt="" coords="284,399,391,425"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="312,297,363,324"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="306,348,369,375"/> <area shape="rect" href="../../d3/d1c/block_8c.html#a99dfa2e54401fafb70357a6632c4ef10" title=" " alt="" coords="448,399,519,425"/> </map> </div> </div> </div> <a id="a9611956bb9ed5acb26ab7bc9927f4ebb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9611956bb9ed5acb26ab7bc9927f4ebb">◆ </a></span>freeBlocks()</h2> <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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> * </td> <td class="paramname"><em>fd</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d1c/block_8c_source.html#l00078">78</a> of file <a class="el" href="../../d3/d1c/block_8c_source.html">block.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00091">blockAllocationTableEntry::attributes</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00093">blockAllocationTableEntry::nextBlock</a>, and <a class="el" href="../../d3/d1c/block_8c_source.html#l00073">syncBat()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a9611956bb9ed5acb26ab7bc9927f4ebb_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a9611956bb9ed5acb26ab7bc9927f4ebb_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a9611956bb9ed5acb26ab7bc9927f4ebb_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a9611956bb9ed5acb26ab7bc9927f4ebb_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,88,32"/> <area shape="rect" href="../../d3/d1c/block_8c.html#a99dfa2e54401fafb70357a6632c4ef10" title=" " alt="" coords="136,5,207,32"/> </map> </div> </div> </div> <a id="aa74ff712a9d02bb08f6421ce73358654"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa74ff712a9d02bb08f6421ce73358654">◆ </a></span>getFreeBlocks()</h2> <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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> * </td> <td class="paramname"><em>fd</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d1c/block_8c_source.html#l00095">95</a> of file <a class="el" href="../../d3/d1c/block_8c_source.html">block.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00091">blockAllocationTableEntry::attributes</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00128">ubixFSInfo::batEntries</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00093">blockAllocationTableEntry::nextBlock</a>, and <a class="el" href="../../d3/d1c/block_8c_source.html#l00073">syncBat()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../dc/d20/directory_8c_source.html#l00092">ubixFSmkDir()</a>, and <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00229">writeUbixFS()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_aa74ff712a9d02bb08f6421ce73358654_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_aa74ff712a9d02bb08f6421ce73358654_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_aa74ff712a9d02bb08f6421ce73358654_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_aa74ff712a9d02bb08f6421ce73358654_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,112,32"/> <area shape="rect" href="../../d3/d1c/block_8c.html#a99dfa2e54401fafb70357a6632c4ef10" title=" " alt="" coords="160,5,231,32"/> </map> </div> </div> </div> <a id="a173757dd173062c905191b7897737f5b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a173757dd173062c905191b7897737f5b">◆ </a></span>readFile()</h2> <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></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a6b56b9893c2a4b04598034085d8cee8c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6b56b9893c2a4b04598034085d8cee8c">◆ </a></span>readUbixFS()</h2> <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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</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="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00192">192</a> of file <a class="el" href="../../d2/d34/ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="../../dc/da7/assert_8h_source.html#l00064">assert</a>, <a class="el" href="../../d6/d4f/shell_8c_source.html#l00047">buffer</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00075">fileDescriptor::cacheNode</a>, <a class="el" href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00047">fdEof</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d1/de9/dirCache_8h_source.html#l00042">cacheNode::info</a>, <a class="el" href="../../dc/d94/armv6_2kpanic_8c_source.html#l00041">kpanic()</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../d1/de9/dirCache_8h_source.html#l00044">cacheNode::present</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, and <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00067">fileDescriptor::status</a>.</p> <p class="reference">Referenced by <a class="el" href="../../dc/d20/directory_8c_source.html#l00064">addDirEntry()</a>, and <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00450">ubixfs_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a6b56b9893c2a4b04598034085d8cee8c_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a6b56b9893c2a4b04598034085d8cee8c_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a6b56b9893c2a4b04598034085d8cee8c_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a6b56b9893c2a4b04598034085d8cee8c_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,96,32"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="144,5,204,32"/> </map> </div> </div> </div> <a id="a99dfa2e54401fafb70357a6632c4ef10"></a> <h2 class="memtitle"><span class="permalink"><a href="#a99dfa2e54401fafb70357a6632c4ef10">◆ </a></span>syncBat()</h2> <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="../../d3/d57/structvfs__mountPoint.html">vfs_mountPoint</a> * </td> <td class="paramname"><em>mp</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d1c/block_8c_source.html#l00073">73</a> of file <a class="el" href="../../d3/d1c/block_8c_source.html">block.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="../../db/d6d/structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00076">ubixDiskLabel::ubixPartitions::pBatSize</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, and <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00053">device_interface::write</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d3/d1c/block_8c_source.html#l00078">freeBlocks()</a>, and <a class="el" href="../../d3/d1c/block_8c_source.html#l00095">getFreeBlocks()</a>.</p> </div> </div> <a id="a1d4159e0eb816b6b23c214d7c601dcb4"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1d4159e0eb816b6b23c214d7c601dcb4">◆ </a></span>ubixfs_init()</h2> <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></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00450">450</a> of file <a class="el" href="../../d2/d34/ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00192">readUbixFS()</a>, <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00371">ubixfs_initialize()</a>, and <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00229">writeUbixFS()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a1d4159e0eb816b6b23c214d7c601dcb4_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a1d4159e0eb816b6b23c214d7c601dcb4_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a1d4159e0eb816b6b23c214d7c601dcb4_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a1d4159e0eb816b6b23c214d7c601dcb4_cgraph"> <area shape="rect" title=" " alt="" coords="5,157,85,184"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#acbf342e4662a8d4904cdb627dc995822" title=" " alt="" coords="143,81,234,108"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#a32762e2563015d124909f3317c2a7423" title=" " alt="" coords="133,157,244,184"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#ab4c558016c9b29b63d6f8c8ba5fe7384" title=" " alt="" coords="143,309,235,336"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="323,56,383,83"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="465,259,531,285"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="325,107,382,133"/> <area shape="rect" href="../../db/dff/dirCache_8c.html#a169a7d814e5ab80f123e5193a81b70b2" title=" " alt="" coords="292,157,415,184"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="719,120,793,147"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="842,95,933,121"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="841,145,933,172"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="471,56,525,83"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="467,107,529,133"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="465,5,531,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="585,56,667,83"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="581,107,671,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="594,157,658,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="591,5,661,32"/> <area shape="rect" href="../../da/d66/string_8h.html#a55e123beb3d7f96e25e024a13582d987" title=" " alt="" coords="469,208,527,235"/> <area shape="rect" href="../../de/d14/lib_8h.html#ae6c8de953239811a34eeeab09458e55e" title=" " alt="" coords="471,157,525,184"/> <area shape="rect" href="../../d3/d1c/block_8c.html#aa74ff712a9d02bb08f6421ce73358654" title=" " alt="" coords="300,360,407,387"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="328,411,379,437"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="322,259,385,285"/> <area shape="rect" href="../../d3/d1c/block_8c.html#a99dfa2e54401fafb70357a6632c4ef10" title=" " alt="" coords="463,360,533,387"/> </map> </div> </div> </div> <a id="a2c53ad6e6ce2e149eec9b5361dd10eda"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2c53ad6e6ce2e149eec9b5361dd10eda">◆ </a></span>ubixfs_initialize()</h2> <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></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a7400c9aaa5ced0d1c81ac05a129cfb20"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7400c9aaa5ced0d1c81ac05a129cfb20">◆ </a></span>ubixfs_thread()</h2> <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></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a3f7a88e7f709a200096c93c0deb13ec2"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3f7a88e7f709a200096c93c0deb13ec2">◆ </a></span>ubixFSLoadDir()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html#ad04230b24061b77cd5971ef2ce2b2b1d">dirList_t</a> ubixFSLoadDir </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../dc/d20/directory_8c_source.html#l00039">39</a> of file <a class="el" href="../../dc/d20/directory_8c_source.html">directory.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00054">directoryList::dirName</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, and <a class="el" href="../../df/d87/kprintf_8c_source.html#l00278">sprintf()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a3f7a88e7f709a200096c93c0deb13ec2_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a3f7a88e7f709a200096c93c0deb13ec2_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a3f7a88e7f709a200096c93c0deb13ec2_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a3f7a88e7f709a200096c93c0deb13ec2_cgraph"> <area shape="rect" title=" " alt="" coords="5,56,112,83"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="160,31,227,57"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#ac38cd16373d98782e1465bd3d5aba470" title=" " alt="" coords="165,81,222,108"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="275,31,349,57"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="398,5,489,32"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="397,56,489,83"/> </map> </div> </div> </div> <a id="a55ee126c39c4bb7e875cc82f317e5aee"></a> <h2 class="memtitle"><span class="permalink"><a href="#a55ee126c39c4bb7e875cc82f317e5aee">◆ </a></span>ubixFSmkDir()</h2> <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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> * </td> <td class="paramname"><em>fd</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../dc/d20/directory_8c_source.html#l00092">92</a> of file <a class="el" href="../../dc/d20/directory_8c_source.html">directory.c</a>.</p> <p class="reference">References <a class="el" href="../../dc/d20/directory_8c_source.html#l00064">addDirEntry()</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00105">directoryEntry::attributes</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00043">blockSize</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00107">directoryEntry::fileName</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d3/d1c/block_8c_source.html#l00095">getFreeBlocks()</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="../../db/d6d/structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00106">directoryEntry::permissions</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00092">blockAllocationTableEntry::realSector</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00100">directoryEntry::size</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00278">sprintf()</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00099">directoryEntry::startCluster</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00049">typeDirectory</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00038">UBIXFS_BLOCKSIZE_BYTES</a>, and <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00053">device_interface::write</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a55ee126c39c4bb7e875cc82f317e5aee_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a55ee126c39c4bb7e875cc82f317e5aee_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a55ee126c39c4bb7e875cc82f317e5aee_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a55ee126c39c4bb7e875cc82f317e5aee_cgraph"> <area shape="rect" title=" " alt="" coords="5,392,103,419"/> <area shape="rect" href="../../dc/d20/directory_8c.html#a58993494728ce5af573cd51322735210" title=" " alt="" coords="151,265,241,292"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="449,196,516,223"/> <area shape="rect" href="../../d3/d1c/block_8c.html#aa74ff712a9d02bb08f6421ce73358654" title=" " alt="" coords="429,392,536,419"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="457,443,508,469"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#ac38cd16373d98782e1465bd3d5aba470" title=" " alt="" coords="167,493,225,520"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="307,63,364,89"/> <area shape="rect" href="../../da/d66/string_8h.html#ae33b18edb618c656b9b795b9fce2316c" title=" " alt="" coords="299,240,371,267"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#acbf342e4662a8d4904cdb627dc995822" title=" " alt="" coords="290,341,381,368"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html#ab4c558016c9b29b63d6f8c8ba5fe7384" title=" " alt="" coords="289,291,381,317"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="721,132,796,159"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="845,107,935,133"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="844,157,936,184"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="455,107,510,133"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="451,5,514,32"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="449,56,516,83"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="588,107,669,133"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="584,157,673,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="597,5,661,32"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="594,56,663,83"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="453,341,513,368"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="451,291,514,317"/> <area shape="rect" href="../../d3/d1c/block_8c.html#a99dfa2e54401fafb70357a6632c4ef10" title=" " alt="" coords="593,392,664,419"/> </map> </div> </div> </div> <a id="adfbafb62e063e24f4df09029862ba9d0"></a> <h2 class="memtitle"><span class="permalink"><a href="#adfbafb62e063e24f4df09029862ba9d0">◆ </a></span>ubixFSUnlink()</h2> <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="../../d3/d57/structvfs__mountPoint.html">vfs_mountPoint</a> * </td> <td class="paramname"><em>mp</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00306">306</a> of file <a class="el" href="../../d2/d34/ubixfs_8c_source.html">ubixfs.c</a>.</p> </div> </div> <a id="a65f42c9b6ca7c526642fa1c168272b03"></a> <h2 class="memtitle"><span class="permalink"><a href="#a65f42c9b6ca7c526642fa1c168272b03">◆ </a></span>writeFileByte()</h2> <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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00116">116</a> of file <a class="el" href="../../d2/d34/ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="../../dc/da7/assert_8h_source.html#l00064">assert</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00091">blockAllocationTableEntry::attributes</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00128">ubixFSInfo::batEntries</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00074">fileDescriptor::buffer</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00045">fdOpen</a>, <a class="el" href="../../db/da9/include_2vfs_2vfs_8h_source.html#l00046">fdRead</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00073">fileDescriptor::fileName</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00107">directoryEntry::fileName</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00093">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="../../db/d6d/structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00076">ubixDiskLabel::ubixPartitions::pBatSize</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00052">device_interface::read</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00092">blockAllocationTableEntry::realSector</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00100">directoryEntry::size</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00072">fileDescriptor::start</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00067">fileDescriptor::status</a>, <a class="el" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp()</a>, and <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00053">device_interface::write</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_a65f42c9b6ca7c526642fa1c168272b03_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_a65f42c9b6ca7c526642fa1c168272b03_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_a65f42c9b6ca7c526642fa1c168272b03_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_a65f42c9b6ca7c526642fa1c168272b03_cgraph"> <area shape="rect" title=" " alt="" coords="5,56,103,83"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="159,5,209,32"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="151,56,217,83"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="153,107,215,133"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="265,56,340,83"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="389,31,479,57"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="388,81,480,108"/> </map> </div> </div> </div> <a id="ab4c558016c9b29b63d6f8c8ba5fe7384"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab4c558016c9b29b63d6f8c8ba5fe7384">◆ </a></span>writeUbixFS()</h2> <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="../../d6/db4/include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00229">229</a> of file <a class="el" href="../../d2/d34/ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="../../dc/da7/assert_8h_source.html#l00064">assert</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00043">blockSize</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00074">fileDescriptor::buffer</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00045">EOBC</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00073">fileDescriptor::fileName</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00107">directoryEntry::fileName</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="../../d3/d1c/block_8c_source.html#l00095">getFreeBlocks()</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00093">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../d2/d29/mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="../../db/d6d/structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00052">device_interface::read</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00092">blockAllocationTableEntry::realSector</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00100">directoryEntry::size</a>, <a class="el" href="../../d6/db4/include_2vfs_2file_8h_source.html#l00072">fileDescriptor::start</a>, <a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h_source.html#l00099">directoryEntry::startCluster</a>, <a class="el" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp()</a>, and <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00053">device_interface::write</a>.</p> <p class="reference">Referenced by <a class="el" href="../../dc/d20/directory_8c_source.html#l00064">addDirEntry()</a>, and <a class="el" href="../../d2/d34/ubixfs_8c_source.html#l00450">ubixfs_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d32/include_2ubixfs_2ubixfs_8h_ab4c558016c9b29b63d6f8c8ba5fe7384_cgraph.png" border="0" usemap="#d9/d32/include_2ubixfs_2ubixfs_8h_ab4c558016c9b29b63d6f8c8ba5fe7384_cgraph" alt=""/></div> <map name="d9/d32/include_2ubixfs_2ubixfs_8h_ab4c558016c9b29b63d6f8c8ba5fe7384_cgraph" id="d9/d32/include_2ubixfs_2ubixfs_8h_ab4c558016c9b29b63d6f8c8ba5fe7384_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,97,108"/> <area shape="rect" href="../../d3/d1c/block_8c.html#aa74ff712a9d02bb08f6421ce73358654" title=" " alt="" coords="145,5,252,32"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="173,56,224,83"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="165,107,232,133"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="167,157,230,184"/> <area shape="rect" href="../../d3/d1c/block_8c.html#a99dfa2e54401fafb70357a6632c4ef10" title=" " alt="" coords="302,5,373,32"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="300,107,375,133"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="423,81,514,108"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="423,132,515,159"/> </map> </div> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_de3a10ef8f43f0f718352b63f739a404.html">ubixfs</a></li><li class="navelem"><a class="el" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html">ubixfs.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>