123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
- <html>
- <head>
- <title>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" id="MSelected">Everything</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">
- <a href="Variables.html">Variables</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--END_ND_MENU-->
- </td>
- <td class="IndexSection" valign="top">
- <div class="IPageTitle">Index</div>
- <div class="INavigationBar">
- <a href="#Symbols">$#!</a> ·
- <a href="#Numbers">0-9</a> · <a href="#A">A</a> · B
- · C · <a href="#D">D</a> ·
- <a href="#E">E</a> · <a href="#F">F</a> · G · H
- · <a href="#I">I</a> · J ·
- <a href="#K">K</a> · <a href="#L">L</a> ·
- <a href="#M">M</a> · <a href="#N">N</a> · O ·
- <a href="#P">P</a> · Q · R ·
- <a href="#S">S</a> · <a href="#T">T</a> ·
- <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_allocate"
- id="link1"
- onMouseOver="ShowTip(event, 'tt1', 'link1')"
- onMouseOut="HideTip('tt1')"
- class="ISymbol"
- >_duma_allocate</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-h.html#_DUMA_Allocator"
- id="link2"
- onMouseOver="ShowTip(event, 'tt2', 'link2')"
- onMouseOut="HideTip('tt2')"
- class="ISymbol"
- >_DUMA_Allocator</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot._duma_allocList"
- id="link3"
- onMouseOver="ShowTip(event, 'tt3', 'link3')"
- onMouseOut="HideTip('tt3')"
- class="ISymbol"
- >_duma_allocList</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_allocListSize"
- id="link4"
- onMouseOver="ShowTip(event, 'tt4', 'link4')"
- onMouseOut="HideTip('tt4')"
- class="ISymbol"
- >_duma_allocListSize</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_assert"
- id="link5"
- onMouseOver="ShowTip(event, 'tt5', 'link5')"
- onMouseOut="HideTip('tt5')"
- class="ISymbol"
- >_duma_assert</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_deallocate"
- id="link6"
- onMouseOver="ShowTip(event, 'tt6', 'link6')"
- onMouseOut="HideTip('tt6')"
- class="ISymbol"
- >_duma_deallocate</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-h.html#_DUMA_FailReturn"
- id="link7"
- onMouseOver="ShowTip(event, 'tt7', 'link7')"
- onMouseOut="HideTip('tt7')"
- class="ISymbol"
- >_DUMA_FailReturn</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot._duma_init"
- id="link8"
- onMouseOver="ShowTip(event, 'tt8', 'link8')"
- onMouseOut="HideTip('tt8')"
- class="ISymbol"
- >_duma_init</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_InitState"
- id="link9"
- onMouseOver="ShowTip(event, 'tt9', 'link9')"
- onMouseOut="HideTip('tt9')"
- class="ISymbol"
- >_DUMA_InitState</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot._duma_kmalloc"
- id="link10"
- onMouseOver="ShowTip(event, 'tt10', 'link10')"
- onMouseOut="HideTip('tt10')"
- class="ISymbol"
- >_duma_kmalloc</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_MemRegion"
- id="link11"
- onMouseOver="ShowTip(event, 'tt11', 'link11')"
- onMouseOut="HideTip('tt11')"
- class="ISymbol"
- >_DUMA_MemRegion</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot"
- id="link12"
- onMouseOver="ShowTip(event, 'tt12', 'link12')"
- onMouseOut="HideTip('tt12')"
- class="ISymbol"
- >_DUMA_Slot</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot_FileSource"
- id="link13"
- onMouseOver="ShowTip(event, 'tt13', 'link13')"
- onMouseOut="HideTip('tt13')"
- class="ISymbol"
- >_DUMA_Slot_FileSource</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_SlotState"
- id="link14"
- onMouseOver="ShowTip(event, 'tt14', 'link14')"
- onMouseOut="HideTip('tt14')"
- class="ISymbol"
- >_DUMA_SlotState</a
- >
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="Numbers"></a>0-9</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/README-txt.html#00README"
- id="link15"
- onMouseOver="ShowTip(event, 'tt15', 'link15')"
- onMouseOut="HideTip('tt15')"
- class="ISymbol"
- >00README</a
- >
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="A"></a>A</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot.allocateMoreSlots"
- id="link16"
- onMouseOver="ShowTip(event, 'tt16', 'link16')"
- onMouseOut="HideTip('tt16')"
- class="ISymbol"
- >allocateMoreSlots</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/duma_config-h.html#DUMA_ADDR"
- id="link17"
- onMouseOver="ShowTip(event, 'tt17', 'link17')"
- onMouseOut="HideTip('tt17')"
- class="ISymbol"
- >DUMA_ADDR</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot.DUMA_ALIGNMENT"
- id="link18"
- onMouseOver="ShowTip(event, 'tt18', 'link18')"
- onMouseOut="HideTip('tt18')"
- 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="link19"
- onMouseOver="ShowTip(event, 'tt19', 'link19')"
- onMouseOut="HideTip('tt19')"
- 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/duma_config-h.html#duma_config.h"
- class="ISymbol"
- >duma_config.h</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot.DUMA_FILL"
- id="link20"
- onMouseOver="ShowTip(event, 'tt20', 'link20')"
- onMouseOut="HideTip('tt20')"
- 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="link21"
- onMouseOver="ShowTip(event, 'tt21', 'link21')"
- onMouseOut="HideTip('tt21')"
- 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"
- id="link22"
- onMouseOver="ShowTip(event, 'tt22', 'link22')"
- onMouseOut="HideTip('tt22')"
- class="ISymbol"
- >duma_init</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="link23"
- onMouseOver="ShowTip(event, 'tt23', 'link23')"
- onMouseOut="HideTip('tt23')"
- 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="link24"
- onMouseOver="ShowTip(event, 'tt24', 'link24')"
- onMouseOut="HideTip('tt24')"
- 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="link25"
- onMouseOver="ShowTip(event, 'tt25', 'link25')"
- onMouseOut="HideTip('tt25')"
- 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="link26"
- onMouseOver="ShowTip(event, 'tt26', 'link26')"
- onMouseOut="HideTip('tt26')"
- 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="link27"
- onMouseOver="ShowTip(event, 'tt27', 'link27')"
- onMouseOut="HideTip('tt27')"
- 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="link28"
- onMouseOver="ShowTip(event, 'tt28', 'link28')"
- onMouseOut="HideTip('tt28')"
- 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="link29"
- onMouseOver="ShowTip(event, 'tt29', 'link29')"
- onMouseOut="HideTip('tt29')"
- 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="link30"
- onMouseOver="ShowTip(event, 'tt30', 'link30')"
- onMouseOut="HideTip('tt30')"
- class="ISymbol"
- >DUMA_SHOW_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_SIZE"
- id="link31"
- onMouseOver="ShowTip(event, 'tt31', 'link31')"
- onMouseOut="HideTip('tt31')"
- class="ISymbol"
- >DUMA_SIZE</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot.DUMA_SLACKFILL"
- id="link32"
- onMouseOver="ShowTip(event, 'tt32', 'link32')"
- onMouseOut="HideTip('tt32')"
- class="ISymbol"
- >DUMA_SLACKFILL</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="E"></a>E</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <span class="ISymbol">Enumerations</span>
- <div class="ISubIndex">
- <a href="../files/kduma-c.html#Enumerations" class="IFile"
- >kduma.c</a
- ><a href="../files/kduma-h.html#Enumerations" class="IFile"
- >kduma.h</a
- >
- </div>
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="F"></a>F</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <span class="ISymbol">Functions</span>
- <div class="ISubIndex">
- <span class="IParent">Global</span>
- <div class="ISubIndex">
- <a href="../files/log-h.html#Functions" class="IFile"
- >log.h</a
- ><a href="../files/paging-h.html#Functions" class="IFile"
- >paging.h</a
- >
- </div>
- <a
- href="../files/kduma-c.html#_DUMA_Slot.Functions"
- class="IParent"
- >_DUMA_Slot</a
- >
- </div>
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="I"></a>I</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/log-h.html#ilog2"
- id="link33"
- onMouseOver="ShowTip(event, 'tt33', 'link33')"
- onMouseOut="HideTip('tt33')"
- class="ISymbol"
- >ilog2</a
- >
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="K"></a>K</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
- <td class="IEntry">
- <a href="../files/kduma-c.html#kduma.c" class="ISymbol"
- >kduma.c</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
- <td class="IEntry">
- <a href="../files/kduma-h.html#kduma.h" class="ISymbol"
- >kduma.h</a
- >
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="L"></a>L</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <a href="../files/log-h.html#log.h" class="ISymbol">log.h</a>
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="M"></a>M</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#MEMORY_CREATION_SIZE"
- id="link34"
- onMouseOver="ShowTip(event, 'tt34', 'link34')"
- onMouseOut="HideTip('tt34')"
- class="ISymbol"
- >MEMORY_CREATION_SIZE</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/paging-h.html#mprotectFailed"
- id="link35"
- onMouseOver="ShowTip(event, 'tt35', 'link35')"
- onMouseOut="HideTip('tt35')"
- class="ISymbol"
- >mprotectFailed</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="link36"
- onMouseOver="ShowTip(event, 'tt36', 'link36')"
- onMouseOut="HideTip('tt36')"
- class="ISymbol"
- >none</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#_DUMA_Slot.numAllocs"
- id="link37"
- onMouseOver="ShowTip(event, 'tt37', 'link37')"
- onMouseOut="HideTip('tt37')"
- 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="link38"
- onMouseOver="ShowTip(event, 'tt38', 'link38')"
- onMouseOut="HideTip('tt38')"
- class="ISymbol"
- >numDeallocs</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="P"></a>P</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IFirstSymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/paging-h.html#Page_AllowAccess"
- id="link39"
- onMouseOver="ShowTip(event, 'tt39', 'link39')"
- onMouseOut="HideTip('tt39')"
- class="ISymbol"
- >Page_AllowAccess</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/paging-h.html#Page_Create"
- id="link40"
- onMouseOver="ShowTip(event, 'tt40', 'link40')"
- onMouseOut="HideTip('tt40')"
- class="ISymbol"
- >Page_Create</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/paging-h.html#Page_Delete"
- id="link41"
- onMouseOver="ShowTip(event, 'tt41', 'link41')"
- onMouseOut="HideTip('tt41')"
- class="ISymbol"
- >Page_Delete</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/paging-h.html#Page_DenyAccess"
- id="link42"
- onMouseOver="ShowTip(event, 'tt42', 'link42')"
- onMouseOut="HideTip('tt42')"
- class="ISymbol"
- >Page_DenyAccess</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/paging-h.html#Page_Size"
- id="link43"
- onMouseOver="ShowTip(event, 'tt43', 'link43')"
- onMouseOut="HideTip('tt43')"
- class="ISymbol"
- >Page_Size</a
- >
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
- <td class="IEntry">
- <a href="../files/paging-h.html#paging.h" class="ISymbol"
- >paging.h</a
- >
- </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="link44"
- onMouseOver="ShowTip(event, 'tt44', 'link44')"
- onMouseOut="HideTip('tt44')"
- 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="link45"
- onMouseOver="ShowTip(event, 'tt45', 'link45')"
- onMouseOut="HideTip('tt45')"
- 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="link46"
- onMouseOver="ShowTip(event, 'tt46', 'link46')"
- onMouseOut="HideTip('tt46')"
- 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="link47"
- onMouseOver="ShowTip(event, 'tt47', 'link47')"
- onMouseOut="HideTip('tt47')"
- 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="link48"
- onMouseOver="ShowTip(event, 'tt48', 'link48')"
- onMouseOut="HideTip('tt48')"
- class="ISymbol"
- >sumTotalAllocatedMem</a
- >, <span class="IParent">_DUMA_Slot</span>
- </td>
- </tr>
- <tr>
- <td class="IHeading"><a name="T"></a>T</td>
- <td></td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="IOnlySymbolPrefix"> </td>
- <td class="IEntry">
- <a href="../files/duma_config-h.html#Types" class="ISymbol"
- >Types</a
- >
- </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="link49"
- onMouseOver="ShowTip(event, 'tt49', 'link49')"
- onMouseOut="HideTip('tt49')"
- 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="IFirstSymbolPrefix"> </td>
- <td class="IEntry">
- <span class="ISymbol">Variables</span>
- <div class="ISubIndex">
- <span class="IParent">Global</span>
- <div class="ISubIndex">
- <a
- href="../files/duma_config-h.html#Variables"
- class="IFile"
- >duma_config.h</a
- ><a href="../files/kduma-c.html#Variables" class="IFile"
- >kduma.c</a
- ><a href="../files/log-h.html#Variables" class="IFile"
- >log.h</a
- >
- </div>
- <a
- href="../files/kduma-c.html#_DUMA_Slot.Variables"
- class="IParent"
- >_DUMA_Slot</a
- >
- </div>
- </td>
- </tr>
- <tr>
- <td class="ISymbolPrefix" id="ILastSymbolPrefix"> </td>
- <td class="IEntry">
- <a
- href="../files/kduma-c.html#version"
- id="link50"
- onMouseOver="ShowTip(event, 'tt50', 'link50')"
- onMouseOut="HideTip('tt50')"
- class="ISymbol"
- >version</a
- >
- </td>
- </tr>
- </table>
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt1">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void * _duma_allocate(
- </td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameter" nowrap>alignment,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameter" nowrap>userSize,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>protectBelow,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>fillByte,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>protectAllocList,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap>enum </td>
- <td class="PType" nowrap>_DUMA_Allocator </td>
- <td class="PParameter" nowrap>allocator,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap>
- enum _DUMA_FailReturn
- </td>
- <td class="PType" nowrap>fail </td>
- <td class="PParameter" nowrap>DUMA_PARAMLIST_FL</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- This is the memory allocator.
- </div>
- </div>
- <div class="CToolTip" id="tt2">
- <div class="CType">
- Passed to duma allocator such as we know who is calling us.
- </div>
- </div>
- <div class="CToolTip" id="tt3">
- <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="tt4">
- <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>
- <div class="CToolTip" id="tt5">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void _duma_assert(
- </td>
- <td class="PTypePrefix" nowrap>const </td>
- <td class="PType" nowrap>char </td>
- <td class="PParameterPrefix" nowrap>*</td>
- <td class="PParameter" nowrap>exprstr,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap>const </td>
- <td class="PType" nowrap>char </td>
- <td class="PParameterPrefix" nowrap>*</td>
- <td class="PParameter" nowrap>filename,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameterPrefix" nowrap></td>
- <td class="PParameter" nowrap>lineno</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Print message and halt program execution in crazy way.
- </div>
- </div>
- <div class="CToolTip" id="tt6">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void _duma_deallocate(
- </td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>void </td>
- <td class="PParameterPrefix" nowrap>*</td>
- <td class="PParameter" nowrap>address,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameterPrefix" nowrap></td>
- <td class="PParameter" nowrap>protectAllocList,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap>
- enum _DUMA_Allocator
- </td>
- <td class="PType" nowrap>allocator </td>
- <td class="PParameterPrefix" nowrap></td>
- <td class="PParameter" nowrap>DUMA_PARAMLIST_FL</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Deallocate allocated memory after running some checks, then open
- slot for use.
- </div>
- </div>
- <div class="CToolTip" id="tt7">
- <div class="CType">Unknown use.</div>
- </div>
- <div class="CToolTip" id="tt8">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void _duma_init(
- </td>
- <td class="PParameter" nowrap>void</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- _duma_init sets up the memory allocation arena and the run-time
- configuration information.
- </div>
- </div>
- <div class="CToolTip" id="tt9">
- <div class="CType">Whats are initialization start</div>
- </div>
- <div class="CToolTip" id="tt10">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void * _duma_kmalloc(
- </td>
- <td class="PTypePrefix" nowrap></td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameter" nowrap>size,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PTypePrefix" nowrap>int </td>
- <td class="PType" nowrap>flags </td>
- <td class="PParameter" nowrap>DUMA_PARAMLIST_FL</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- A version of kmalloc.
- </div>
- </div>
- <div class="CToolTip" id="tt11">
- <div class="CType">Memory region of slot.</div>
- </div>
- <div class="CToolTip" id="tt12">
- <div class="CClass">
- Struct Slot contains all of the information about a malloc buffer
- except for the contents of its memory.
- </div>
- </div>
- <div class="CToolTip" id="tt13">
- <div class="CType">Where did we get file info</div>
- </div>
- <div class="CToolTip" id="tt14">
- <div class="CType">State of slot values (empty, free, etc)</div>
- </div>
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt15">
- <div class="CSection">
- This is the begining of a linux kernel model duma.
- </div>
- </div>
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt16">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static void allocateMoreSlots(
- </td>
- <td class="PParameter" nowrap>void</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- allocateMoreSlots is called when there are only enough slot
- structures left to support the allocation of a single malloc
- buffer.
- </div>
- </div>
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt17">
- <div class="CType">
- An integer type with same size as ‘void *’
- </div>
- </div>
- <div class="CToolTip" id="tt18">
- <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="tt19">
- <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="tt20">
- <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="tt21">
- <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="tt22">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void duma_init(
- </td>
- <td class="PParameter" nowrap>void</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- duma_init sets configuration settings.
- </div>
- </div>
- <div class="CToolTip" id="tt23">
- <div class="CVariable">
- internal variable: state of initialization
- </div>
- </div>
- <div class="CToolTip" id="tt24">
- <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="tt25">
- <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="tt26">
- <div class="CVariable">Minimum required alignment by CPU.</div>
- </div>
- <div class="CToolTip" id="tt27">
- <div class="CVariable">
- Number of bytes per virtual-memory page, as returned by
- Page_Size().
- </div>
- </div>
- <div class="CToolTip" id="tt28">
- <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="tt29">
- <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="tt30">
- <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="tt31">
- <div class="CType">
- An integer type with same size as ‘size_t’
- </div>
- </div>
- <div class="CToolTip" id="tt32">
- <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-->
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt33">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static inline int ilog2(
- </td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>val</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Base 2 log computation.
- </div>
- </div>
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt34">
- <div class="CVariable">
- MEMORY_CREATION_SIZE is the amount of memory to get from the
- operating system at one time.
- </div>
- </div>
- <div class="CToolTip" id="tt35">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static void mprotectFailed(
- </td>
- <td class="PParameter" nowrap>void</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Report that VirtualProtect or mprotect failed and abort program
- execution.
- </div>
- </div>
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt36">
- <div class="CVariable">
- Fake variable to make docs work right :(
- </div>
- </div>
- <div class="CToolTip" id="tt37">
- <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="tt38">
- <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="tt39">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- void Page_AllowAccess(
- </td>
- <td class="PType" nowrap>void </td>
- <td class="PParameterPrefix" nowrap>*</td>
- <td class="PParameter" nowrap>address,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameterPrefix" nowrap></td>
- <td class="PParameter" nowrap>size</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Allow memory access to allocated memory.
- </div>
- </div>
- <div class="CToolTip" id="tt40">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static void * Page_Create(
- </td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameter" nowrap>size,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>exitonfail,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>printerror,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PType" nowrap>int </td>
- <td class="PParameter" nowrap>flags</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Create memory.
- </div>
- </div>
- <div class="CToolTip" id="tt41">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static void Page_Delete(
- </td>
- <td class="PType" nowrap>void </td>
- <td class="PParameterPrefix" nowrap>*</td>
- <td class="PParameter" nowrap>address,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameterPrefix" nowrap></td>
- <td class="PParameter" nowrap>size</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Free’s DUMA allocated memory.
- </div>
- </div>
- <div class="CToolTip" id="tt42">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static void Page_DenyAccess(
- </td>
- <td class="PType" nowrap>void </td>
- <td class="PParameterPrefix" nowrap>*</td>
- <td class="PParameter" nowrap>address,</td>
- </tr>
- <tr>
- <td></td>
- <td class="PType" nowrap>size_t </td>
- <td class="PParameterPrefix" nowrap></td>
- <td class="PParameter" nowrap>size</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Deny access to allocated memory region.
- </div>
- </div>
- <div class="CToolTip" id="tt43">
- <div class="CFunction">
- <blockquote>
- <table
- border="0"
- cellspacing="0"
- cellpadding="0"
- class="Prototype"
- >
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="PBeforeParameters" nowrap>
- static size_t Page_Size(
- </td>
- <td class="PParameter" nowrap>void</td>
- <td class="PAfterParameters" nowrap>)</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </blockquote>
- Retrieve page size.
- </div>
- </div>
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt44">
- <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="tt45">
- <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="tt46">
- <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="tt47">
- <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="tt48">
- <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-->
- <!--END_ND_TOOLTIPS-->
- <!--START_ND_TOOLTIPS-->
- <div class="CToolTip" id="tt49">
- <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="tt50">
- <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>
|