<!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 V2: C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c 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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></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 V2  <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"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <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('',true,false,'search.php','Search'); $(document).ready(function() { init_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('ubixfs_8c.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">ubixfs.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="include_2ubixfs_2ubixfs_8h_source.html">ubixfs/ubixfs.h</a>></code><br /> <code>#include <<a class="el" href="dirCache_8h_source.html">ubixfs/dirCache.h</a>></code><br /> <code>#include <<a class="el" href="include_2vfs_2vfs_8h_source.html">vfs/vfs.h</a>></code><br /> <code>#include <<a class="el" href="sched_8h_source.html">ubixos/sched.h</a>></code><br /> <code>#include <<a class="el" href="kpanic_8h_source.html">ubixos/kpanic.h</a>></code><br /> <code>#include <<a class="el" href="exec_8h_source.html">ubixos/exec.h</a>></code><br /> <code>#include <<a class="el" href="kmalloc_8h_source.html">lib/kmalloc.h</a>></code><br /> <code>#include <<a class="el" href="string_8h_source.html">string.h</a>></code><br /> <code>#include <<a class="el" href="kprintf_8h_source.html">lib/kprintf.h</a>></code><br /> <code>#include <<a class="el" href="assert_8h_source.html">assert.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for ubixfs.c:</div> <div class="dyncontent"> <div class="center"><img src="ubixfs_8c__incl.png" border="0" usemap="#C_1_2Dev_2git_2UbixOS_2sys_2fs_2ubixfs_2ubixfs_8c" alt=""/></div> </div> </div> <p><a href="ubixfs_8c_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="func-members"></a> Functions</h2></td></tr> <tr class="memitem:acbf342e4662a8d4904cdb627dc995822"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8c.html#acbf342e4662a8d4904cdb627dc995822">readUbixFS</a> (<a class="el" href="include_2vfs_2file_8h.html#acc7b57f2d3766b4977ebbe64aa38608b">fileDescriptor_t</a> *fd, char *data, <a class="el" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> offset, long size)</td></tr> <tr class="separator:acbf342e4662a8d4904cdb627dc995822"><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="ubixfs_8c.html#a1d4159e0eb816b6b23c214d7c601dcb4">ubixfs_init</a> ()</td></tr> <tr class="separator:a1d4159e0eb816b6b23c214d7c601dcb4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32762e2563015d124909f3317c2a7423"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ubixfs_8c.html#a32762e2563015d124909f3317c2a7423">ubixfs_initialize</a> (struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> *mp)</td></tr> <tr class="separator:a32762e2563015d124909f3317c2a7423"><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="ubixfs_8c.html#adfbafb62e063e24f4df09029862ba9d0">ubixFSUnlink</a> (char *path, struct <a class="el" href="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="ubixfs_8c.html#a65f42c9b6ca7c526642fa1c168272b03">writeFileByte</a> (int ch, <a class="el" href="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="ubixfs_8c.html#ab4c558016c9b29b63d6f8c8ba5fe7384">writeUbixFS</a> (<a class="el" href="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">Function Documentation</h2> <a id="acbf342e4662a8d4904cdb627dc995822"></a> <h2 class="memtitle"><span class="permalink"><a href="#acbf342e4662a8d4904cdb627dc995822">◆ </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="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="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </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="ubixfs_8c_source.html#l00192">192</a> of file <a class="el" href="ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">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_2file_8h_source.html#l00075">fileDescriptor::cacheNode</a>, <a class="el" href="include_2vfs_2vfs_8h_source.html#l00047">fdEof</a>, <a class="el" href="mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="dirCache_8h_source.html#l00042">cacheNode::info</a>, <a class="el" href="armv6_2kpanic_8c_source.html#l00041">kpanic()</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="dirCache_8h_source.html#l00044">cacheNode::present</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, and <a class="el" href="include_2vfs_2file_8h_source.html#l00067">fileDescriptor::status</a>.</p> <p class="reference">Referenced by <a class="el" href="directory_8c_source.html#l00064">addDirEntry()</a>, and <a class="el" href="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="ubixfs_8c_acbf342e4662a8d4904cdb627dc995822_cgraph.png" border="0" usemap="#ubixfs_8c_acbf342e4662a8d4904cdb627dc995822_cgraph" alt=""/></div> </div> </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="ubixfs_8c_source.html#l00450">450</a> of file <a class="el" href="ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="ubixfs_8c_source.html#l00192">readUbixFS()</a>, <a class="el" href="ubixfs_8c_source.html#l00371">ubixfs_initialize()</a>, and <a class="el" href="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="ubixfs_8c_a1d4159e0eb816b6b23c214d7c601dcb4_cgraph.png" border="0" usemap="#ubixfs_8c_a1d4159e0eb816b6b23c214d7c601dcb4_cgraph" alt=""/></div> </div> </div> </div> <a id="a32762e2563015d124909f3317c2a7423"></a> <h2 class="memtitle"><span class="permalink"><a href="#a32762e2563015d124909f3317c2a7423">◆ </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="paramtype">struct <a class="el" href="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="ubixfs_8c_source.html#l00371">371</a> of file <a class="el" href="ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="assert_8h_source.html#l00064">assert</a>, <a class="el" href="dirCache_8h_source.html#l00047">cacheNode::attributes</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00128">ubixFSInfo::batEntries</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00127">ubixFSInfo::dirCache</a>, <a class="el" href="mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="dirCache_8h_source.html#l00042">cacheNode::info</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00068">ubixDiskLabel::magicNum</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00069">ubixDiskLabel::magicNum2</a>, <a class="el" href="mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00076">ubixDiskLabel::ubixPartitions::pBatSize</a>, <a class="el" href="dirCache_8h_source.html#l00048">cacheNode::permissions</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, <a class="el" href="dirCache_8h_source.html#l00044">cacheNode::present</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00052">device_interface::read</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00092">blockAllocationTableEntry::realSector</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00129">ubixFSInfo::rootDir</a>, <a class="el" href="dirCache_8h_source.html#l00043">cacheNode::size</a>, <a class="el" href="dirCache_8h_source.html#l00046">cacheNode::startCluster</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00041">UBIXDISKMAGIC</a>, and <a class="el" href="dirCache_8c_source.html#l00193">ubixfs_cacheNew()</a>.</p> <p class="reference">Referenced by <a class="el" href="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="ubixfs_8c_a32762e2563015d124909f3317c2a7423_cgraph.png" border="0" usemap="#ubixfs_8c_a32762e2563015d124909f3317c2a7423_cgraph" alt=""/></div> </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="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="ubixfs_8c_source.html#l00306">306</a> of file <a class="el" href="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="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="ubixfs_8c_source.html#l00116">116</a> of file <a class="el" href="ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="assert_8h_source.html#l00064">assert</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00091">blockAllocationTableEntry::attributes</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00128">ubixFSInfo::batEntries</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00074">fileDescriptor::buffer</a>, <a class="el" href="mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="include_2vfs_2vfs_8h_source.html#l00045">fdOpen</a>, <a class="el" href="include_2vfs_2vfs_8h_source.html#l00046">fdRead</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00073">fileDescriptor::fileName</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00107">directoryEntry::fileName</a>, <a class="el" href="mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00093">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00076">ubixDiskLabel::ubixPartitions::pBatSize</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00052">device_interface::read</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00092">blockAllocationTableEntry::realSector</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00100">directoryEntry::size</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00072">fileDescriptor::start</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00067">fileDescriptor::status</a>, <a class="el" href="string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp()</a>, and <a class="el" href="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="ubixfs_8c_a65f42c9b6ca7c526642fa1c168272b03_cgraph.png" border="0" usemap="#ubixfs_8c_a65f42c9b6ca7c526642fa1c168272b03_cgraph" alt=""/></div> </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="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="ubixfs_8c_source.html#l00229">229</a> of file <a class="el" href="ubixfs_8c_source.html">ubixfs.c</a>.</p> <p class="reference">References <a class="el" href="assert_8h_source.html#l00064">assert</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00126">ubixFSInfo::blockAllocationTable</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00043">blockSize</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00074">fileDescriptor::buffer</a>, <a class="el" href="mount_8h_source.html#l00070">vfs_mountPoint::device</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, <a class="el" href="mount_8h_source.html#l00071">vfs_mountPoint::diskLabel</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00045">EOBC</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00073">fileDescriptor::fileName</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00107">directoryEntry::fileName</a>, <a class="el" href="mount_8h_source.html#l00072">vfs_mountPoint::fsInfo</a>, <a class="el" href="block_8c_source.html#l00095">getFreeBlocks()</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00051">device_interface::info</a>, <a class="el" href="kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00065">fileDescriptor::mp</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00093">blockAllocationTableEntry::nextBlock</a>, <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="mount_8h_source.html#l00073">vfs_mountPoint::partition</a>, <a class="el" href="structubixDiskLabel.html#aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00074">ubixDiskLabel::ubixPartitions::pOffset</a>, <a class="el" href="include_2sys_2device_8h_source.html#l00052">device_interface::read</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00092">blockAllocationTableEntry::realSector</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00070">fileDescriptor::size</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00100">directoryEntry::size</a>, <a class="el" href="include_2vfs_2file_8h_source.html#l00072">fileDescriptor::start</a>, <a class="el" href="include_2ubixfs_2ubixfs_8h_source.html#l00099">directoryEntry::startCluster</a>, <a class="el" href="string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp()</a>, and <a class="el" href="include_2sys_2device_8h_source.html#l00053">device_interface::write</a>.</p> <p class="reference">Referenced by <a class="el" href="directory_8c_source.html#l00064">addDirEntry()</a>, and <a class="el" href="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="ubixfs_8c_ab4c558016c9b29b63d6f8c8ba5fe7384_cgraph.png" border="0" usemap="#ubixfs_8c_ab4c558016c9b29b63d6f8c8ba5fe7384_cgraph" alt=""/></div> </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_e6bb53534ac0e427887cf7a94c0c004e.html">C:</a></li><li class="navelem"><a class="el" href="dir_d99d5d4662bf24521eef49da6a8cd34d.html">Dev</a></li><li class="navelem"><a class="el" href="dir_474a4b306371cf7e7f6fa12cb0b77df6.html">git</a></li><li class="navelem"><a class="el" href="dir_849109bbd106d461b128d63e5babcedf.html">UbixOS</a></li><li class="navelem"><a class="el" href="dir_6ec99f6d7d5182ba8913209ab70c9f18.html">sys</a></li><li class="navelem"><a class="el" href="dir_f0f1d03d7166acaa9846e3e5eebb6906.html">fs</a></li><li class="navelem"><a class="el" href="dir_cb8ca09a09b88e5783c23dbafd3d00a3.html">ubixfs</a></li><li class="navelem"><a class="el" href="ubixfs_8c.html">ubixfs.c</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>