Fennix/docs/d2/d55/structSuperBlockOperations.html

314 lines
18 KiB
HTML

<!-- HTML header for doxygen 1.9.1-->
<!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.9.8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Fennix: SuperBlockOperations Struct 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>
<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" />
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="../../custom.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript" src="../../doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript" src="../../doxygen-awesome-paragraph-link.js"></script>
<script type="text/javascript" src="../../doxygen-awesome-interactive-toc.js"></script>
<script type="text/javascript" src="../../doxygen-awesome-tabs.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeParagraphLink.init()
DoxygenAwesomeInteractiveToc.init()
DoxygenAwesomeTabs.init()
</script>
</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="projectlogo"><img alt="Logo" src="../../favicon.ico" /></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Fennix
&#160;<span
id="projectnumber">1.0.0</span>
</div>
<div id="projectbrief">Full Documentation</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part --><!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d2/d55/structSuperBlockOperations.html','../../'); initResizable(); });
/* @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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle"><div class="title">SuperBlockOperations Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a9b919eaba70c8e9d020930ba97b7df68" id="r_a9b919eaba70c8e9d020930ba97b7df68"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#a9b919eaba70c8e9d020930ba97b7df68">AllocateInode</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> **Result)</td></tr>
<tr class="separator:a9b919eaba70c8e9d020930ba97b7df68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91b8a508085e42bcf27a06058a0fd2f7" id="r_a91b8a508085e42bcf27a06058a0fd2f7"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#a91b8a508085e42bcf27a06058a0fd2f7">DeleteInode</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> *Node)</td></tr>
<tr class="separator:a91b8a508085e42bcf27a06058a0fd2f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac57a866f55ed08d2dd2897b27a541eb2" id="r_ac57a866f55ed08d2dd2897b27a541eb2"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#ac57a866f55ed08d2dd2897b27a541eb2">Synchronize</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> *Node)</td></tr>
<tr class="separator:ac57a866f55ed08d2dd2897b27a541eb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5d91cc844c75e8d58ef124a9b2c8722" id="r_ac5d91cc844c75e8d58ef124a9b2c8722"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#ac5d91cc844c75e8d58ef124a9b2c8722">Destroy</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info)</td></tr>
<tr class="separator:ac5d91cc844c75e8d58ef124a9b2c8722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8216e560343fe4d60d25d9339369008c" id="r_a8216e560343fe4d60d25d9339369008c"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#a8216e560343fe4d60d25d9339369008c">Probe</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#d4/d24/structFileSystemDevice">FileSystemDevice</a> *Device)</td></tr>
<tr class="separator:a8216e560343fe4d60d25d9339369008c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7df12971dc1079e22cb77d62743b12c6" id="r_a7df12971dc1079e22cb77d62743b12c6"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#a7df12971dc1079e22cb77d62743b12c6">Mount</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *FS, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> **Root, struct <a class="el" href="../../df/d26/fs_8h.html#d4/d24/structFileSystemDevice">FileSystemDevice</a> *Device)</td></tr>
<tr class="separator:a7df12971dc1079e22cb77d62743b12c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5be3ba7b778d10a6333b429bcb7accb7" id="r_a5be3ba7b778d10a6333b429bcb7accb7"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d55/structSuperBlockOperations.html#a5be3ba7b778d10a6333b429bcb7accb7">Unmount</a> )(struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *FS)</td></tr>
<tr class="separator:a5be3ba7b778d10a6333b429bcb7accb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00348">348</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a9b919eaba70c8e9d020930ba97b7df68" name="a9b919eaba70c8e9d020930ba97b7df68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b919eaba70c8e9d020930ba97b7df68">&#9670;&#160;</a></span>AllocateInode</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::AllocateInode) (struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> **Result)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00350">350</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<a id="a91b8a508085e42bcf27a06058a0fd2f7" name="a91b8a508085e42bcf27a06058a0fd2f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91b8a508085e42bcf27a06058a0fd2f7">&#9670;&#160;</a></span>DeleteInode</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::DeleteInode) (struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> *Node)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00351">351</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<a id="ac5d91cc844c75e8d58ef124a9b2c8722" name="ac5d91cc844c75e8d58ef124a9b2c8722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5d91cc844c75e8d58ef124a9b2c8722">&#9670;&#160;</a></span>Destroy</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::Destroy) (struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroy the filesystem.</p>
<p>Unregister the filesystem and free all resources.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">Info</td><td>Filesystem to destroy.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise an error code. </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00374">374</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<a id="a7df12971dc1079e22cb77d62743b12c6" name="a7df12971dc1079e22cb77d62743b12c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7df12971dc1079e22cb77d62743b12c6">&#9670;&#160;</a></span>Mount</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::Mount) (struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *FS, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> **Root, struct <a class="el" href="../../df/d26/fs_8h.html#d4/d24/structFileSystemDevice">FileSystemDevice</a> *Device)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Mount the filesystem.</p>
<p>Mount the filesystem on the given device.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">FS</td><td>Filesystem to mount. </td></tr>
<tr><td class="paramname">Root</td><td>Pointer to the root inode. </td></tr>
<tr><td class="paramname">Device</td><td>Device to mount. This pointer will be undefined after the function returns!</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise an error code. </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00398">398</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<a id="a8216e560343fe4d60d25d9339369008c" name="a8216e560343fe4d60d25d9339369008c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8216e560343fe4d60d25d9339369008c">&#9670;&#160;</a></span>Probe</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::Probe) (struct <a class="el" href="../../df/d26/fs_8h.html#d4/d24/structFileSystemDevice">FileSystemDevice</a> *Device)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Probe the filesystem.</p>
<p>Check if the filesystem is supported by the driver.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">Device</td><td>Device to probe.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise an error code. </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00385">385</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<a id="ac57a866f55ed08d2dd2897b27a541eb2" name="ac57a866f55ed08d2dd2897b27a541eb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac57a866f55ed08d2dd2897b27a541eb2">&#9670;&#160;</a></span>Synchronize</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::Synchronize) (struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *Info, struct <a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> *Node)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Synchronize the filesystem.</p>
<p>Write all pending changes to the disk.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">Info</td><td><a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> to synchronize. </td></tr>
<tr><td class="paramname">Node</td><td><a class="el" href="../../df/d26/fs_8h.html#d6/d59/structInode">Inode</a> to synchronize. If NULL, synchronize all inodes.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise an error code. </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00363">363</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<a id="a5be3ba7b778d10a6333b429bcb7accb7" name="a5be3ba7b778d10a6333b429bcb7accb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5be3ba7b778d10a6333b429bcb7accb7">&#9670;&#160;</a></span>Unmount</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* SuperBlockOperations::Unmount) (struct <a class="el" href="../../df/d26/fs_8h.html#de/d99/structFileSystemInfo">FileSystemInfo</a> *FS)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Unmount the filesystem.</p>
<p>Unmount the filesystem from the given device.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">FS</td><td>Filesystem to unmount.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise an error code. </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../df/d26/fs_8h_source.html#l00409">409</a> of file <a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>Kernel/include/interface/<a class="el" href="../../df/d26/fs_8h_source.html">fs.h</a></li>
</ul>
</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="../../d2/d55/structSuperBlockOperations.html">SuperBlockOperations</a></li>
<li class="footer">Generated on Sun May 18 2025 20:18:23 for Fennix by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
</html>