<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: src/sys/ufs/ffs.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <div class="nav"> <a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_cbd3b6f8ac372a007cdc756f615c76fe.html">ufs</a></div> <h1>ffs.c File Reference</h1><code>#include <<a class="el" href="vfs_8h-source.html">vfs/vfs.h</a>></code><br> <code>#include <<a class="el" href="ufs_8h-source.html">ufs/ufs.h</a>></code><br> <code>#include <<a class="el" href="ffs_8h-source.html">ufs/ffs.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="kmalloc_8h-source.html">lib/kmalloc.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="lib_2string_8h-source.html">lib/string.h</a>></code><br> <code>#include <<a class="el" href="buf_8h-source.html">sys/buf.h</a>></code><br> <p> Include dependency graph for ffs.c:<p><center><img src="ffs_8c__incl.png" border="0" usemap="#src/sys/ufs/ffs.c_map" alt=""></center> <map name="src/sys/ufs/ffs.c_map"> <area href="vfs_8h.html" shape="rect" coords="369,259,447,285" alt=""> <area href="ufs_8h.html" shape="rect" coords="203,259,283,285" alt=""> <area href="ffs_8h.html" shape="rect" coords="205,360,280,387" alt=""> <area href="kprintf_8h.html" shape="rect" coords="359,461,457,488" alt=""> <area href="kmalloc_8h.html" shape="rect" coords="516,512,623,539" alt=""> <area href="kpanic_8h.html" shape="rect" coords="179,613,307,640" alt=""> <area href="lib_2string_8h.html" shape="rect" coords="684,563,777,589" alt=""> <area href="buf_8h.html" shape="rect" coords="201,411,284,437" alt=""> <area href="types_8h.html" shape="rect" coords="833,309,953,336" alt=""> <area href="file_8h.html" shape="rect" coords="529,157,609,184" alt=""> <area href="mount_8h.html" shape="rect" coords="680,208,781,235" alt=""> <area href="sysproto_8h.html" shape="rect" coords="511,56,628,83" alt=""> <area href="thread_8h.html" shape="rect" coords="679,107,783,133" alt=""> <area href="device_8h.html" shape="rect" coords="355,309,461,336" alt=""> </map> <p> <a href="ffs_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="ffs_8c.html#ac9a795f42d582183e06192277305e47">ffs_read</a> (<a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> *fd, char *data, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> offset, long size)</td></tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="ac9a795f42d582183e06192277305e47"></a><!-- doxytag: member="ffs.c::ffs_read" ref="ac9a795f42d582183e06192277305e47" args="(fileDescriptor *fd, char *data, uInt32 offset, long size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int ffs_read </td> <td>(</td> <td class="paramtype"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td> <td class="paramname"> <em>fd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td> <td class="paramname"> <em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>size</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ffs_8c-source.html#l00011">11</a> of file <a class="el" href="ffs_8c-source.html">ffs.c</a>. <p> References <a class="el" href="file_8h-source.html#l00061">fileDescriptorStruct::dmadat</a>, <a class="el" href="ufs_8h-source.html#l00281">fs::fs_maxfilesize</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, and <a class="el" href="file_8h-source.html#l00042">dmadat::sbbuf</a>. <p> Here is the call graph for this function:<p><center><img src="ffs_8c_ac9a795f42d582183e06192277305e47_cgraph.png" border="0" usemap="#ffs_8c_ac9a795f42d582183e06192277305e47_cgraph_map" alt=""></center> <map name="ffs_8c_ac9a795f42d582183e06192277305e47_cgraph_map"> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="131,5,198,32" alt=""> </map> </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:25:59 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>