1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>NANDGetHomeDirUsageAsync</title> 9</head> 10 11<body> 12 13<h1>NANDGetHomeDirUsageAsync</h1> 14 15<h2>C Specification</h2> 16<dl><dd><pre><code> 17#include <revolution/nand.h> 18 19typedef void (*NANDCallback)( s32 result, NANDCommandBlock *block ); 20 21s32 NANDGetHomeDirUsageAsync( u32 *fsBlock, u32 *inode, NANDCallback cb, NANDCommandBlock *block ); 22</code></pre></dd></dl> 23 24<h2>Arguments</h2> 25<p> 26<TABLE border="1" > 27 <tr> 28<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>bytes</EM></STRONG></CODE></TD> 29<TD width="520">Pointer to the u32 type of variable which used to store the number of FS blocks that are being consumed under the home directory.</TD> 30 </tr> 31 <tr> 32<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>inodes</EM></STRONG></CODE></TD> 33<TD width="520">Pointer to the u32 type of variable which is used to store the number of i-nodes that are being consumed under the home directory.</TD> 34 </tr> 35 <tr> 36<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>cb</EM></STRONG></CODE></TD> 37<TD width="520">Callback function to call when this function completes processing.</TD> 38 </tr> 39 <tr> 40<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>block</EM></STRONG></CODE></TD> 41<TD width="520">Command block structure to be passed to the callback function.</TD> 42 </tr> 43</TABLE> 44</p> 45 46 47<h2>Return Values</h2> 48<p> 49Returns <CODE>NAND_RESULT_OK</CODE> when the request begins normally. 50<p> 51<code>NAND_RESULT_OK<br> NAND_RESULT_ALLOC_FAILED<br> NAND_RESULT_BUSY<br> NAND_RESULT_INVALID<br> NAND_RESULT_UNKNOWN<br> NAND_RESULT_FATAL_ERROR<br></code> 52</p> 53</p> 54 55<H2>Description</H2> 56<p> 57Asynchronously gets the number of FS blocks and i-nodes that are being consumed under the home directory. The number of i-nodes being consumed as obtained with this function includes the i-node of the home directory itself. 58</p> 59 60<h2>See Also</h2> 61<p> 62<code><a href="./NANDGetHomeDirUsage.html">NANDGetHomeDirUsage</a></code>, <code><a href="./NANDGetTmpDirUsage.html">NANDGetTmpDirUsage</a></code>, <code><a href="./NANDGetTmpDirUsageAsync.html">NANDGetTmpDirUsageAsync</a></code> 63</p> 64 65<H2>Revision History</H2> 66<p> 672007/05/09 Initial version. <BR> 68</p> 69 70</body> 71</html> 72