Newer
Older
UbixOS / doc / html / mount_8h.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>UbixOS V2: src/sys/include/vfs/mount.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_77bb06880a0e48020cb00f59405a6b13.html">vfs</a></div>
<h1>mount.h File Reference</h1><code>#include &lt;<a class="el" href="types_8h-source.html">ubixos/types.h</a>&gt;</code><br>

<p>
Include dependency graph for mount.h:<p><center><img src="mount_8h__incl.png" border="0" usemap="#src/sys/include/vfs/mount.h_map" alt=""></center>
<map name="src/sys/include/vfs/mount.h_map">
<area href="types_8h.html" shape="rect" coords="263,5,383,32" alt="">
<area href="__types_8h.html" shape="rect" coords="433,5,537,32" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="mount_8h__dep__incl.png" border="0" usemap="#src/sys/include/vfs/mount.hdep_map" alt=""></center>
<map name="src/sys/include/vfs/mount.hdep_map">
<area href="file_8h.html" shape="rect" coords="261,107,445,133" alt="">
<area href="vfs_8h.html" shape="rect" coords="496,19,680,45" alt="">
<area href="block_8c.html" shape="rect" coords="505,95,671,121" alt="">
<area href="directory_8c.html" shape="rect" coords="495,145,681,172" alt="">
<area href="main_8c.html" shape="rect" coords="281,208,425,235" alt="">
<area href="sched_8c.html" shape="rect" coords="268,259,439,285" alt="">
<area href="mount_8c.html" shape="rect" coords="277,309,429,336" alt="">
</map>

<p>
<a href="mount_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a></td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mount_8h.html#7404fbe67653dda57672539b003deecd">vfs_addMount</a> (struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> *mp)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mount_8h.html#a8cc926aa9badb781158b6738b1b0f2d">vfs_findMount</a> (char *mountPoint)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mount_8h.html#1255ebfdcd5f7048ffe187e836f8eb28">vfs_mount</a> (int major, int minor, int partition, int fsType, char *mountPoint, char *perms)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="7404fbe67653dda57672539b003deecd"></a><!-- doxytag: member="mount.h::vfs_addMount" ref="7404fbe67653dda57672539b003deecd" args="(struct vfs_mountPoint *mp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vfs_addMount           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a> *&nbsp;</td>
          <td class="paramname"> <em>mp</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="mount_8c-source.html#l00105">105</a> of file <a class="el" href="mount_8c-source.html">mount.c</a>.
<p>
References <a class="el" href="vitals_8h-source.html#l00046">vitalsStruct::mountPoints</a>, <a class="el" href="mount_8h-source.html#l00037">vfs_mountPoint::next</a>, <a class="el" href="mount_8h-source.html#l00036">vfs_mountPoint::prev</a>, and <a class="el" href="timer_8S-source.html#l00035">systemVitals</a>.
<p>
Referenced by <a class="el" href="mount_8c-source.html#l00047">vfs_mount()</a>.
</div>
</div><p>
<a class="anchor" name="a8cc926aa9badb781158b6738b1b0f2d"></a><!-- doxytag: member="mount.h::vfs_findMount" ref="a8cc926aa9badb781158b6738b1b0f2d" args="(char *mountPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structvfs__mountPoint.html">vfs_mountPoint</a>* vfs_findMount           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>mountPoint</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="mount_8c-source.html#l00132">132</a> of file <a class="el" href="mount_8c-source.html">mount.c</a>.
<p>
References <a class="el" href="mount_8h-source.html#l00043">vfs_mountPoint::mountPoint</a>, <a class="el" href="vitals_8h-source.html#l00046">vitalsStruct::mountPoints</a>, <a class="el" href="mount_8h-source.html#l00037">vfs_mountPoint::next</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="string_8c-source.html#l00032">strcmp()</a>, and <a class="el" href="timer_8S-source.html#l00035">systemVitals</a>.
<p>
Referenced by <a class="el" href="devfs_8c-source.html#l00178">devfs_makeNode()</a>, <a class="el" href="file_8c-source.html#l00274">fopen()</a>, and <a class="el" href="file_8c-source.html#l00480">unlink()</a>.
<p>
Here is the call graph for this function:<p><center><img src="mount_8h_a8cc926aa9badb781158b6738b1b0f2d_cgraph.png" border="0" usemap="#mount_8h_a8cc926aa9badb781158b6738b1b0f2d_cgraph_map" alt=""></center>
<map name="mount_8h_a8cc926aa9badb781158b6738b1b0f2d_cgraph_map">
<area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="172,5,239,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="1255ebfdcd5f7048ffe187e836f8eb28"></a><!-- doxytag: member="mount.h::vfs_mount" ref="1255ebfdcd5f7048ffe187e836f8eb28" args="(int major, int minor, int partition, int fsType, char *mountPoint, char *perms)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vfs_mount           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>major</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>minor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>partition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>fsType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>mountPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>perms</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="mount_8c-source.html#l00047">47</a> of file <a class="el" href="mount_8c-source.html">mount.c</a>.
<p>
References <a class="el" href="mount_8h-source.html#l00039">vfs_mountPoint::device</a>, <a class="el" href="device_8c-source.html#l00086">device_find()</a>, <a class="el" href="mount_8h-source.html#l00038">vfs_mountPoint::fs</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="mount_8h-source.html#l00043">vfs_mountPoint::mountPoint</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="mount_8h-source.html#l00042">vfs_mountPoint::partition</a>, <a class="el" href="mount_8h-source.html#l00044">vfs_mountPoint::perms</a>, <a class="el" href="kprintf_8c-source.html#l00051">sprintf()</a>, <a class="el" href="mount_8c-source.html#l00105">vfs_addMount()</a>, <a class="el" href="vfs_8c-source.html#l00059">vfsFindFS()</a>, <a class="el" href="structfileSystem.html#63cc4eb02c498b7ae04d3cedba288822">fileSystem::vfsInitFS</a>, and <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>.
<p>
Referenced by <a class="el" href="devfs_8c-source.html#l00215">devfs_init()</a>, and <a class="el" href="main_8c-source.html#l00097">kmain()</a>.
<p>
Here is the call graph for this function:<p><center><img src="mount_8h_1255ebfdcd5f7048ffe187e836f8eb28_cgraph.png" border="0" usemap="#mount_8h_1255ebfdcd5f7048ffe187e836f8eb28_cgraph_map" alt=""></center>
<map name="mount_8h_1255ebfdcd5f7048ffe187e836f8eb28_cgraph_map">
<area href="device_8h.html#0002a4ec01ee11597c6751602f3e4c3d" shape="rect" coords="528,107,627,133" alt="">
<area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="178,487,234,513" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="735,512,802,539" alt="">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="168,284,243,311" alt="">
<area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="174,664,238,691" alt="">
<area href="mount_8h.html#7404fbe67653dda57672539b003deecd" shape="rect" coords="148,715,263,741" alt="">
<area href="vfs_8c.html#c49aa10a62b250834a055476c849b7b3" shape="rect" coords="163,765,248,792" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="728,107,808,133" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="720,208,816,235" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="864,81,966,108" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="866,132,964,159" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="312,309,435,336" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="539,360,616,387" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="544,309,611,336" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="314,208,434,235" alt="">
<area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="483,157,672,184" alt="">
</map>

</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:22:22 2006 for UbixOS V2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>