Attic/kduma/docs/index/Variables.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Variable Index</title>
<link rel="stylesheet" type="text/css" href="../styles/main.css" />
<script language="JavaScript" src="../javascript/main.js"></script>
</head>
<body class="UnframedPage" onLoad="NDOnLoad()">
<script language="JavaScript">
<!--
if (browserType) {
document.write("<div class=" + browserType + ">");
if (browserVer) {
document.write("<div class=" + browserVer + ">");
}
} // -->
</script>
<!-- Generated by Natural Docs, version 1.35 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="MenuSection" valign="top">
<!--START_ND_MENU-->
<div class="MEntry">
<div class="MFile">
<a href="../files/README-txt.html">00README</a>
</div>
</div>
<div class="MEntry">
<div class="MFile">
<a href="../files/duma_config-h.html">duma_config.h</a>
</div>
</div>
<div class="MEntry">
<div class="MFile"><a href="../files/kduma-c.html">kduma.c</a></div>
</div>
<div class="MEntry">
<div class="MFile"><a href="../files/kduma-h.html">kduma.h</a></div>
</div>
<div class="MEntry">
<div class="MFile"><a href="../files/log-h.html">log.h</a></div>
</div>
<div class="MEntry">
<div class="MFile">
<a href="../files/paging-h.html">paging.h</a>
</div>
</div>
<div class="MEntry">
<div class="MGroup">
<a href="javascript:ToggleMenu('MGroupContent1')">Index</a>
<div class="MGroupContent" id="MGroupContent1">
<div class="MEntry">
<div class="MIndex">
<a href="General.html">Everything</a>
</div>
</div>
<div class="MEntry">
<div class="MIndex"><a href="Classes.html">Classes</a></div>
</div>
<div class="MEntry">
<div class="MIndex"><a href="Files.html">Files</a></div>
</div>
<div class="MEntry">
<div class="MIndex">
<a href="Functions.html">Functions</a>
</div>
</div>
<div class="MEntry">
<div class="MIndex"><a href="Types.html">Types</a></div>
</div>
<div class="MEntry">
<div class="MIndex" id="MSelected">Variables</div>
</div>
</div>
</div>
</div>
<!--END_ND_MENU-->
</td>
<td class="IndexSection" valign="top">
<div class="IPageTitle">Variable Index</div>
<div class="INavigationBar">
<a href="#Symbols">$#!</a> · 0-9 · A · B
· C · <a href="#D">D</a> · E · F
· G · H · I · J · K · L
· <a href="#M">M</a> · <a href="#N">N</a> · O
· P · Q · R ·
<a href="#S">S</a> · T · <a href="#U">U</a> ·
<a href="#V">V</a> · W · X · Y · Z
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="IHeading" id="IFirstHeading">
<a name="Symbols"></a>$#!
</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot._duma_allocList"
id="link1"
onMouseOver="ShowTip(event, 'tt1', 'link1')"
onMouseOut="HideTip('tt1')"
class="ISymbol"
>_duma_allocList</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot._duma_allocListSize"
id="link2"
onMouseOver="ShowTip(event, 'tt2', 'link2')"
onMouseOut="HideTip('tt2')"
class="ISymbol"
>_duma_allocListSize</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="IHeading"><a name="D"></a>D</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_ALIGNMENT"
id="link3"
onMouseOver="ShowTip(event, 'tt3', 'link3')"
onMouseOut="HideTip('tt3')"
class="ISymbol"
>DUMA_ALIGNMENT</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_ALLOW_MALLOC_0"
id="link4"
onMouseOver="ShowTip(event, 'tt4', 'link4')"
onMouseOut="HideTip('tt4')"
class="ISymbol"
>DUMA_ALLOW_MALLOC_0</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_FILL"
id="link5"
onMouseOver="ShowTip(event, 'tt5', 'link5')"
onMouseOut="HideTip('tt5')"
class="ISymbol"
>DUMA_FILL</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_FREE_ACCESS"
id="link6"
onMouseOver="ShowTip(event, 'tt6', 'link6')"
onMouseOut="HideTip('tt6')"
class="ISymbol"
>DUMA_FREE_ACCESS</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.duma_init_done"
id="link7"
onMouseOver="ShowTip(event, 'tt7', 'link7')"
onMouseOut="HideTip('tt7')"
class="ISymbol"
>duma_init_done</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_MALLOC_FAILEXIT"
id="link8"
onMouseOver="ShowTip(event, 'tt8', 'link8')"
onMouseOut="HideTip('tt8')"
class="ISymbol"
>DUMA_MALLOC_FAILEXIT</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_MAX_ALLOC"
id="link9"
onMouseOver="ShowTip(event, 'tt9', 'link9')"
onMouseOut="HideTip('tt9')"
class="ISymbol"
>DUMA_MAX_ALLOC</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/duma_config-h.html#DUMA_MIN_ALIGNMENT"
id="link10"
onMouseOver="ShowTip(event, 'tt10', 'link10')"
onMouseOut="HideTip('tt10')"
class="ISymbol"
>DUMA_MIN_ALIGNMENT</a
>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/duma_config-h.html#DUMA_PAGE_SIZE"
id="link11"
onMouseOver="ShowTip(event, 'tt11', 'link11')"
onMouseOut="HideTip('tt11')"
class="ISymbol"
>DUMA_PAGE_SIZE</a
>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_PROTECT_BELOW"
id="link12"
onMouseOver="ShowTip(event, 'tt12', 'link12')"
onMouseOut="HideTip('tt12')"
class="ISymbol"
>DUMA_PROTECT_BELOW</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_PROTECT_FREE"
id="link13"
onMouseOver="ShowTip(event, 'tt13', 'link13')"
onMouseOut="HideTip('tt13')"
class="ISymbol"
>DUMA_PROTECT_FREE</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_SHOW_ALLOC"
id="link14"
onMouseOver="ShowTip(event, 'tt14', 'link14')"
onMouseOut="HideTip('tt14')"
class="ISymbol"
>DUMA_SHOW_ALLOC</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.DUMA_SLACKFILL"
id="link15"
onMouseOver="ShowTip(event, 'tt15', 'link15')"
onMouseOut="HideTip('tt15')"
class="ISymbol"
>DUMA_SLACKFILL</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="IHeading"><a name="M"></a>M</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#MEMORY_CREATION_SIZE"
id="link16"
onMouseOver="ShowTip(event, 'tt16', 'link16')"
onMouseOut="HideTip('tt16')"
class="ISymbol"
>MEMORY_CREATION_SIZE</a
>
</td>
</tr>
<tr>
<td class="IHeading"><a name="N"></a>N</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/log-h.html#none"
id="link17"
onMouseOver="ShowTip(event, 'tt17', 'link17')"
onMouseOut="HideTip('tt17')"
class="ISymbol"
>none</a
>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.numAllocs"
id="link18"
onMouseOver="ShowTip(event, 'tt18', 'link18')"
onMouseOut="HideTip('tt18')"
class="ISymbol"
>numAllocs</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.numDeallocs"
id="link19"
onMouseOver="ShowTip(event, 'tt19', 'link19')"
onMouseOut="HideTip('tt19')"
class="ISymbol"
>numDeallocs</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="IHeading"><a name="S"></a>S</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.slotCount"
id="link20"
onMouseOver="ShowTip(event, 'tt20', 'link20')"
onMouseOut="HideTip('tt20')"
class="ISymbol"
>slotCount</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.slotsPerPage"
id="link21"
onMouseOver="ShowTip(event, 'tt21', 'link21')"
onMouseOut="HideTip('tt21')"
class="ISymbol"
>slotsPerPage</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.sumAllocatedMem"
id="link22"
onMouseOver="ShowTip(event, 'tt22', 'link22')"
onMouseOut="HideTip('tt22')"
class="ISymbol"
>sumAllocatedMem</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.sumProtectedMem"
id="link23"
onMouseOver="ShowTip(event, 'tt23', 'link23')"
onMouseOut="HideTip('tt23')"
class="ISymbol"
>sumProtectedMem</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.sumTotalAllocatedMem"
id="link24"
onMouseOver="ShowTip(event, 'tt24', 'link24')"
onMouseOut="HideTip('tt24')"
class="ISymbol"
>sumTotalAllocatedMem</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="IHeading"><a name="U"></a>U</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#_DUMA_Slot.unUsedSlots"
id="link25"
onMouseOver="ShowTip(event, 'tt25', 'link25')"
onMouseOut="HideTip('tt25')"
class="ISymbol"
>unUsedSlots</a
>, <span class="IParent">_DUMA_Slot</span>
</td>
</tr>
<tr>
<td class="IHeading"><a name="V"></a>V</td>
<td></td>
</tr>
<tr>
<td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
<td class="IEntry">
<a
href="../files/kduma-c.html#version"
id="link26"
onMouseOver="ShowTip(event, 'tt26', 'link26')"
onMouseOut="HideTip('tt26')"
class="ISymbol"
>version</a
>
</td>
</tr>
</table>
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt1">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>struct _DUMA_Slot * _duma_allocList</td>
</tr>
</table>
</blockquote>
_DUMA_allocList points to the array of slot structures used to
manage the malloc arena.
</div>
</div>
<div class="CToolTip" id="tt2">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static size_t _duma_allocListSize</td>
</tr>
</table>
</blockquote>
_duma_allocListSize is the size of the allocation list.
</div>
</div>
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt3">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>size_t DUMA_ALIGNMENT</td>
</tr>
</table>
</blockquote>
DUMA_ALIGNMENT is a global variable used to control the default
alignment of buffers returned by malloc(), calloc(), and
realloc().
</div>
</div>
<div class="CToolTip" id="tt4">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static int DUMA_ALLOW_MALLOC_0</td>
</tr>
</table>
</blockquote>
DUMA_ALLOW_MALLOC_0 is set if DUMA is to allow malloc(0).
</div>
</div>
<div class="CToolTip" id="tt5">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>int DUMA_FILL</td>
</tr>
</table>
</blockquote>
DUMA_FILL is set to 0-255 if DUMA should fill all new allocated
memory with the specified value.
</div>
</div>
<div class="CToolTip" id="tt6">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static int DUMA_FREE_ACCESS</td>
</tr>
</table>
</blockquote>
DUMA_FREE_ACCESS is set if DUMA is to write access memory before
freeing it.
</div>
</div>
<div class="CToolTip" id="tt7">
<div class="CVariable">
internal variable: state of initialization
</div>
</div>
<div class="CToolTip" id="tt8">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static int DUMA_MALLOC_FAILEXIT</td>
</tr>
</table>
</blockquote>
DUMA_MALLOC_FAILEXIT controls the behaviour of DUMA when malloc()
fails and would return NULL.
</div>
</div>
<div class="CToolTip" id="tt9">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long DUMA_MAX_ALLOC</td>
</tr>
</table>
</blockquote>
DUMA_MAX_ALLOC is used to control the maximum memory print of the
program in total: When the sum of allocated and protected memory
would exceed this value in kB, the protected memory is
freed/deleted.
</div>
</div>
<div class="CToolTip" id="tt10">
<div class="CVariable">Minimum required alignment by CPU.</div>
</div>
<div class="CToolTip" id="tt11">
<div class="CVariable">
Number of bytes per virtual-memory page, as returned by
Page_Size().
</div>
</div>
<div class="CToolTip" id="tt12">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>int DUMA_PROTECT_BELOW</td>
</tr>
</table>
</blockquote>
DUMA_PROTECT_BELOW is used to modify the behavior of the
allocator.
</div>
</div>
<div class="CToolTip" id="tt13">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long DUMA_PROTECT_FREE</td>
</tr>
</table>
</blockquote>
DUMA_PROTECT_FREE is used to control the disposition of memory
that is released using free().
</div>
</div>
<div class="CToolTip" id="tt14">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static int DUMA_SHOW_ALLOC</td>
</tr>
</table>
</blockquote>
DUMA_SHOW_ALLOC is set if DUMA is to print all allocations and
deallocations to the console.
</div>
</div>
<div class="CToolTip" id="tt15">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static int DUMA_SLACKFILL</td>
</tr>
</table>
</blockquote>
DUMA_SLACKFILL is set to 0-255.
</div>
</div>
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt16">
<div class="CVariable">
MEMORY_CREATION_SIZE is the amount of memory to get from the
operating system at one time.
</div>
</div>
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt17">
<div class="CVariable">
Fake variable to make docs work right :(
</div>
</div>
<div class="CToolTip" id="tt18">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long numAllocs</td>
</tr>
</table>
</blockquote>
internal variable: number of allocations processed so far
</div>
</div>
<div class="CToolTip" id="tt19">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long numDeallocs</td>
</tr>
</table>
</blockquote>
internal variable: number of deallocations processed so far
</div>
</div>
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt20">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static size_t slotCount</td>
</tr>
</table>
</blockquote>
slotCount is the number of Slot structures in allocationList.
</div>
</div>
<div class="CToolTip" id="tt21">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static size_t slotsPerPage</td>
</tr>
</table>
</blockquote>
slotsPerPage is the number of slot structures that fit in a
virtual memory page.
</div>
</div>
<div class="CToolTip" id="tt22">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long sumAllocatedMem</td>
</tr>
</table>
</blockquote>
internal variable: sum of allocated -freed +protected memory in kB
</div>
</div>
<div class="CToolTip" id="tt23">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long sumProtectedMem</td>
</tr>
</table>
</blockquote>
internal variable: sum of protected memory in kB
</div>
</div>
<div class="CToolTip" id="tt24">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static long sumTotalAllocatedMem</td>
</tr>
</table>
</blockquote>
internal variable: sum of allocated memory in kB
</div>
</div>
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt25">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static size_t unUsedSlots</td>
</tr>
</table>
</blockquote>
unUsedSlots is the number of Slot structures that are currently
available to represent new malloc buffers.
</div>
</div>
<!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<div class="CToolTip" id="tt26">
<div class="CVariable">
<blockquote>
<table
border="0"
cellspacing="0"
cellpadding="0"
class="Prototype"
>
<tr>
<td>static const char version[]</td>
</tr>
</table>
</blockquote>
KDUMA version string
</div>
</div>
<!--END_ND_TOOLTIPS-->
</td>
</tr>
</table>
<div class="Footer">
<!--START_ND_FOOTER-->Generated by
<a href="http://www.naturaldocs.org">Natural Docs</a
><!--END_ND_FOOTER-->
</div>
<script language="JavaScript">
<!--
if (browserType) {
if (browserVer) {
document.write("</div>");
}
document.write("</div>");
} // -->
</script>
</body>
</html>