| <!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" lang="en-US"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| <meta http-equiv="X-UA-Compatible" content="IE=11"/> | |
| <meta name="generator" content="Doxygen 1.18.0"/> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| <title>mi-malloc: mimalloc-doc.h Source File</title> | |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| <script type="text/javascript" src="codefolding.js"></script> | |
| <script type="text/javascript" src="clipboard.js"></script> | |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> | |
| <script type="text/javascript" src="navtreedata.js"></script> | |
| <script type="text/javascript" src="navtree.js"></script> | |
| <script type="text/javascript" src="cookie.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="mimalloc-doxygen.css" rel="stylesheet" type="text/css"/> | |
| </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 id="projectrow"> | |
| <td id="projectlogo"><img alt="Logo" src="mimalloc-logo.svg"/></td> | |
| <td id="projectalign"> | |
| <div id="projectname">mi-malloc<span id="projectnumber"> 3.5/2.5/1.15</span> | |
| </div> | |
| </td> | |
| <td> <div id="MSearchBox" class="MSearchBoxInactive"> | |
| <span class="left"> | |
| <span id="MSearchSelect" class="search-icon"><span class="search-icon-dropdown"></span></span> | |
| <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"/> | |
| </span><span class="right"> | |
| <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><div id="MSearchCloseImg" class="close-icon"></div></a> | |
| </span> | |
| </div> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <!-- end header part --> | |
| <!-- Generated by Doxygen 1.18.0 --> | |
| <script type="text/javascript"> | |
| let searchBox = new SearchBox("searchBox", "search/",'.html'); | |
| </script> | |
| <script type="text/javascript"> | |
| document.addEventListener('DOMContentLoaded', codefold.init); | |
| </script> | |
| </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" class="ui-resizable-handle"> | |
| </div> | |
| </div> | |
| <script type="text/javascript"> | |
| document.addEventListener('DOMContentLoaded',() => { initNavTree('mimalloc-doc_8h_source.html','',''); }); | |
| </script> | |
| <div id="container"> | |
| <div id="doc-content"> | |
| <!-- window showing the filter options --> | |
| <div id="MSearchSelectWindow"> | |
| </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="headertitle"><div class="title">mimalloc-doc.h</div></div> | |
| </div><!--header--> | |
| <div class="contents"> | |
| <div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/* ----------------------------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">Copyright (c) 2018-2026, Microsoft Research, Daan Leijen</span></div> | |
| <div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">This is free software; you can redistribute it and/or modify it under the</span></div> | |
| <div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">terms of the MIT license. A copy of the license can be found in the file</span></div> | |
| <div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">"LICENSE" at the root of this distribution.</span></div> | |
| <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">-----------------------------------------------------------------------------*/</span></div> | |
| <div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div> | |
| <div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#error "documentation file only!"</span></div> | |
| <div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div> | |
| <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span></div> | |
| <div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div> | |
| <div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span></div> | |
| <div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div> | |
| <div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span></div> | |
| <div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="group__malloc.html#gaf2c7b89c327d1f60f59e68b9ea644d95"> 131</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__malloc.html#gaf2c7b89c327d1f60f59e68b9ea644d95">mi_free</a>(<span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span></div> | |
| <div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="group__malloc.html#ga705dc7a64bffacfeeb0141501a5c35d7"> 137</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__malloc.html#ga705dc7a64bffacfeeb0141501a5c35d7">mi_cfree</a>(<span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span></div> | |
| <div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="group__malloc.html#gae1dd97b542420c87ae085e822b1229e8"> 143</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#gae1dd97b542420c87ae085e822b1229e8">mi_malloc</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span></div> | |
| <div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="group__malloc.html#gae6e38c4403247a7b40d80419e093bfb8"> 149</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#gae6e38c4403247a7b40d80419e093bfb8">mi_zalloc</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span></div> | |
| <div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="group__malloc.html#ga6686568014b54d1e6c7ac64a076e4f56"> 160</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#ga6686568014b54d1e6c7ac64a076e4f56">mi_calloc</a>(<span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span></div> | |
| <div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="group__malloc.html#ga0621af6a5e3aa384e6a1b548958bf583"> 175</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#ga0621af6a5e3aa384e6a1b548958bf583">mi_realloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span></div> | |
| <div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="group__malloc.html#ga19299856216cfbb08e2628593654dfb0"> 190</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#ga19299856216cfbb08e2628593654dfb0">mi_expand</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span></div> | |
| <div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="group__malloc.html#ga61f46bade3db76ca24aaafedc40de7b6"> 201</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#ga61f46bade3db76ca24aaafedc40de7b6">mi_mallocn</a>(<span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span></div> | |
| <div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="group__malloc.html#ga8bddfb4a1270a0854bbcf44cb3980467"> 212</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#ga8bddfb4a1270a0854bbcf44cb3980467">mi_reallocn</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span></div> | |
| <div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="group__malloc.html#ga4dc3a4067037b151a64629fe8a332641"> 230</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__malloc.html#ga4dc3a4067037b151a64629fe8a332641">mi_reallocf</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> </div> | |
| <div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span></div> | |
| <div class="line"><a id="l00241" name="l00241"></a><span class="lineno"><a class="line" href="group__malloc.html#ga245ac90ebc2cfdd17de599e5fea59889"> 241</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__malloc.html#ga245ac90ebc2cfdd17de599e5fea59889">mi_strdup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s);</div> | |
| <div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span></div> | |
| <div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="group__malloc.html#ga486d0d26b3b3794f6d1cdb41a9aed92d"> 252</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__malloc.html#ga486d0d26b3b3794f6d1cdb41a9aed92d">mi_strndup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s, <span class="keywordtype">size_t</span> n);</div> | |
| <div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span></div> | |
| <div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="group__malloc.html#ga94c3afcc086e85d75a57e9f76b9b71dd"> 266</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__malloc.html#ga94c3afcc086e85d75a57e9f76b9b71dd">mi_realpath</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fname, <span class="keywordtype">char</span>* resolved_name);</div> | |
| <div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span></div> | |
| <div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="group__malloc.html#ga089c859d9eddc5f9b4bd946cd53cebee"> 281</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__malloc.html#ga089c859d9eddc5f9b4bd946cd53cebee">mi_usable_size</a>(<span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span></div> | |
| <div class="line"><a id="l00292" name="l00292"></a><span class="lineno"><a class="line" href="group__malloc.html#gac057927cd06c854b45fe7847e921bd47"> 292</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__malloc.html#gac057927cd06c854b45fe7847e921bd47">mi_good_size</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span></div> | |
| <div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div> | |
| <div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div> | |
| <div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span><span class="comment">// Aligned allocation</span></div> | |
| <div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span></div> | |
| <div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span></div> | |
| <div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="group__aligned.html#ga69578ff1a98ca16e1dcd02c0995cd65c"> 326</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#ga69578ff1a98ca16e1dcd02c0995cd65c">mi_malloc_aligned</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00327" name="l00327"></a><span class="lineno"><a class="line" href="group__aligned.html#gaac7d0beb782f9b9ac31f47492b130f82"> 327</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#gaac7d0beb782f9b9ac31f47492b130f82">mi_zalloc_aligned</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00328" name="l00328"></a><span class="lineno"><a class="line" href="group__aligned.html#ga424ef386fb1f9f8e0a86ab53f16eaaf1"> 328</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#ga424ef386fb1f9f8e0a86ab53f16eaaf1">mi_calloc_aligned</a>(<span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00329" name="l00329"></a><span class="lineno"><a class="line" href="group__aligned.html#ga5d7a46d054b4d7abe9d8d2474add2edf"> 329</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#ga5d7a46d054b4d7abe9d8d2474add2edf">mi_realloc_aligned</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span></div> | |
| <div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="group__aligned.html#ga2022f71b95a7cd6cce1b6e07752ae8ca"> 342</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#ga2022f71b95a7cd6cce1b6e07752ae8ca">mi_malloc_aligned_at</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00343" name="l00343"></a><span class="lineno"><a class="line" href="group__aligned.html#ga7c1778805ce50ebbf02ccbd5e39d5dba"> 343</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#ga7c1778805ce50ebbf02ccbd5e39d5dba">mi_zalloc_aligned_at</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00344" name="l00344"></a><span class="lineno"><a class="line" href="group__aligned.html#ga977f96bd2c5c141bcd70e6685c90d6c3"> 344</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#ga977f96bd2c5c141bcd70e6685c90d6c3">mi_calloc_aligned_at</a>(<span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00345" name="l00345"></a><span class="lineno"><a class="line" href="group__aligned.html#gad06dcf2bb8faadb2c8ea61ee5d24bbf6"> 345</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__aligned.html#gad06dcf2bb8faadb2c8ea61ee5d24bbf6">mi_realloc_aligned_at</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span></div> | |
| <div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> </div> | |
| <div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span></div> | |
| <div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span></div> | |
| <div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="group__typed.html#ga0619a62c5fd886f1016030abe91f0557"> 373</a></span><span class="preprocessor">#define mi_malloc_tp(tp) ((tp*)mi_malloc_csize(sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span></div> | |
| <div class="line"><a id="l00381" name="l00381"></a><span class="lineno"><a class="line" href="group__typed.html#gafc80000c300f02bdd4fe695eb53ca70a"> 381</a></span><span class="preprocessor">#define mi_free_tp(tp,p) (mi_free_csize(p,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span></div> | |
| <div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="group__typed.html#gac77a61bdaf680a803785fe307820b48c"> 384</a></span><span class="preprocessor">#define mi_zalloc_tp(tp) ((tp*)mi_zalloc_csize(sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span></div> | |
| <div class="line"><a id="l00387" name="l00387"></a><span class="lineno"><a class="line" href="group__typed.html#gae80c47c9d4cab10961fff1a8ac98fc07"> 387</a></span><span class="preprocessor">#define mi_calloc_tp(tp,count) ((tp*)mi_calloc(count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span></div> | |
| <div class="line"><a id="l00390" name="l00390"></a><span class="lineno"><a class="line" href="group__typed.html#gae5cb6e0fafc9f23169c5622e077afe8b"> 390</a></span><span class="preprocessor">#define mi_mallocn_tp(tp,count) ((tp*)mi_mallocn(count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span></div> | |
| <div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="group__typed.html#ga1158b49a55dfa81f58a4426a7578f523"> 393</a></span><span class="preprocessor">#define mi_reallocn_tp(p,tp,count) ((tp*)mi_reallocn(p,count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span></div> | |
| <div class="line"><a id="l00396" name="l00396"></a><span class="lineno"><a class="line" href="group__typed.html#ga02d3e85bf26aa3120132f2552c408a88"> 396</a></span><span class="preprocessor">#define mi_heap_malloc_tp(tp,hp) ((tp*)mi_heap_malloc(hp,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span></div> | |
| <div class="line"><a id="l00399" name="l00399"></a><span class="lineno"><a class="line" href="group__typed.html#ga0aaa1aa747d8863e844c37e424ed096c"> 399</a></span><span class="preprocessor">#define mi_heap_zalloc_tp(tp,hp) ((tp*)mi_heap_zalloc(hp,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span></div> | |
| <div class="line"><a id="l00402" name="l00402"></a><span class="lineno"><a class="line" href="group__typed.html#ga953f22101bb354a8b6de2a6d6fda9b98"> 402</a></span><span class="preprocessor">#define mi_heap_calloc_tp(tp,hp,count) ((tp*)mi_heap_calloc(hp,count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span></div> | |
| <div class="line"><a id="l00405" name="l00405"></a><span class="lineno"><a class="line" href="group__typed.html#gaa58690658cc6f5dd54c99a9971d4aa7d"> 405</a></span><span class="preprocessor">#define mi_heap_mallocn_tp(tp,hp,count) ((tp*)mi_heap_mallocn(hp,count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span></div> | |
| <div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="group__typed.html#ga817e315c24133294caad4d50470ff313"> 408</a></span><span class="preprocessor">#define mi_heap_reallocn_tp(tp,hp,p,count) ((tp*)mi_heap_reallocn(p,count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span></div> | |
| <div class="line"><a id="l00411" name="l00411"></a><span class="lineno"><a class="line" href="group__typed.html#ga7bf06ad296e20d1d74c90d64294eecec"> 411</a></span><span class="preprocessor">#define mi_heap_recalloc_tp(tp,hp,p,count) ((tp*)mi_heap_recalloc(p,count,sizeof(tp)))</span></div> | |
| <div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span></div> | |
| <div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span></div> | |
| <div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span></div> | |
| <div class="line"><a id="l00434" name="l00434"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga9cd44d925d34f7180922e12bbf594571"> 434</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__constantsize.html#ga9cd44d925d34f7180922e12bbf594571">mi_malloc_csize</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> </div> | |
| <div class="line"><a id="l00436" name="l00436"></a><span class="lineno"><a class="line" href="group__constantsize.html#gadca6d340ee15b5c70695ed82d95c6cec"> 436</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__constantsize.html#gadca6d340ee15b5c70695ed82d95c6cec">mi_zalloc_csize</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> </div> | |
| <div class="line"><a id="l00438" name="l00438"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga105bd667da91a15d113fe79be04d625c"> 438</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__constantsize.html#ga105bd667da91a15d113fe79be04d625c">mi_theap_malloc_csize</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> </div> | |
| <div class="line"><a id="l00440" name="l00440"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga1addf755829380581dd9c3c9175e376f"> 440</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__constantsize.html#ga1addf755829380581dd9c3c9175e376f">mi_theap_zalloc_csize</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span></div> | |
| <div class="line"><a id="l00448" name="l00448"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga7a421e302074e598527c3eb052a6a3c5"> 448</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__constantsize.html#ga7a421e302074e598527c3eb052a6a3c5">mi_free_csize</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span></div> | |
| <div class="line"><a id="l00456" name="l00456"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga38a93d373a9dc8edc8bca83edb6af5c5"> 456</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__constantsize.html#ga38a93d373a9dc8edc8bca83edb6af5c5">mi_free_csize_nonnull</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span></div> | |
| <div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span></div> | |
| <div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span></div> | |
| <div class="line"><a id="l00480" name="l00480"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga23a0fbb452b5dce8e31fab1a1958cacc"> 480</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga23a0fbb452b5dce8e31fab1a1958cacc">mi_recalloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> </div> | |
| <div class="line"><a id="l00482" name="l00482"></a><span class="lineno"><a class="line" href="group__zeroinit.html#gadfd34cd7b4f2bbda7ae06367a6360756"> 482</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#gadfd34cd7b4f2bbda7ae06367a6360756">mi_rezalloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga23a0fbb452b5dce8e31fab1a1958cacc">mi_recalloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size) ;</div> | |
| <div class="line"><a id="l00484" name="l00484"></a><span class="lineno"> 484</span> </div> | |
| <div class="line"><a id="l00485" name="l00485"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga4d02404fe1e7db00beb65f185e012caa"> 485</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga4d02404fe1e7db00beb65f185e012caa">mi_rezalloc_aligned</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00486" name="l00486"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga6843a88285bbfcc3bdfccc60aafd1270"> 486</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga6843a88285bbfcc3bdfccc60aafd1270">mi_rezalloc_aligned_at</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00487" name="l00487"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga3e2169b48683aa0ab64f813fd68d839e"> 487</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga3e2169b48683aa0ab64f813fd68d839e">mi_recalloc_aligned</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="group__zeroinit.html#gaae25e4ddedd4e0fb61b1a8bd5d452750"> 488</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#gaae25e4ddedd4e0fb61b1a8bd5d452750">mi_recalloc_aligned_at</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> </div> | |
| <div class="line"><a id="l00490" name="l00490"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga8d8b7ebb24b513cd84d1a696048da60d"> 490</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga8d8b7ebb24b513cd84d1a696048da60d">mi_heap_rezalloc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00491" name="l00491"></a><span class="lineno"><a class="line" href="group__zeroinit.html#gad1a0d325d930eeb80f25e3fea37aacde"> 491</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#gad1a0d325d930eeb80f25e3fea37aacde">mi_heap_recalloc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> </div> | |
| <div class="line"><a id="l00493" name="l00493"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga5129f6dc46ee1613d918820a8a0533a7"> 493</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga5129f6dc46ee1613d918820a8a0533a7">mi_heap_rezalloc_aligned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00494" name="l00494"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga2bafa79c3f98ea74882349d44cffa5d9"> 494</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga2bafa79c3f98ea74882349d44cffa5d9">mi_heap_rezalloc_aligned_at</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga87ddd674bf1c67237d780d0b9e0f0f32"> 495</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga87ddd674bf1c67237d780d0b9e0f0f32">mi_heap_recalloc_aligned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga07b5bcbaf00d0d2e598c232982588496"> 496</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__zeroinit.html#ga07b5bcbaf00d0d2e598c232982588496">mi_heap_recalloc_aligned_at</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span></div> | |
| <div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> </div> | |
| <div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> </div> | |
| <div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span></div> | |
| <div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span></div> | |
| <div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span><span class="keyword">struct </span>mi_heap_s;</div> | |
| <div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span></div> | |
| <div class="line"><a id="l00532" name="l00532"></a><span class="lineno"><a class="line" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2"> 532</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>mi_heap_s <a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>;</div> | |
| <div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span></div> | |
| <div class="line"><a id="l00535" name="l00535"></a><span class="lineno"><a class="line" href="group__heap.html#gaa718bb226ec0546ba6d1b6cb32179f3a"> 535</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__heap.html#gaa718bb226ec0546ba6d1b6cb32179f3a">mi_heap_new</a>();</div> | |
| <div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span></div> | |
| <div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="group__heap.html#ga2ab1af8d438819b55319c7ef51d1e409"> 543</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__heap.html#ga2ab1af8d438819b55319c7ef51d1e409">mi_heap_delete</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div> | |
| <div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span></div> | |
| <div class="line"><a id="l00551" name="l00551"></a><span class="lineno"><a class="line" href="group__heap.html#ga9f9c0844edb9717f4feacd79116b8e0d"> 551</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__heap.html#ga9f9c0844edb9717f4feacd79116b8e0d">mi_heap_destroy</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div> | |
| <div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span></div> | |
| <div class="line"><a id="l00557" name="l00557"></a><span class="lineno"><a class="line" href="group__heap.html#ga349b677dec7da5eacdbc7a385bd62a4a"> 557</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__heap.html#ga349b677dec7da5eacdbc7a385bd62a4a">mi_heap_set_default</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div> | |
| <div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span></div> | |
| <div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="group__heap.html#ga14c667a6e2c5d28762d8cb7d4e057909"> 562</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__heap.html#ga14c667a6e2c5d28762d8cb7d4e057909">mi_heap_get_default</a>();</div> | |
| <div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span></div> | |
| <div class="line"><a id="l00570" name="l00570"></a><span class="lineno"><a class="line" href="group__heap.html#gac6ac9f0e7be9ab4ff70acfc8dad1235a"> 570</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__heap.html#gac6ac9f0e7be9ab4ff70acfc8dad1235a">mi_heap_get_backing</a>();</div> | |
| <div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span></div> | |
| <div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="group__heap.html#gaab93abbc0624f570e2900f95cac18591"> 575</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__heap.html#gaab93abbc0624f570e2900f95cac18591">mi_heap_set_numa_affinity</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">int</span> numa_node);</div> | |
| <div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span></div> | |
| <div class="line"><a id="l00582" name="l00582"></a><span class="lineno"><a class="line" href="group__heap.html#ga8fc318a65dc79ee8778c6a0e52d12477"> 582</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__heap.html#ga8fc318a65dc79ee8778c6a0e52d12477">mi_heap_main</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span></div> | |
| <div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="group__heap.html#ga424b69f285109b2515631d59f5eecb1b"> 589</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__heap.html#ga424b69f285109b2515631d59f5eecb1b">mi_heap_of</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span></div> | |
| <div class="line"><a id="l00595" name="l00595"></a><span class="lineno"><a class="line" href="group__heap.html#gac988496aea8ffc5c8bf92a8b10165fa0"> 595</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__heap.html#gac988496aea8ffc5c8bf92a8b10165fa0">mi_heap_contains</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span></div> | |
| <div class="line"><a id="l00600" name="l00600"></a><span class="lineno"><a class="line" href="group__heap.html#ga29589f427702a1b873de8efb884a611b"> 600</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__heap.html#ga29589f427702a1b873de8efb884a611b">mi_any_heap_contains</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> </div> | |
| <div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span></div> | |
| <div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="group__heap.html#ga5f071b10d4df1c3658e04e7fd67a94e6"> 608</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__heap.html#ga5f071b10d4df1c3658e04e7fd67a94e6">mi_is_in_heap_region</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span></div> | |
| <div class="line"><a id="l00615" name="l00615"></a><span class="lineno"><a class="line" href="group__heap.html#ga628c237489c2679af84a4d0d143b3dd5"> 615</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__heap.html#ga628c237489c2679af84a4d0d143b3dd5">mi_check_owned</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span></div> | |
| <div class="line"><a id="l00623" name="l00623"></a><span class="lineno"><a class="line" href="group__heap.html#gaa862aa8ed8d57d84cae41fc1022d71af"> 623</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__heap.html#gaa862aa8ed8d57d84cae41fc1022d71af">mi_heap_contains_block</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span></div> | |
| <div class="line"><a id="l00631" name="l00631"></a><span class="lineno"><a class="line" href="group__heap.html#ga0d67c1789faaa15ff366c024fcaf6377"> 631</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__heap.html#ga0d67c1789faaa15ff366c024fcaf6377">mi_heap_check_owned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l00632" name="l00632"></a><span class="lineno"> 632</span></div> | |
| <div class="line"><a id="l00634" name="l00634"></a><span class="lineno"><a class="line" href="group__heap.html#ga7922f7495cde30b1984d0e6072419298"> 634</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__heap.html#ga7922f7495cde30b1984d0e6072419298">mi_heap_collect</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">bool</span> force);</div> | |
| <div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span></div> | |
| <div class="line"><a id="l00638" name="l00638"></a><span class="lineno"><a class="line" href="group__heap.html#gab374e206c7034e0d899fb934e4f4a863"> 638</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gab374e206c7034e0d899fb934e4f4a863">mi_heap_malloc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00639" name="l00639"></a><span class="lineno"> 639</span></div> | |
| <div class="line"><a id="l00643" name="l00643"></a><span class="lineno"><a class="line" href="group__heap.html#ga012c5c8abe22b10043de39ff95909541"> 643</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#ga012c5c8abe22b10043de39ff95909541">mi_heap_malloc_small</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span></div> | |
| <div class="line"><a id="l00647" name="l00647"></a><span class="lineno"><a class="line" href="group__heap.html#gabebc796399619d964d8db77aa835e8c1"> 647</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gabebc796399619d964d8db77aa835e8c1">mi_heap_zalloc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span></div> | |
| <div class="line"><a id="l00652" name="l00652"></a><span class="lineno"><a class="line" href="group__heap.html#ga0994f44cc595f9c1840a9af162d98597"> 652</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#ga0994f44cc595f9c1840a9af162d98597">mi_heap_zalloc_small</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span></div> | |
| <div class="line"><a id="l00656" name="l00656"></a><span class="lineno"><a class="line" href="group__heap.html#gac0098aaf231d3e9586c73136d5df95da"> 656</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gac0098aaf231d3e9586c73136d5df95da">mi_heap_calloc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span></div> | |
| <div class="line"><a id="l00660" name="l00660"></a><span class="lineno"><a class="line" href="group__heap.html#gab0f755c0b21c387fe8e9024200faa372"> 660</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gab0f755c0b21c387fe8e9024200faa372">mi_heap_mallocn</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span></div> | |
| <div class="line"><a id="l00664" name="l00664"></a><span class="lineno"><a class="line" href="group__heap.html#ga5754e09ccc51dd6bc73885bb6ea21b7a"> 664</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__heap.html#ga5754e09ccc51dd6bc73885bb6ea21b7a">mi_heap_strdup</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <span class="keywordtype">char</span>* s);</div> | |
| <div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span></div> | |
| <div class="line"><a id="l00668" name="l00668"></a><span class="lineno"><a class="line" href="group__heap.html#gad224df78f1fbee942df8adf023e12cf3"> 668</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__heap.html#gad224df78f1fbee942df8adf023e12cf3">mi_heap_strndup</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <span class="keywordtype">char</span>* s, <span class="keywordtype">size_t</span> n);</div> | |
| <div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span></div> | |
| <div class="line"><a id="l00672" name="l00672"></a><span class="lineno"><a class="line" href="group__heap.html#ga55545a3ec6da29c5b4f62e540ecac1e2"> 672</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__heap.html#ga55545a3ec6da29c5b4f62e540ecac1e2">mi_heap_realpath</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <span class="keywordtype">char</span>* fname, <span class="keywordtype">char</span>* resolved_name);</div> | |
| <div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> </div> | |
| <div class="line"><a id="l00674" name="l00674"></a><span class="lineno"><a class="line" href="group__heap.html#gac5252d6a2e510bd349e4fcb452e6a93a"> 674</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gac5252d6a2e510bd349e4fcb452e6a93a">mi_heap_realloc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00675" name="l00675"></a><span class="lineno"><a class="line" href="group__heap.html#gaccf7bfe10ce510a000d3547d9cf7fa29"> 675</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gaccf7bfe10ce510a000d3547d9cf7fa29">mi_heap_reallocn</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="group__heap.html#gae7cd171425bee04c683c65a3701f0b4a"> 676</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gae7cd171425bee04c683c65a3701f0b4a">mi_heap_reallocf</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> </div> | |
| <div class="line"><a id="l00678" name="l00678"></a><span class="lineno"><a class="line" href="group__heap.html#ga33f4f05b7fea7af2113c62a4bf882cc5"> 678</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#ga33f4f05b7fea7af2113c62a4bf882cc5">mi_heap_malloc_aligned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00679" name="l00679"></a><span class="lineno"><a class="line" href="group__heap.html#gae7ffc045c3996497a7f3a5f6fe7b8aaa"> 679</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gae7ffc045c3996497a7f3a5f6fe7b8aaa">mi_heap_malloc_aligned_at</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00680" name="l00680"></a><span class="lineno"><a class="line" href="group__heap.html#ga6466bde8b5712aa34e081a8317f9f471"> 680</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#ga6466bde8b5712aa34e081a8317f9f471">mi_heap_zalloc_aligned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00681" name="l00681"></a><span class="lineno"><a class="line" href="group__heap.html#ga484e3d01cd174f78c7e53370e5a7c819"> 681</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#ga484e3d01cd174f78c7e53370e5a7c819">mi_heap_zalloc_aligned_at</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00682" name="l00682"></a><span class="lineno"><a class="line" href="group__heap.html#gacafcc26df827c7a7de5e850217566108"> 682</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gacafcc26df827c7a7de5e850217566108">mi_heap_calloc_aligned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00683" name="l00683"></a><span class="lineno"><a class="line" href="group__heap.html#gaa42ec2079989c4374f2c331d9b35f4e4"> 683</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gaa42ec2079989c4374f2c331d9b35f4e4">mi_heap_calloc_aligned_at</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00684" name="l00684"></a><span class="lineno"><a class="line" href="group__heap.html#gaccf8c249872f30bf1c2493a09197d734"> 684</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#gaccf8c249872f30bf1c2493a09197d734">mi_heap_realloc_aligned</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l00685" name="l00685"></a><span class="lineno"><a class="line" href="group__heap.html#ga6df988a7219d5707f010d5f3eb0dc3f5"> 685</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__heap.html#ga6df988a7219d5707f010d5f3eb0dc3f5">mi_heap_realloc_aligned_at</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span></div> | |
| <div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span> </div> | |
| <div class="line"><a id="l00689" name="l00689"></a><span class="lineno"> 689</span> </div> | |
| <div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span></div> | |
| <div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span> </div> | |
| <div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span></div> | |
| <div class="foldopen" id="foldopen00699" data-start="{" data-end="};"> | |
| <div class="line"><a id="l00699" name="l00699"></a><span class="lineno"><a class="line" href="group__analysis.html"> 699</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>mi_heap_area_s {</div> | |
| <div class="line"><a id="l00700" name="l00700"></a><span class="lineno"><a class="line" href="group__analysis.html#ae0085e6e1cf059a4eb7767e30e9991b8"> 700</a></span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="group__analysis.html#ae0085e6e1cf059a4eb7767e30e9991b8">blocks</a>; </div> | |
| <div class="line"><a id="l00701" name="l00701"></a><span class="lineno"><a class="line" href="group__analysis.html#ae848a3e6840414891035423948ca0383"> 701</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__analysis.html#ae848a3e6840414891035423948ca0383">reserved</a>; </div> | |
| <div class="line"><a id="l00702" name="l00702"></a><span class="lineno"><a class="line" href="group__analysis.html#ab47526df656d8837ec3e97f11b83f835"> 702</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__analysis.html#ab47526df656d8837ec3e97f11b83f835">committed</a>; </div> | |
| <div class="line"><a id="l00703" name="l00703"></a><span class="lineno"><a class="line" href="group__analysis.html#ab820302c5cd0df133eb8e51650a008b4"> 703</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__analysis.html#ab820302c5cd0df133eb8e51650a008b4">used</a>; </div> | |
| <div class="line"><a id="l00704" name="l00704"></a><span class="lineno"><a class="line" href="group__analysis.html#a332a6c14d736a99699d5453a1cb04b41"> 704</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__analysis.html#a332a6c14d736a99699d5453a1cb04b41">block_size</a>; </div> | |
| <div class="line"><a id="l00705" name="l00705"></a><span class="lineno"><a class="line" href="group__analysis.html#ab53664e31d7fe2564f8d42041ef75cb3"> 705</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__analysis.html#ab53664e31d7fe2564f8d42041ef75cb3">full_block_size</a>; </div> | |
| <div class="line"><a id="l00706" name="l00706"></a><span class="lineno"><a class="line" href="group__analysis.html#a2b7a0c92ece8daf46b558efc990ebdc1"> 706</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__analysis.html#a2b7a0c92ece8daf46b558efc990ebdc1">heap_tag</a>; </div> | |
| <div class="line"><a id="l00707" name="l00707"></a><span class="lineno"> 707</span>} <a class="code hl_struct" href="group__analysis.html#structmi__heap__area__t">mi_heap_area_t</a>;</div> | |
| </div> | |
| <div class="line"><a id="l00708" name="l00708"></a><span class="lineno"> 708</span></div> | |
| <div class="line"><a id="l00716" name="l00716"></a><span class="lineno"><a class="line" href="group__analysis.html#ga8255dc9371e6b299d9802a610c4e34ec"> 716</a></span><span class="keyword">typedef</span> bool (<a class="code hl_typedef" href="group__analysis.html#ga8255dc9371e6b299d9802a610c4e34ec">mi_block_visit_fun</a>)(<span class="keyword">const</span> <a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keyword">const</span> <a class="code hl_struct" href="group__analysis.html#structmi__heap__area__t">mi_heap_area_t</a>* area, <span class="keywordtype">void</span>* block, <span class="keywordtype">size_t</span> block_size, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span></div> | |
| <div class="line"><a id="l00732" name="l00732"></a><span class="lineno"><a class="line" href="group__analysis.html#gae69fcff3324f8e419af850e34cf54c46"> 732</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__analysis.html#gae69fcff3324f8e419af850e34cf54c46">mi_heap_visit_blocks</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">bool</span> visit_blocks, <a class="code hl_typedef" href="group__analysis.html#ga8255dc9371e6b299d9802a610c4e34ec">mi_block_visit_fun</a>* visitor, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l00733" name="l00733"></a><span class="lineno"> 733</span></div> | |
| <div class="line"><a id="l00749" name="l00749"></a><span class="lineno"><a class="line" href="group__analysis.html#ga6a4865a887b2ec5247854af61562503c"> 749</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__analysis.html#ga6a4865a887b2ec5247854af61562503c">mi_abandoned_visit_blocks</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc_id, <span class="keywordtype">int</span> heap_tag, <span class="keywordtype">bool</span> visit_blocks, <a class="code hl_typedef" href="group__analysis.html#ga8255dc9371e6b299d9802a610c4e34ec">mi_block_visit_fun</a>* visitor, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l00750" name="l00750"></a><span class="lineno"> 750</span></div> | |
| <div class="line"><a id="l00752" name="l00752"></a><span class="lineno"> 752</span> </div> | |
| <div class="line"><a id="l00753" name="l00753"></a><span class="lineno"> 753</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00754" name="l00754"></a><span class="lineno"> 754</span><span class="comment">// Arenas</span></div> | |
| <div class="line"><a id="l00755" name="l00755"></a><span class="lineno"> 755</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00756" name="l00756"></a><span class="lineno"> 756</span></div> | |
| <div class="line"><a id="l00764" name="l00764"></a><span class="lineno"> 764</span></div> | |
| <div class="line"><a id="l00766" name="l00766"></a><span class="lineno"><a class="line" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3"> 766</a></span><span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a>;</div> | |
| <div class="line"><a id="l00767" name="l00767"></a><span class="lineno"> 767</span></div> | |
| <div class="line"><a id="l00776" name="l00776"></a><span class="lineno"><a class="line" href="group__arenas.html#ga00ec3324b6b2591c7fe3677baa30a767"> 776</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__arenas.html#ga00ec3324b6b2591c7fe3677baa30a767">mi_reserve_os_memory</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">bool</span> commit, <span class="keywordtype">bool</span> allow_large);</div> | |
| <div class="line"><a id="l00777" name="l00777"></a><span class="lineno"> 777</span></div> | |
| <div class="line"><a id="l00785" name="l00785"></a><span class="lineno"><a class="line" href="group__arenas.html#ga32f519797fd9a81acb4f52d36e6d751b"> 785</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__arenas.html#ga32f519797fd9a81acb4f52d36e6d751b">mi_reserve_os_memory_ex</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">bool</span> commit, <span class="keywordtype">bool</span> allow_large, <span class="keywordtype">bool</span> exclusive, <a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a>* arena_id);</div> | |
| <div class="line"><a id="l00786" name="l00786"></a><span class="lineno"> 786</span></div> | |
| <div class="line"><a id="l00799" name="l00799"></a><span class="lineno"><a class="line" href="group__arenas.html#ga3132f521fb756fc0e8ec0b74fb58df50"> 799</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__arenas.html#ga3132f521fb756fc0e8ec0b74fb58df50">mi_reserve_huge_os_pages_interleave</a>(<span class="keywordtype">size_t</span> pages, <span class="keywordtype">size_t</span> numa_nodes, <span class="keywordtype">size_t</span> timeout_msecs);</div> | |
| <div class="line"><a id="l00800" name="l00800"></a><span class="lineno"> 800</span></div> | |
| <div class="line"><a id="l00813" name="l00813"></a><span class="lineno"><a class="line" href="group__arenas.html#ga7795a13d20087447281858d2c771cca1"> 813</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__arenas.html#ga7795a13d20087447281858d2c771cca1">mi_reserve_huge_os_pages_at</a>(<span class="keywordtype">size_t</span> pages, <span class="keywordtype">int</span> numa_node, <span class="keywordtype">size_t</span> timeout_msecs);</div> | |
| <div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</span></div> | |
| <div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="group__arenas.html#ga591aab1c2bc2ca920e33f0f9f9cb5c52"> 822</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__arenas.html#ga591aab1c2bc2ca920e33f0f9f9cb5c52">mi_reserve_huge_os_pages_at_ex</a>(<span class="keywordtype">size_t</span> pages, <span class="keywordtype">int</span> numa_node, <span class="keywordtype">size_t</span> timeout_msecs, <span class="keywordtype">bool</span> exclusive, <a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a>* arena_id);</div> | |
| <div class="line"><a id="l00823" name="l00823"></a><span class="lineno"> 823</span></div> | |
| <div class="line"><a id="l00826" name="l00826"></a><span class="lineno"><a class="line" href="group__arenas.html#gaa1a59464dbf3bc972d34fca0f86668fc"> 826</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__arenas.html#gaa1a59464dbf3bc972d34fca0f86668fc">mi_arena_min_alignment</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00827" name="l00827"></a><span class="lineno"> 827</span></div> | |
| <div class="line"><a id="l00839" name="l00839"></a><span class="lineno"><a class="line" href="group__arenas.html#ga4c6486a1fdcd7a423b5f25fe4be8e0cf"> 839</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__arenas.html#ga4c6486a1fdcd7a423b5f25fe4be8e0cf">mi_manage_os_memory</a>(<span class="keywordtype">void</span>* start, <span class="keywordtype">size_t</span> size, <span class="keywordtype">bool</span> is_committed, <span class="keywordtype">bool</span> is_large, <span class="keywordtype">bool</span> is_zero, <span class="keywordtype">int</span> numa_node);</div> | |
| <div class="line"><a id="l00840" name="l00840"></a><span class="lineno"> 840</span></div> | |
| <div class="line"><a id="l00851" name="l00851"></a><span class="lineno"><a class="line" href="group__arenas.html#ga41ce8525d77bbb60f618fa1029994f6e"> 851</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__arenas.html#ga41ce8525d77bbb60f618fa1029994f6e">mi_manage_os_memory_ex</a>(<span class="keywordtype">void</span>* start, <span class="keywordtype">size_t</span> size, <span class="keywordtype">bool</span> is_committed, <span class="keywordtype">bool</span> is_large, <span class="keywordtype">bool</span> is_zero, <span class="keywordtype">int</span> numa_node, <span class="keywordtype">bool</span> exclusive, <a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a>* arena_id);</div> | |
| <div class="line"><a id="l00852" name="l00852"></a><span class="lineno"> 852</span> </div> | |
| <div class="line"><a id="l00853" name="l00853"></a><span class="lineno"> 853</span></div> | |
| <div class="line"><a id="l00855" name="l00855"></a><span class="lineno"><a class="line" href="group__arenas.html#ga98cda17aa7adeda8b213382af8e7810b"> 855</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__arenas.html#ga98cda17aa7adeda8b213382af8e7810b">mi_debug_show_arenas</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00856" name="l00856"></a><span class="lineno"> 856</span></div> | |
| <div class="line"><a id="l00861" name="l00861"></a><span class="lineno"><a class="line" href="group__arenas.html#ga9a25a00a22151619a0be91a10af7787f"> 861</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__arenas.html#ga9a25a00a22151619a0be91a10af7787f">mi_arena_area</a>(<a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a> arena_id, <span class="keywordtype">size_t</span>* size);</div> | |
| <div class="line"><a id="l00862" name="l00862"></a><span class="lineno"> 862</span> </div> | |
| <div class="line"><a id="l00863" name="l00863"></a><span class="lineno"> 863</span> </div> | |
| <div class="line"><a id="l00864" name="l00864"></a><span class="lineno"> 864</span></div> | |
| <div class="line"><a id="l00868" name="l00868"></a><span class="lineno"><a class="line" href="group__arenas.html#gaaf2d9976576d5efd5544be12848af949"> 868</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__arenas.html#gaaf2d9976576d5efd5544be12848af949">mi_heap_new_in_arena</a>(<a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a> arena_id);</div> | |
| <div class="line"><a id="l00869" name="l00869"></a><span class="lineno"> 869</span></div> | |
| <div class="line"><a id="l00881" name="l00881"></a><span class="lineno"><a class="line" href="group__arenas.html#ga3ae360583f4351aa5267ee7e43008faf"> 881</a></span><a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* <a class="code hl_function" href="group__arenas.html#ga3ae360583f4351aa5267ee7e43008faf">mi_heap_new_ex</a>(<span class="keywordtype">int</span> heap_tag, <span class="keywordtype">bool</span> allow_destroy, <a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a> arena_id);</div> | |
| <div class="line"><a id="l00882" name="l00882"></a><span class="lineno"> 882</span></div> | |
| <div class="line"><a id="l00884" name="l00884"></a><span class="lineno"> 884</span> </div> | |
| <div class="line"><a id="l00885" name="l00885"></a><span class="lineno"> 885</span></div> | |
| <div class="line"><a id="l00894" name="l00894"></a><span class="lineno"> 894</span></div> | |
| <div class="line"><a id="l00899" name="l00899"></a><span class="lineno"><a class="line" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d"> 899</a></span><span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a>;</div> | |
| <div class="line"><a id="l00900" name="l00900"></a><span class="lineno"> 900</span></div> | |
| <div class="line"><a id="l00902" name="l00902"></a><span class="lineno"><a class="line" href="group__subproc.html#ga2ecba0d7ebdc99e71bb985c4a1609806"> 902</a></span><a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> <a class="code hl_function" href="group__subproc.html#ga2ecba0d7ebdc99e71bb985c4a1609806">mi_subproc_main</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00903" name="l00903"></a><span class="lineno"> 903</span></div> | |
| <div class="line"><a id="l00905" name="l00905"></a><span class="lineno"><a class="line" href="group__subproc.html#gaabc4db6585bf16099e43e60d64364950"> 905</a></span><a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> <a class="code hl_function" href="group__subproc.html#gaabc4db6585bf16099e43e60d64364950">mi_subproc_current</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00906" name="l00906"></a><span class="lineno"> 906</span></div> | |
| <div class="line"><a id="l00909" name="l00909"></a><span class="lineno"><a class="line" href="group__subproc.html#ga8068cac328e41fa2170faef707315243"> 909</a></span><a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> <a class="code hl_function" href="group__subproc.html#ga8068cac328e41fa2170faef707315243">mi_subproc_new</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00910" name="l00910"></a><span class="lineno"> 910</span></div> | |
| <div class="line"><a id="l00914" name="l00914"></a><span class="lineno"><a class="line" href="group__subproc.html#gada12e4d9bd382935c398ec324d0391f9"> 914</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__subproc.html#gada12e4d9bd382935c398ec324d0391f9">mi_subproc_destroy</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc);</div> | |
| <div class="line"><a id="l00915" name="l00915"></a><span class="lineno"> 915</span></div> | |
| <div class="line"><a id="l00920" name="l00920"></a><span class="lineno"><a class="line" href="group__subproc.html#gaa7d263e9429bac9ac8345c9d25de610e"> 920</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__subproc.html#gaa7d263e9429bac9ac8345c9d25de610e">mi_subproc_delete</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc);</div> | |
| <div class="line"><a id="l00921" name="l00921"></a><span class="lineno"> 921</span></div> | |
| <div class="line"><a id="l00925" name="l00925"></a><span class="lineno"><a class="line" href="group__subproc.html#gadbc53414eb68b275588ec001ce1ddc7c"> 925</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__subproc.html#gadbc53414eb68b275588ec001ce1ddc7c">mi_subproc_add_current_thread</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc);</div> | |
| <div class="line"><a id="l00926" name="l00926"></a><span class="lineno"> 926</span></div> | |
| <div class="line"><a id="l00930" name="l00930"></a><span class="lineno"><a class="line" href="group__subproc.html#ga7dcbc5863df9989b45e7051999448a4a"> 930</a></span><span class="keyword">typedef</span> bool (<a class="code hl_typedef" href="group__subproc.html#ga7dcbc5863df9989b45e7051999448a4a">mi_heap_visit_fun</a>)(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l00931" name="l00931"></a><span class="lineno"> 931</span></div> | |
| <div class="line"><a id="l00937" name="l00937"></a><span class="lineno"><a class="line" href="group__subproc.html#gafd2136e7f167b5cd02b6ab00bed0ac93"> 937</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__subproc.html#gafd2136e7f167b5cd02b6ab00bed0ac93">mi_subproc_visit_heaps</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc, <a class="code hl_typedef" href="group__subproc.html#ga7dcbc5863df9989b45e7051999448a4a">mi_heap_visit_fun</a>* visitor, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l00938" name="l00938"></a><span class="lineno"> 938</span></div> | |
| <div class="line"><a id="l00940" name="l00940"></a><span class="lineno"> 940</span> </div> | |
| <div class="line"><a id="l00941" name="l00941"></a><span class="lineno"> 941</span> </div> | |
| <div class="line"><a id="l00942" name="l00942"></a><span class="lineno"> 942</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00943" name="l00943"></a><span class="lineno"> 943</span><span class="comment">// Extended functionality</span></div> | |
| <div class="line"><a id="l00944" name="l00944"></a><span class="lineno"> 944</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l00945" name="l00945"></a><span class="lineno"> 945</span></div> | |
| <div class="line"><a id="l00950" name="l00950"></a><span class="lineno"> 950</span></div> | |
| <div class="line"><a id="l00954" name="l00954"></a><span class="lineno"><a class="line" href="group__extended.html#ga1ea64283508718d9d645c38efc2f4305"> 954</a></span><span class="preprocessor">#define MI_SMALL_SIZE_MAX (128*sizeof(void*))</span></div> | |
| <div class="line"><a id="l00955" name="l00955"></a><span class="lineno"> 955</span></div> | |
| <div class="line"><a id="l00959" name="l00959"></a><span class="lineno"><a class="line" href="group__extended.html#gae9ddddcf14a58d0224ef3c8778e5b057"> 959</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__extended.html#gae9ddddcf14a58d0224ef3c8778e5b057">mi_version</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00960" name="l00960"></a><span class="lineno"> 960</span></div> | |
| <div class="line"><a id="l00968" name="l00968"></a><span class="lineno"><a class="line" href="group__extended.html#ga421430e2226d7d468529cec457396756"> 968</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga421430e2226d7d468529cec457396756">mi_collect</a>(<span class="keywordtype">bool</span> force);</div> | |
| <div class="line"><a id="l00969" name="l00969"></a><span class="lineno"> 969</span></div> | |
| <div class="line"><a id="l00975" name="l00975"></a><span class="lineno"><a class="line" href="group__extended.html#gada899104276aac52539eb4de7c020f1f"> 975</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#gada899104276aac52539eb4de7c020f1f">mi_thread_set_in_threadpool</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00976" name="l00976"></a><span class="lineno"> 976</span></div> | |
| <div class="line"><a id="l00981" name="l00981"></a><span class="lineno"><a class="line" href="group__extended.html#gaad25050b19f30cd79397b227e0157a3f"> 981</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__extended.html#gaad25050b19f30cd79397b227e0157a3f">mi_is_redirected</a>();</div> | |
| <div class="line"><a id="l00982" name="l00982"></a><span class="lineno"> 982</span></div> | |
| <div class="line"><a id="l00986" name="l00986"></a><span class="lineno"><a class="line" href="group__extended.html#gaf8e73efc2cbca9ebfdfb166983a04c17"> 986</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#gaf8e73efc2cbca9ebfdfb166983a04c17">mi_thread_init</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00987" name="l00987"></a><span class="lineno"> 987</span></div> | |
| <div class="line"><a id="l00992" name="l00992"></a><span class="lineno"><a class="line" href="group__extended.html#ga0ae4581e85453456a0d658b2b98bf7bf"> 992</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga0ae4581e85453456a0d658b2b98bf7bf">mi_thread_done</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l00993" name="l00993"></a><span class="lineno"> 993</span></div> | |
| <div class="line"><a id="l01000" name="l01000"></a><span class="lineno"><a class="line" href="group__extended.html#ga292a45f7dbc7cd23c5352ce1f0002816"> 1000</a></span><span class="keyword">typedef</span> void (<a class="code hl_typedef" href="group__extended.html#ga292a45f7dbc7cd23c5352ce1f0002816">mi_deferred_free_fun</a>)(<span class="keywordtype">bool</span> force, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> heartbeat, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01001" name="l01001"></a><span class="lineno"> 1001</span></div> | |
| <div class="line"><a id="l01017" name="l01017"></a><span class="lineno"><a class="line" href="group__extended.html#ga3460a6ca91af97be4058f523d3cb8ece"> 1017</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga3460a6ca91af97be4058f523d3cb8ece">mi_register_deferred_free</a>(<a class="code hl_typedef" href="group__extended.html#ga292a45f7dbc7cd23c5352ce1f0002816">mi_deferred_free_fun</a>* deferred_free, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01018" name="l01018"></a><span class="lineno"> 1018</span></div> | |
| <div class="line"><a id="l01024" name="l01024"></a><span class="lineno"><a class="line" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d"> 1024</a></span><span class="keyword">typedef</span> void (<a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span>* msg, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span></div> | |
| <div class="line"><a id="l01032" name="l01032"></a><span class="lineno"><a class="line" href="group__extended.html#gae5b17ff027cd2150b43a33040250cf3f"> 1032</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#gae5b17ff027cd2150b43a33040250cf3f">mi_register_output</a>(<a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span></div> | |
| <div class="line"><a id="l01039" name="l01039"></a><span class="lineno"><a class="line" href="group__extended.html#ga83fc6a688b322261e1c2deab000b0591"> 1039</a></span><span class="keyword">typedef</span> void (<a class="code hl_typedef" href="group__extended.html#ga83fc6a688b322261e1c2deab000b0591">mi_error_fun</a>)(<span class="keywordtype">int</span> err, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01040" name="l01040"></a><span class="lineno"> 1040</span></div> | |
| <div class="line"><a id="l01056" name="l01056"></a><span class="lineno"><a class="line" href="group__extended.html#gaa1d55e0e894be240827e5d87ec3a1f45"> 1056</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#gaa1d55e0e894be240827e5d87ec3a1f45">mi_register_error</a>(<a class="code hl_typedef" href="group__extended.html#ga83fc6a688b322261e1c2deab000b0591">mi_error_fun</a>* errfun, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span></div> | |
| <div class="line"><a id="l01065" name="l01065"></a><span class="lineno"><a class="line" href="group__extended.html#ga7f050bc6b897da82692174f5fce59cde"> 1065</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__extended.html#ga7f050bc6b897da82692174f5fce59cde">mi_malloc_small</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01066" name="l01066"></a><span class="lineno"> 1066</span></div> | |
| <div class="line"><a id="l01074" name="l01074"></a><span class="lineno"><a class="line" href="group__extended.html#ga51c47637e81df0e2f13a2d7a2dec123e"> 1074</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__extended.html#ga51c47637e81df0e2f13a2d7a2dec123e">mi_zalloc_small</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01075" name="l01075"></a><span class="lineno"> 1075</span></div> | |
| <div class="line"><a id="l01091" name="l01091"></a><span class="lineno"><a class="line" href="group__extended.html#ga2a8469764c38dcaf878f36e5f50e3610"> 1091</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga2a8469764c38dcaf878f36e5f50e3610">mi_free_small</a>(<span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l01092" name="l01092"></a><span class="lineno"> 1092</span></div> | |
| <div class="line"><a id="l01108" name="l01108"></a><span class="lineno"><a class="line" href="group__extended.html#ga22890f54e5be433837069c8e97fdf379"> 1108</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga22890f54e5be433837069c8e97fdf379">mi_free_small_nonnull</a>(<span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l01109" name="l01109"></a><span class="lineno"> 1109</span></div> | |
| <div class="line"><a id="l01111" name="l01111"></a><span class="lineno"> 1111</span> </div> | |
| <div class="line"><a id="l01112" name="l01112"></a><span class="lineno"> 1112</span> </div> | |
| <div class="line"><a id="l01113" name="l01113"></a><span class="lineno"> 1113</span> </div> | |
| <div class="line"><a id="l01114" name="l01114"></a><span class="lineno"> 1114</span> </div> | |
| <div class="line"><a id="l01115" name="l01115"></a><span class="lineno"> 1115</span> </div> | |
| <div class="line"><a id="l01116" name="l01116"></a><span class="lineno"> 1116</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l01117" name="l01117"></a><span class="lineno"> 1117</span><span class="comment">// Statistics</span></div> | |
| <div class="line"><a id="l01118" name="l01118"></a><span class="lineno"> 1118</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l01119" name="l01119"></a><span class="lineno"> 1119</span></div> | |
| <div class="line"><a id="l01123" name="l01123"></a><span class="lineno"> 1123</span></div> | |
| <div class="line"><a id="l01125" name="l01125"></a><span class="lineno"><a class="line" href="group__stats.html#gac4411cf3eed23719e511b9e1128888e0"> 1125</a></span><span class="preprocessor">#define MI_STAT_VERSION 4</span></div> | |
| <div class="line"><a id="l01126" name="l01126"></a><span class="lineno"> 1126</span></div> | |
| <div class="line"><a id="l01136" name="l01136"></a><span class="lineno"><a class="line" href="group__stats.html#ga961d0f9f0327ebc9bd8a0b84f6dcb410"> 1136</a></span><span class="preprocessor">#define mi_stats_t_decl(name)</span></div> | |
| <div class="line"><a id="l01137" name="l01137"></a><span class="lineno"> 1137</span></div> | |
| <div class="foldopen" id="foldopen01139" data-start="{" data-end="};"> | |
| <div class="line"><a id="l01139" name="l01139"></a><span class="lineno"><a class="line" href="group__stats.html"> 1139</a></span><span class="keyword">struct </span><a class="code hl_struct" href="group__stats.html#structmi__stats__s">mi_stats_s</a> {</div> | |
| <div class="line"><a id="l01141" name="l01141"></a><span class="lineno"><a class="line" href="group__stats.html#ae41e0fff24b988d0a43c34040b04b887"> 1141</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__stats.html#ae41e0fff24b988d0a43c34040b04b887">size</a>; </div> | |
| <div class="line"><a id="l01143" name="l01143"></a><span class="lineno"><a class="line" href="group__stats.html#aa74fc9c40dfaef5e06dec4019c19de68"> 1143</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="group__stats.html#aa74fc9c40dfaef5e06dec4019c19de68">version</a>; </div> | |
| <div class="line"><a id="l01144" name="l01144"></a><span class="lineno"> 1144</span>};</div> | |
| </div> | |
| <div class="line"><a id="l01145" name="l01145"></a><span class="lineno"> 1145</span></div> | |
| <div class="line"><a id="l01147" name="l01147"></a><span class="lineno"> 1147</span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="group__stats.html#structmi__stats__s">mi_stats_s</a> mi_stats_t;</div> | |
| <div class="line"><a id="l01148" name="l01148"></a><span class="lineno"> 1148</span> </div> | |
| <div class="line"><a id="l01149" name="l01149"></a><span class="lineno"> 1149</span></div> | |
| <div class="line"><a id="l01152" name="l01152"></a><span class="lineno"><a class="line" href="group__stats.html#gaf887e7aa75f13242c4e7ab95d8390536"> 1152</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#gaf887e7aa75f13242c4e7ab95d8390536">mi_process_info_print</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l01153" name="l01153"></a><span class="lineno"> 1153</span></div> | |
| <div class="line"><a id="l01158" name="l01158"></a><span class="lineno"><a class="line" href="group__stats.html#ga03ac88d3efee2ae7c34f5340502f4732"> 1158</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga03ac88d3efee2ae7c34f5340502f4732">mi_process_info_print_out</a>(<a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01159" name="l01159"></a><span class="lineno"> 1159</span></div> | |
| <div class="line"><a id="l01173" name="l01173"></a><span class="lineno"><a class="line" href="group__stats.html#ga7d862c2affd5790381da14eb102a364d"> 1173</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga7d862c2affd5790381da14eb102a364d">mi_process_info</a>(<span class="keywordtype">size_t</span>* elapsed_msecs, <span class="keywordtype">size_t</span>* user_msecs, <span class="keywordtype">size_t</span>* system_msecs, <span class="keywordtype">size_t</span>* current_rss, <span class="keywordtype">size_t</span>* peak_rss, <span class="keywordtype">size_t</span>* current_commit, <span class="keywordtype">size_t</span>* peak_commit, <span class="keywordtype">size_t</span>* page_faults);</div> | |
| <div class="line"><a id="l01174" name="l01174"></a><span class="lineno"> 1174</span> </div> | |
| <div class="line"><a id="l01175" name="l01175"></a><span class="lineno"> 1175</span></div> | |
| <div class="line"><a id="l01180" name="l01180"></a><span class="lineno"><a class="line" href="group__stats.html#ga2d126e5c62d3badc35445e5d84166df2"> 1180</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga2d126e5c62d3badc35445e5d84166df2">mi_stats_print</a>(<span class="keywordtype">void</span>* out);</div> | |
| <div class="line"><a id="l01181" name="l01181"></a><span class="lineno"> 1181</span></div> | |
| <div class="line"><a id="l01187" name="l01187"></a><span class="lineno"><a class="line" href="group__stats.html#ga537f13b299ddf801e49a5a94fde02c79"> 1187</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga537f13b299ddf801e49a5a94fde02c79">mi_stats_print_out</a>(<a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01188" name="l01188"></a><span class="lineno"> 1188</span></div> | |
| <div class="line"><a id="l01194" name="l01194"></a><span class="lineno"><a class="line" href="group__stats.html#gaa26d5060ad21b1331a150bb92f6f7086"> 1194</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__stats.html#gaa26d5060ad21b1331a150bb92f6f7086">mi_stats_get</a>(mi_stats_t* stats);</div> | |
| <div class="line"><a id="l01195" name="l01195"></a><span class="lineno"> 1195</span></div> | |
| <div class="line"><a id="l01201" name="l01201"></a><span class="lineno"><a class="line" href="group__stats.html#gadaa3be15899cc82e314fa7d3f8e2afbd"> 1201</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__stats.html#gadaa3be15899cc82e314fa7d3f8e2afbd">mi_stats_get_json</a>(<span class="keywordtype">size_t</span> buf_size, <span class="keywordtype">char</span>* buf);</div> | |
| <div class="line"><a id="l01202" name="l01202"></a><span class="lineno"> 1202</span></div> | |
| <div class="line"><a id="l01204" name="l01204"></a><span class="lineno"><a class="line" href="group__stats.html#gadecd549d1a7216af596322ac27e78b0d"> 1204</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__stats.html#gadecd549d1a7216af596322ac27e78b0d">mi_stats_get_bin_size</a>(<span class="keywordtype">size_t</span> bin);</div> | |
| <div class="line"><a id="l01205" name="l01205"></a><span class="lineno"> 1205</span></div> | |
| <div class="line"><a id="l01212" name="l01212"></a><span class="lineno"><a class="line" href="group__stats.html#ga2654195cef93ed3613e98b59a19a296f"> 1212</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__stats.html#ga2654195cef93ed3613e98b59a19a296f">mi_heap_stats_get</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, mi_stats_t* stats);</div> | |
| <div class="line"><a id="l01213" name="l01213"></a><span class="lineno"> 1213</span></div> | |
| <div class="line"><a id="l01220" name="l01220"></a><span class="lineno"><a class="line" href="group__stats.html#gacb42dede4c38c38f2014b5450c5fcba8"> 1220</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__stats.html#gacb42dede4c38c38f2014b5450c5fcba8">mi_heap_stats_get_json</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> buf_size, <span class="keywordtype">char</span>* buf); <span class="comment">// use mi_free to free the result if the input buf == NULL</span></div> | |
| <div class="line"><a id="l01221" name="l01221"></a><span class="lineno"> 1221</span></div> | |
| <div class="line"><a id="l01226" name="l01226"></a><span class="lineno"><a class="line" href="group__stats.html#gafea365d7842f5f5bc1f235bbc303d585"> 1226</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#gafea365d7842f5f5bc1f235bbc303d585">mi_heap_stats_print_out</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01227" name="l01227"></a><span class="lineno"> 1227</span></div> | |
| <div class="line"><a id="l01231" name="l01231"></a><span class="lineno"><a class="line" href="group__stats.html#ga5a34328f846c661aa560f4769cfc15f1"> 1231</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga5a34328f846c661aa560f4769cfc15f1">mi_heap_stats_merge_to_subproc</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div> | |
| <div class="line"><a id="l01232" name="l01232"></a><span class="lineno"> 1232</span></div> | |
| <div class="line"><a id="l01239" name="l01239"></a><span class="lineno"><a class="line" href="group__stats.html#ga5ec3f9058eec804924711ab38ba64b51"> 1239</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__stats.html#ga5ec3f9058eec804924711ab38ba64b51">mi_subproc_stats_get</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc_id, mi_stats_t* stats);</div> | |
| <div class="line"><a id="l01240" name="l01240"></a><span class="lineno"> 1240</span></div> | |
| <div class="line"><a id="l01247" name="l01247"></a><span class="lineno"><a class="line" href="group__stats.html#gad1cf918f08b6506e65ae134423477a0b"> 1247</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__stats.html#gad1cf918f08b6506e65ae134423477a0b">mi_subproc_stats_get_json</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc_id, <span class="keywordtype">size_t</span> buf_size, <span class="keywordtype">char</span>* buf); <span class="comment">// use mi_free to free the result if the input buf == NULL</span></div> | |
| <div class="line"><a id="l01248" name="l01248"></a><span class="lineno"> 1248</span></div> | |
| <div class="line"><a id="l01253" name="l01253"></a><span class="lineno"><a class="line" href="group__stats.html#ga59ec89969837db414a6bce8b58915624"> 1253</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga59ec89969837db414a6bce8b58915624">mi_subproc_stats_print_out</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc_id, <a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01254" name="l01254"></a><span class="lineno"> 1254</span> </div> | |
| <div class="line"><a id="l01255" name="l01255"></a><span class="lineno"> 1255</span></div> | |
| <div class="line"><a id="l01260" name="l01260"></a><span class="lineno"><a class="line" href="group__stats.html#ga19f1a04bd972e11e4f3b586f25229d5b"> 1260</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga19f1a04bd972e11e4f3b586f25229d5b">mi_subproc_heap_stats_print_out</a>(<a class="code hl_typedef" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a> subproc_id, <a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01261" name="l01261"></a><span class="lineno"> 1261</span></div> | |
| <div class="line"><a id="l01268" name="l01268"></a><span class="lineno"><a class="line" href="group__stats.html#ga6ad266c70a0eabf6c26248aed1af6fa1"> 1268</a></span><span class="keywordtype">char</span>* <a class="code hl_function" href="group__stats.html#ga6ad266c70a0eabf6c26248aed1af6fa1">mi_stats_as_json</a>( mi_stats_t* stats, <span class="keywordtype">size_t</span> buf_size, <span class="keywordtype">char</span>* buf);</div> | |
| <div class="line"><a id="l01269" name="l01269"></a><span class="lineno"> 1269</span></div> | |
| <div class="line"><a id="l01271" name="l01271"></a><span class="lineno"><a class="line" href="group__stats.html#ga3bb8468b8cfcc6e2a61d98aee85c5f99"> 1271</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga3bb8468b8cfcc6e2a61d98aee85c5f99">mi_stats_reset</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l01272" name="l01272"></a><span class="lineno"> 1272</span></div> | |
| <div class="line"><a id="l01274" name="l01274"></a><span class="lineno"><a class="line" href="group__stats.html#ga854b1de8cb067c7316286c28b2fcd3d1"> 1274</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga854b1de8cb067c7316286c28b2fcd3d1">mi_stats_merge</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l01275" name="l01275"></a><span class="lineno"> 1275</span></div> | |
| <div class="line"><a id="l01277" name="l01277"></a><span class="lineno"> 1277</span> </div> | |
| <div class="line"><a id="l01278" name="l01278"></a><span class="lineno"> 1278</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l01279" name="l01279"></a><span class="lineno"> 1279</span><span class="comment">// Runtime Options</span></div> | |
| <div class="line"><a id="l01280" name="l01280"></a><span class="lineno"> 1280</span><span class="comment">// ------------------------------------------------------</span></div> | |
| <div class="line"><a id="l01281" name="l01281"></a><span class="lineno"> 1281</span></div> | |
| <div class="line"><a id="l01286" name="l01286"></a><span class="lineno"> 1286</span></div> | |
| <div class="line"><a id="l01289" name="l01289"></a><span class="lineno"><a class="line" href="group__options.html#gaecfcd3ed90af99932670d881de1fa8f1"> 1289</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#gaecfcd3ed90af99932670d881de1fa8f1">mi_options_print</a>(<span class="keywordtype">void</span>);</div> | |
| <div class="line"><a id="l01290" name="l01290"></a><span class="lineno"> 1290</span></div> | |
| <div class="line"><a id="l01296" name="l01296"></a><span class="lineno"><a class="line" href="group__options.html#ga1dd50c7533baec4cc6c1a2e9adf05dd2"> 1296</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#ga1dd50c7533baec4cc6c1a2e9adf05dd2">mi_options_print_out</a>(<a class="code hl_typedef" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a>* out, <span class="keywordtype">void</span>* arg);</div> | |
| <div class="line"><a id="l01297" name="l01297"></a><span class="lineno"> 1297</span> </div> | |
| <div class="line"><a id="l01298" name="l01298"></a><span class="lineno"> 1298</span></div> | |
| <div class="foldopen" id="foldopen01300" data-start="{" data-end="};"> | |
| <div class="line"><a id="l01300" name="l01300"></a><span class="lineno"><a class="line" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c"> 1300</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> mi_option_e {</div> | |
| <div class="line"><a id="l01301" name="l01301"></a><span class="lineno"> 1301</span> <span class="comment">// stable options</span></div> | |
| <div class="line"><a id="l01302" name="l01302"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4822e5c00732c5984b32a032837f0"> 1302</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4822e5c00732c5984b32a032837f0">mi_option_show_errors</a>, </div> | |
| <div class="line"><a id="l01303" name="l01303"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda"> 1303</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda">mi_option_show_stats</a>, </div> | |
| <div class="line"><a id="l01304" name="l01304"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7c8b7bf5281c581bad64f5daa6442777"> 1304</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7c8b7bf5281c581bad64f5daa6442777">mi_option_verbose</a>, </div> | |
| <div class="line"><a id="l01305" name="l01305"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a"> 1305</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a">mi_option_max_errors</a>, </div> | |
| <div class="line"><a id="l01306" name="l01306"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665"> 1306</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665">mi_option_max_warnings</a>, </div> | |
| <div class="line"><a id="l01307" name="l01307"></a><span class="lineno"> 1307</span> </div> | |
| <div class="line"><a id="l01308" name="l01308"></a><span class="lineno"> 1308</span> <span class="comment">// advanced options</span></div> | |
| <div class="line"><a id="l01309" name="l01309"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2"> 1309</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2">mi_option_reserve_huge_os_pages</a>, </div> | |
| <div class="line"><a id="l01310" name="l01310"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c"> 1310</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c">mi_option_reserve_huge_os_pages_at</a>, </div> | |
| <div class="line"><a id="l01311" name="l01311"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333"> 1311</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333">mi_option_reserve_os_memory</a>, </div> | |
| <div class="line"><a id="l01312" name="l01312"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556"> 1312</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556">mi_option_allow_large_os_pages</a>, </div> | |
| <div class="line"><a id="l01313" name="l01313"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4"> 1313</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4">mi_option_purge_decommits</a>, </div> | |
| <div class="line"><a id="l01314" name="l01314"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de"> 1314</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de">mi_option_arena_reserve</a>, </div> | |
| <div class="line"><a id="l01315" name="l01315"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf"> 1315</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf">mi_option_os_tag</a>, </div> | |
| <div class="line"><a id="l01316" name="l01316"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e"> 1316</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e">mi_option_retry_on_oom</a>, </div> | |
| <div class="line"><a id="l01317" name="l01317"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8b5815a577955fe8125f2b964f41ee7f"> 1317</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8b5815a577955fe8125f2b964f41ee7f">mi_option_generic_collect</a>, </div> | |
| <div class="line"><a id="l01318" name="l01318"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca04c45931ce2c82a20d08ca1471e74087"> 1318</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca04c45931ce2c82a20d08ca1471e74087">mi_option_allow_thp</a>, </div> | |
| <div class="line"><a id="l01319" name="l01319"></a><span class="lineno"> 1319</span> </div> | |
| <div class="line"><a id="l01320" name="l01320"></a><span class="lineno"> 1320</span> <span class="comment">// guard pages</span></div> | |
| <div class="line"><a id="l01321" name="l01321"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca00734c528aae52784654a8db996ae62b"> 1321</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca00734c528aae52784654a8db996ae62b">mi_option_guarded_min</a>, </div> | |
| <div class="line"><a id="l01322" name="l01322"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca96077da4e5c841edeec0c4d6e45a5ffa"> 1322</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca96077da4e5c841edeec0c4d6e45a5ffa">mi_option_guarded_max</a>, </div> | |
| <div class="line"><a id="l01323" name="l01323"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1eaf89bb1698f988cec27b66e546760c"> 1323</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1eaf89bb1698f988cec27b66e546760c">mi_option_guarded_precise</a>, </div> | |
| <div class="line"><a id="l01324" name="l01324"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeb3c75b1a838eb42106750979d0888ec"> 1324</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeb3c75b1a838eb42106750979d0888ec">mi_option_guarded_sample_rate</a>, </div> | |
| <div class="line"><a id="l01325" name="l01325"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7b1e41ece69f9abbe5ba81d9ea7a3dc0"> 1325</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7b1e41ece69f9abbe5ba81d9ea7a3dc0">mi_option_guarded_sample_seed</a>, </div> | |
| <div class="line"><a id="l01326" name="l01326"></a><span class="lineno"> 1326</span> </div> | |
| <div class="line"><a id="l01327" name="l01327"></a><span class="lineno"> 1327</span> <span class="comment">// experimental options</span></div> | |
| <div class="line"><a id="l01328" name="l01328"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1e8de72c93da7ff22d91e1e27b52ac2b"> 1328</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1e8de72c93da7ff22d91e1e27b52ac2b">mi_option_eager_commit</a>, </div> | |
| <div class="line"><a id="l01329" name="l01329"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c"> 1329</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c">mi_option_eager_commit_delay</a>, </div> | |
| <div class="line"><a id="l01330" name="l01330"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5"> 1330</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5">mi_option_arena_eager_commit</a>, </div> | |
| <div class="line"><a id="l01331" name="l01331"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11e62ed69200a489a5be955582078c0c"> 1331</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11e62ed69200a489a5be955582078c0c">mi_option_abandoned_page_purge</a>, </div> | |
| <div class="line"><a id="l01332" name="l01332"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290"> 1332</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290">mi_option_purge_delay</a>, </div> | |
| <div class="line"><a id="l01333" name="l01333"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74"> 1333</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74">mi_option_use_numa_nodes</a>, </div> | |
| <div class="line"><a id="l01334" name="l01334"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6"> 1334</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6">mi_option_disallow_os_alloc</a>, </div> | |
| <div class="line"><a id="l01335" name="l01335"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909"> 1335</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909">mi_option_max_segment_reclaim</a>, </div> | |
| <div class="line"><a id="l01336" name="l01336"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88"> 1336</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88">mi_option_destroy_on_exit</a>, </div> | |
| <div class="line"><a id="l01337" name="l01337"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e"> 1337</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e">mi_option_arena_purge_mult</a>, </div> | |
| <div class="line"><a id="l01338" name="l01338"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9"> 1338</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9">mi_option_abandoned_reclaim_on_free</a>, </div> | |
| <div class="line"><a id="l01339" name="l01339"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487"> 1339</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487">mi_option_purge_extend_delay</a>, </div> | |
| <div class="line"><a id="l01340" name="l01340"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40"> 1340</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40">mi_option_disallow_arena_alloc</a>, </div> | |
| <div class="line"><a id="l01341" name="l01341"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e"> 1341</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e">mi_option_visit_abandoned</a>, </div> | |
| <div class="line"><a id="l01342" name="l01342"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca874f36a7a1e51f7baee4a78b2830b643"> 1342</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca874f36a7a1e51f7baee4a78b2830b643">mi_option_target_segments_per_thread</a>, </div> | |
| <div class="line"><a id="l01343" name="l01343"></a><span class="lineno"> 1343</span> </div> | |
| <div class="line"><a id="l01344" name="l01344"></a><span class="lineno"> 1344</span> <span class="comment">// v3 options</span></div> | |
| <div class="line"><a id="l01345" name="l01345"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cac16e3f838e861338fb2357b430f6974c"> 1345</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cac16e3f838e861338fb2357b430f6974c">mi_option_page_reclaim_on_free</a>, </div> | |
| <div class="line"><a id="l01346" name="l01346"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeede7d0652e391940357e1c054d29829"> 1346</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeede7d0652e391940357e1c054d29829">mi_option_page_full_retain</a>, </div> | |
| <div class="line"><a id="l01347" name="l01347"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cad13382757101aa4fbc4984fa0f917133"> 1347</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cad13382757101aa4fbc4984fa0f917133">mi_option_page_max_candidates</a>, </div> | |
| <div class="line"><a id="l01348" name="l01348"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caabf8c9793d421ce28361b6d93c432de9"> 1348</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caabf8c9793d421ce28361b6d93c432de9">mi_option_max_vabits</a>, </div> | |
| <div class="line"><a id="l01349" name="l01349"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa88f56e3bccce85542dc2b3297024236"> 1349</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa88f56e3bccce85542dc2b3297024236">mi_option_pagemap_commit</a>, </div> | |
| <div class="line"><a id="l01350" name="l01350"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca679d9ee91221bffba4d5aafe488a8d7f"> 1350</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca679d9ee91221bffba4d5aafe488a8d7f">mi_option_page_commit_on_demand</a>, </div> | |
| <div class="line"><a id="l01351" name="l01351"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11a13739488294318ffc03eea378f5a4"> 1351</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11a13739488294318ffc03eea378f5a4">mi_option_page_max_reclaim</a>, </div> | |
| <div class="line"><a id="l01352" name="l01352"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca671e806447c15a53c7d593afdd8d45c5"> 1352</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca671e806447c15a53c7d593afdd8d45c5">mi_option_page_cross_thread_max_reclaim</a>, </div> | |
| <div class="line"><a id="l01353" name="l01353"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5635112095936356425d9a01910afff7"> 1353</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5635112095936356425d9a01910afff7">mi_option_minimal_purge_size</a>, </div> | |
| <div class="line"><a id="l01354" name="l01354"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4dee58d60bc95ce0eeef759c61fd849b"> 1354</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4dee58d60bc95ce0eeef759c61fd849b">mi_option_arena_max_object_size</a>, </div> | |
| <div class="line"><a id="l01355" name="l01355"></a><span class="lineno"> 1355</span> </div> | |
| <div class="line"><a id="l01356" name="l01356"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5b4357b74be0d87568036c32eb1a2e4a"> 1356</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5b4357b74be0d87568036c32eb1a2e4a">_mi_option_last</a></div> | |
| <div class="line"><a id="l01357" name="l01357"></a><span class="lineno"> 1357</span>} <a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a>;</div> | |
| </div> | |
| <div class="line"><a id="l01358" name="l01358"></a><span class="lineno"> 1358</span> </div> | |
| <div class="line"><a id="l01359" name="l01359"></a><span class="lineno"> 1359</span> </div> | |
| <div class="line"><a id="l01360" name="l01360"></a><span class="lineno"><a class="line" href="group__options.html#ga459ad98f18b3fc9275474807fe0ca188"> 1360</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__options.html#ga459ad98f18b3fc9275474807fe0ca188">mi_option_is_enabled</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option);</div> | |
| <div class="line"><a id="l01361" name="l01361"></a><span class="lineno"><a class="line" href="group__options.html#ga04180ae41b0d601421dd62ced40ca050"> 1361</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#ga04180ae41b0d601421dd62ced40ca050">mi_option_enable</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option);</div> | |
| <div class="line"><a id="l01362" name="l01362"></a><span class="lineno"><a class="line" href="group__options.html#gaebf6ff707a2e688ebb1a2296ca564054"> 1362</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#gaebf6ff707a2e688ebb1a2296ca564054">mi_option_disable</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option);</div> | |
| <div class="line"><a id="l01363" name="l01363"></a><span class="lineno"><a class="line" href="group__options.html#ga9a13d05fcb77489cb06d4d017ebd8bed"> 1363</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#ga9a13d05fcb77489cb06d4d017ebd8bed">mi_option_set_enabled</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, <span class="keywordtype">bool</span> enable);</div> | |
| <div class="line"><a id="l01364" name="l01364"></a><span class="lineno"><a class="line" href="group__options.html#ga65518b69ec5d32336b50e07f74b3f629"> 1364</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#ga65518b69ec5d32336b50e07f74b3f629">mi_option_set_enabled_default</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, <span class="keywordtype">bool</span> enable);</div> | |
| <div class="line"><a id="l01365" name="l01365"></a><span class="lineno"> 1365</span> </div> | |
| <div class="line"><a id="l01366" name="l01366"></a><span class="lineno"><a class="line" href="group__options.html#ga7e8af195cc81d3fa64ccf2662caa565a"> 1366</a></span><span class="keywordtype">long</span> <a class="code hl_function" href="group__options.html#ga7e8af195cc81d3fa64ccf2662caa565a">mi_option_get</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option);</div> | |
| <div class="line"><a id="l01367" name="l01367"></a><span class="lineno"><a class="line" href="group__options.html#ga96ad9c406338bd314cfe878cfc9bf723"> 1367</a></span><span class="keywordtype">long</span> <a class="code hl_function" href="group__options.html#ga96ad9c406338bd314cfe878cfc9bf723">mi_option_get_clamp</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, <span class="keywordtype">long</span> min, <span class="keywordtype">long</span> max);</div> | |
| <div class="line"><a id="l01368" name="l01368"></a><span class="lineno"><a class="line" href="group__options.html#ga274db5a6ac87cc24ef0b23e7006ed02c"> 1368</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__options.html#ga274db5a6ac87cc24ef0b23e7006ed02c">mi_option_get_size</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option);</div> | |
| <div class="line"><a id="l01369" name="l01369"></a><span class="lineno"> 1369</span> </div> | |
| <div class="line"><a id="l01370" name="l01370"></a><span class="lineno"><a class="line" href="group__options.html#gaf84921c32375e25754dc2ee6a911fa60"> 1370</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#gaf84921c32375e25754dc2ee6a911fa60">mi_option_set</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, <span class="keywordtype">long</span> value);</div> | |
| <div class="line"><a id="l01371" name="l01371"></a><span class="lineno"><a class="line" href="group__options.html#ga7ef623e440e6e5545cb08c94e71e4b90"> 1371</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__options.html#ga7ef623e440e6e5545cb08c94e71e4b90">mi_option_set_default</a>(<a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, <span class="keywordtype">long</span> value);</div> | |
| <div class="line"><a id="l01372" name="l01372"></a><span class="lineno"> 1372</span></div> | |
| <div class="line"><a id="l01374" name="l01374"></a><span class="lineno"> 1374</span></div> | |
| <div class="line"><a id="l01387" name="l01387"></a><span class="lineno"> 1387</span></div> | |
| <div class="line"><a id="l01389" name="l01389"></a><span class="lineno"> 1389</span><span class="keyword">struct </span>mi_theap_s;</div> | |
| <div class="line"><a id="l01390" name="l01390"></a><span class="lineno"> 1390</span></div> | |
| <div class="line"><a id="l01392" name="l01392"></a><span class="lineno"><a class="line" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8"> 1392</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>mi_theap_s <a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>;</div> | |
| <div class="line"><a id="l01393" name="l01393"></a><span class="lineno"> 1393</span></div> | |
| <div class="line"><a id="l01400" name="l01400"></a><span class="lineno"><a class="line" href="group__theap.html#ga7905a73865733da8a43339a500533180"> 1400</a></span><a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* <a class="code hl_function" href="group__theap.html#ga7905a73865733da8a43339a500533180">mi_heap_theap</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div> | |
| <div class="line"><a id="l01401" name="l01401"></a><span class="lineno"> 1401</span></div> | |
| <div class="line"><a id="l01403" name="l01403"></a><span class="lineno"><a class="line" href="group__theap.html#ga9377a43095b8dd14996613ceb73d9a32"> 1403</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__theap.html#ga9377a43095b8dd14996613ceb73d9a32">mi_theap_collect</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">bool</span> force);</div> | |
| <div class="line"><a id="l01404" name="l01404"></a><span class="lineno"> 1404</span></div> | |
| <div class="line"><a id="l01409" name="l01409"></a><span class="lineno"><a class="line" href="group__theap.html#ga04420ce52785019412397e4de24a984a"> 1409</a></span><a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* <a class="code hl_function" href="group__theap.html#ga04420ce52785019412397e4de24a984a">mi_theap_set_default</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap);</div> | |
| <div class="line"><a id="l01410" name="l01410"></a><span class="lineno"> 1410</span></div> | |
| <div class="line"><a id="l01413" name="l01413"></a><span class="lineno"><a class="line" href="group__theap.html#ga78afbb07c1e0cd333c7539cf7403dfd5"> 1413</a></span><a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* <a class="code hl_function" href="group__theap.html#ga78afbb07c1e0cd333c7539cf7403dfd5">mi_theap_get_default</a>();</div> | |
| <div class="line"><a id="l01414" name="l01414"></a><span class="lineno"> 1414</span></div> | |
| <div class="line"><a id="l01417" name="l01417"></a><span class="lineno"><a class="line" href="group__theap.html#gac7308e029c59e6675dd5ab5ec54f304a"> 1417</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gac7308e029c59e6675dd5ab5ec54f304a">mi_theap_malloc</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01418" name="l01418"></a><span class="lineno"> 1418</span></div> | |
| <div class="line"><a id="l01422" name="l01422"></a><span class="lineno"><a class="line" href="group__theap.html#ga1fc65302a212daaecb21abda96ff247c"> 1422</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#ga1fc65302a212daaecb21abda96ff247c">mi_theap_malloc_small</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01423" name="l01423"></a><span class="lineno"> 1423</span></div> | |
| <div class="line"><a id="l01426" name="l01426"></a><span class="lineno"><a class="line" href="group__theap.html#gaa7fd973dcd8c75eb05707bdeffbc06f7"> 1426</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gaa7fd973dcd8c75eb05707bdeffbc06f7">mi_theap_zalloc</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01427" name="l01427"></a><span class="lineno"> 1427</span></div> | |
| <div class="line"><a id="l01431" name="l01431"></a><span class="lineno"><a class="line" href="group__theap.html#gaa85fccf9d40af3e826c5932aded1d534"> 1431</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gaa85fccf9d40af3e826c5932aded1d534">mi_theap_zalloc_small</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01432" name="l01432"></a><span class="lineno"> 1432</span> </div> | |
| <div class="line"><a id="l01433" name="l01433"></a><span class="lineno"><a class="line" href="group__theap.html#gadbf8f27bfe9edf7834e19d32cab63edc"> 1433</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gadbf8f27bfe9edf7834e19d32cab63edc">mi_theap_calloc</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01434" name="l01434"></a><span class="lineno"><a class="line" href="group__theap.html#ga84503fc2bd83fbfb7f789b7d80d76f36"> 1434</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#ga84503fc2bd83fbfb7f789b7d80d76f36">mi_theap_malloc_aligned</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l01435" name="l01435"></a><span class="lineno"><a class="line" href="group__theap.html#ga11943128dc354313c4189e72f4299dbb"> 1435</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#ga11943128dc354313c4189e72f4299dbb">mi_theap_realloc</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l01436" name="l01436"></a><span class="lineno"> 1436</span></div> | |
| <div class="line"><a id="l01438" name="l01438"></a><span class="lineno"> 1438</span> </div> | |
| <div class="line"><a id="l01439" name="l01439"></a><span class="lineno"> 1439</span></div> | |
| <div class="line"><a id="l01445" name="l01445"></a><span class="lineno"> 1445</span> </div> | |
| <div class="line"><a id="l01446" name="l01446"></a><span class="lineno"><a class="line" href="group__posix.html#ga66bcfeb4faedbb42b796bc680821ef84"> 1446</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#ga66bcfeb4faedbb42b796bc680821ef84">mi__expand</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l01447" name="l01447"></a><span class="lineno"> 1447</span> </div> | |
| <div class="line"><a id="l01448" name="l01448"></a><span class="lineno"><a class="line" href="group__posix.html#ga4531c9e775bb3ae12db57c1ba8a5d7de"> 1448</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__posix.html#ga4531c9e775bb3ae12db57c1ba8a5d7de">mi_malloc_size</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div> | |
| <div class="line"><a id="l01449" name="l01449"></a><span class="lineno"><a class="line" href="group__posix.html#ga9d23ac7885fed7413c11d8e0ffa31071"> 1449</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__posix.html#ga9d23ac7885fed7413c11d8e0ffa31071">mi_malloc_good_size</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01450" name="l01450"></a><span class="lineno"><a class="line" href="group__posix.html#ga06d07cf357bbac5c73ba5d0c0c421e17"> 1450</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__posix.html#ga06d07cf357bbac5c73ba5d0c0c421e17">mi_malloc_usable_size</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *p);</div> | |
| <div class="line"><a id="l01451" name="l01451"></a><span class="lineno"> 1451</span> </div> | |
| <div class="line"><a id="l01452" name="l01452"></a><span class="lineno"><a class="line" href="group__posix.html#gacff84f226ba9feb2031b8992e5579447"> 1452</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__posix.html#gacff84f226ba9feb2031b8992e5579447">mi_posix_memalign</a>(<span class="keywordtype">void</span>** p, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01453" name="l01453"></a><span class="lineno"><a class="line" href="group__posix.html#gad5a69c8fea96aa2b7a7c818c2130090a"> 1453</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__posix.html#gad5a69c8fea96aa2b7a7c818c2130090a">mi__posix_memalign</a>(<span class="keywordtype">void</span>** p, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01454" name="l01454"></a><span class="lineno"><a class="line" href="group__posix.html#ga726867f13fd29ca36064954c0285b1d8"> 1454</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#ga726867f13fd29ca36064954c0285b1d8">mi_memalign</a>(<span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01455" name="l01455"></a><span class="lineno"><a class="line" href="group__posix.html#ga50cafb9722020402f065de93799f64ca"> 1455</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#ga50cafb9722020402f065de93799f64ca">mi_valloc</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01456" name="l01456"></a><span class="lineno"><a class="line" href="group__posix.html#ga644bebccdbb2821542dd8c7e7641f476"> 1456</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#ga644bebccdbb2821542dd8c7e7641f476">mi_pvalloc</a>(<span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01457" name="l01457"></a><span class="lineno"><a class="line" href="group__posix.html#ga430ed1513f0571ff83be00ec58a98ee0"> 1457</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#ga430ed1513f0571ff83be00ec58a98ee0">mi_aligned_alloc</a>(<span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01458" name="l01458"></a><span class="lineno"> 1458</span> </div> | |
| <div class="line"><a id="l01459" name="l01459"></a><span class="lineno"><a class="line" href="group__posix.html#gaa9fd7f25c9ac3a20e89b33bd6e383fcf"> 1459</a></span><span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* <a class="code hl_function" href="group__posix.html#gaa9fd7f25c9ac3a20e89b33bd6e383fcf">mi_wcsdup</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* s);</div> | |
| <div class="line"><a id="l01460" name="l01460"></a><span class="lineno"><a class="line" href="group__posix.html#ga7b82a44094fdec4d2084eb4288a979b0"> 1460</a></span><span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="group__posix.html#ga7b82a44094fdec4d2084eb4288a979b0">mi_mbsdup</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* s);</div> | |
| <div class="line"><a id="l01461" name="l01461"></a><span class="lineno"><a class="line" href="group__posix.html#gab41369c1a1da7504013a7a0b1d4dd958"> 1461</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__posix.html#gab41369c1a1da7504013a7a0b1d4dd958">mi_dupenv_s</a>(<span class="keywordtype">char</span>** buf, <span class="keywordtype">size_t</span>* size, <span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div> | |
| <div class="line"><a id="l01462" name="l01462"></a><span class="lineno"><a class="line" href="group__posix.html#ga6ac6a6a8f3c96f1af24bb8d0439cbbd1"> 1462</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__posix.html#ga6ac6a6a8f3c96f1af24bb8d0439cbbd1">mi_wdupenv_s</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>** buf, <span class="keywordtype">size_t</span>* size, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* name);</div> | |
| <div class="line"><a id="l01463" name="l01463"></a><span class="lineno"> 1463</span></div> | |
| <div class="line"><a id="l01466" name="l01466"></a><span class="lineno"><a class="line" href="group__posix.html#gadfeccb72748a2f6305474a37d9d57bce"> 1466</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#gadfeccb72748a2f6305474a37d9d57bce">mi_reallocarray</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01467" name="l01467"></a><span class="lineno"> 1467</span></div> | |
| <div class="line"><a id="l01469" name="l01469"></a><span class="lineno"><a class="line" href="group__posix.html#ga7e1934d60a3e697950eeb48e042bfad5"> 1469</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__posix.html#ga7e1934d60a3e697950eeb48e042bfad5">mi_reallocarr</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01470" name="l01470"></a><span class="lineno"> 1470</span> </div> | |
| <div class="line"><a id="l01471" name="l01471"></a><span class="lineno"><a class="line" href="group__posix.html#gaf82cbb4b4f24acf723348628451798d3"> 1471</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#gaf82cbb4b4f24acf723348628451798d3">mi_aligned_recalloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l01472" name="l01472"></a><span class="lineno"><a class="line" href="group__posix.html#ga16570deddd559001b44953eedbad0084"> 1472</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__posix.html#ga16570deddd559001b44953eedbad0084">mi_aligned_offset_recalloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span> offset);</div> | |
| <div class="line"><a id="l01473" name="l01473"></a><span class="lineno"> 1473</span></div> | |
| <div class="line"><a id="l01485" name="l01485"></a><span class="lineno"><a class="line" href="group__posix.html#gae01389eedab8d67341ff52e2aad80ebb"> 1485</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__posix.html#gae01389eedab8d67341ff52e2aad80ebb">mi_free_size</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01486" name="l01486"></a><span class="lineno"> 1486</span></div> | |
| <div class="line"><a id="l01497" name="l01497"></a><span class="lineno"><a class="line" href="group__posix.html#ga796602dae2a89797026f72e0c0240f32"> 1497</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__posix.html#ga796602dae2a89797026f72e0c0240f32">mi_free_size_nonnull</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01498" name="l01498"></a><span class="lineno"> 1498</span></div> | |
| <div class="line"><a id="l01504" name="l01504"></a><span class="lineno"><a class="line" href="group__posix.html#ga72e9d7ffb5fe94d69bc722c8506e27bc"> 1504</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__posix.html#ga72e9d7ffb5fe94d69bc722c8506e27bc">mi_free_size_aligned</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l01505" name="l01505"></a><span class="lineno"> 1505</span></div> | |
| <div class="line"><a id="l01510" name="l01510"></a><span class="lineno"><a class="line" href="group__posix.html#ga0d28d5cf61e6bfbb18c63092939fe5c9"> 1510</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__posix.html#ga0d28d5cf61e6bfbb18c63092939fe5c9">mi_free_aligned</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l01511" name="l01511"></a><span class="lineno"> 1511</span></div> | |
| <div class="line"><a id="l01513" name="l01513"></a><span class="lineno"> 1513</span></div> | |
| <div class="line"><a id="l01526" name="l01526"></a><span class="lineno"> 1526</span></div> | |
| <div class="line"><a id="l01528" name="l01528"></a><span class="lineno"><a class="line" href="group__cpp.html#ga633d96e3bc7011f960df9f3b2731fc6a"> 1528</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga633d96e3bc7011f960df9f3b2731fc6a">mi_new</a>(std::size_t n) <span class="keyword">noexcept</span>(<span class="keyword">false</span>);</div> | |
| <div class="line"><a id="l01529" name="l01529"></a><span class="lineno"> 1529</span></div> | |
| <div class="line"><a id="l01531" name="l01531"></a><span class="lineno"><a class="line" href="group__cpp.html#gadd11b85c15d21d308386844b5233856c"> 1531</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#gadd11b85c15d21d308386844b5233856c">mi_new_n</a>(<span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size) <span class="keyword">noexcept</span>(<span class="keyword">false</span>);</div> | |
| <div class="line"><a id="l01532" name="l01532"></a><span class="lineno"> 1532</span></div> | |
| <div class="line"><a id="l01534" name="l01534"></a><span class="lineno"><a class="line" href="group__cpp.html#ga79c54da0b4b4ce9fcc11d2f6ef6675f8"> 1534</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga79c54da0b4b4ce9fcc11d2f6ef6675f8">mi_new_aligned</a>(std::size_t n, std::align_val_t alignment) <span class="keyword">noexcept</span>(<span class="keyword">false</span>);</div> | |
| <div class="line"><a id="l01535" name="l01535"></a><span class="lineno"> 1535</span></div> | |
| <div class="line"><a id="l01537" name="l01537"></a><span class="lineno"><a class="line" href="group__cpp.html#ga5cb4f120d1f7296074256215aa9a9e54"> 1537</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga5cb4f120d1f7296074256215aa9a9e54">mi_new_nothrow</a>(<span class="keywordtype">size_t</span> n);</div> | |
| <div class="line"><a id="l01538" name="l01538"></a><span class="lineno"> 1538</span></div> | |
| <div class="line"><a id="l01540" name="l01540"></a><span class="lineno"><a class="line" href="group__cpp.html#ga92ae00b6dd64406c7e64557711ec04b7"> 1540</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga92ae00b6dd64406c7e64557711ec04b7">mi_new_aligned_nothrow</a>(<span class="keywordtype">size_t</span> n, <span class="keywordtype">size_t</span> alignment);</div> | |
| <div class="line"><a id="l01541" name="l01541"></a><span class="lineno"> 1541</span></div> | |
| <div class="line"><a id="l01543" name="l01543"></a><span class="lineno"><a class="line" href="group__cpp.html#ga6867d89baf992728e0cc20a1f47db4d0"> 1543</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga6867d89baf992728e0cc20a1f47db4d0">mi_new_realloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize);</div> | |
| <div class="line"><a id="l01544" name="l01544"></a><span class="lineno"> 1544</span></div> | |
| <div class="line"><a id="l01546" name="l01546"></a><span class="lineno"><a class="line" href="group__cpp.html#gaace912ce086682d56f3ce9f7638d9d67"> 1546</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#gaace912ce086682d56f3ce9f7638d9d67">mi_new_reallocn</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newcount, <span class="keywordtype">size_t</span> size);</div> | |
| <div class="line"><a id="l01547" name="l01547"></a><span class="lineno"> 1547</span></div> | |
| <div class="line"><a id="l01555" name="l01555"></a><span class="lineno"><a class="line" href="group__cpp.html"> 1555</a></span><span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">struct </span><a class="code hl_struct" href="group__cpp.html#structmi__stl__allocator">mi_stl_allocator</a> { }</div> | |
| <div class="line"><a id="l01556" name="l01556"></a><span class="lineno"> 1556</span></div> | |
| <div class="line"><a id="l01558" name="l01558"></a><span class="lineno"> 1558</span></div> | |
| <div class="line"><a id="l01649" name="l01649"></a><span class="lineno"> 1649</span></div> | |
| <div class="line"><a id="l01753" name="l01753"></a><span class="lineno"> 1753</span></div> | |
| <div class="line"><a id="l01817" name="l01817"></a><span class="lineno"> 1817</span></div> | |
| <div class="line"><a id="l01987" name="l01987"></a><span class="lineno"> 1987</span></div> | |
| <div class="line"><a id="l02045" name="l02045"></a><span class="lineno"> 2045</span></div> | |
| <div class="line"><a id="l02140" name="l02140"></a><span class="lineno"> 2140</span></div> | |
| <div class="ttc" id="agroup__aligned_html_ga2022f71b95a7cd6cce1b6e07752ae8ca"><div class="ttname"><a href="group__aligned.html#ga2022f71b95a7cd6cce1b6e07752ae8ca">mi_malloc_aligned_at</a></div><div class="ttdeci">void * mi_malloc_aligned_at(size_t size, size_t alignment, size_t offset)</div><div class="ttdoc">Allocate size bytes aligned by alignment at a specified offset.</div></div> | |
| <div class="ttc" id="agroup__aligned_html_ga424ef386fb1f9f8e0a86ab53f16eaaf1"><div class="ttname"><a href="group__aligned.html#ga424ef386fb1f9f8e0a86ab53f16eaaf1">mi_calloc_aligned</a></div><div class="ttdeci">void * mi_calloc_aligned(size_t count, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__aligned_html_ga5d7a46d054b4d7abe9d8d2474add2edf"><div class="ttname"><a href="group__aligned.html#ga5d7a46d054b4d7abe9d8d2474add2edf">mi_realloc_aligned</a></div><div class="ttdeci">void * mi_realloc_aligned(void *p, size_t newsize, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__aligned_html_ga69578ff1a98ca16e1dcd02c0995cd65c"><div class="ttname"><a href="group__aligned.html#ga69578ff1a98ca16e1dcd02c0995cd65c">mi_malloc_aligned</a></div><div class="ttdeci">void * mi_malloc_aligned(size_t size, size_t alignment)</div><div class="ttdoc">Allocate size bytes aligned by alignment.</div></div> | |
| <div class="ttc" id="agroup__aligned_html_ga7c1778805ce50ebbf02ccbd5e39d5dba"><div class="ttname"><a href="group__aligned.html#ga7c1778805ce50ebbf02ccbd5e39d5dba">mi_zalloc_aligned_at</a></div><div class="ttdeci">void * mi_zalloc_aligned_at(size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__aligned_html_ga977f96bd2c5c141bcd70e6685c90d6c3"><div class="ttname"><a href="group__aligned.html#ga977f96bd2c5c141bcd70e6685c90d6c3">mi_calloc_aligned_at</a></div><div class="ttdeci">void * mi_calloc_aligned_at(size_t count, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__aligned_html_gaac7d0beb782f9b9ac31f47492b130f82"><div class="ttname"><a href="group__aligned.html#gaac7d0beb782f9b9ac31f47492b130f82">mi_zalloc_aligned</a></div><div class="ttdeci">void * mi_zalloc_aligned(size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__aligned_html_gad06dcf2bb8faadb2c8ea61ee5d24bbf6"><div class="ttname"><a href="group__aligned.html#gad06dcf2bb8faadb2c8ea61ee5d24bbf6">mi_realloc_aligned_at</a></div><div class="ttdeci">void * mi_realloc_aligned_at(void *p, size_t newsize, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__analysis_html_a2b7a0c92ece8daf46b558efc990ebdc1"><div class="ttname"><a href="group__analysis.html#a2b7a0c92ece8daf46b558efc990ebdc1">mi_heap_area_t::heap_tag</a></div><div class="ttdeci">int heap_tag</div><div class="ttdoc">heap tag associated with this area (see mi_heap_new_ex)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:706</div></div> | |
| <div class="ttc" id="agroup__analysis_html_a332a6c14d736a99699d5453a1cb04b41"><div class="ttname"><a href="group__analysis.html#a332a6c14d736a99699d5453a1cb04b41">mi_heap_area_t::block_size</a></div><div class="ttdeci">size_t block_size</div><div class="ttdoc">size in bytes of one block</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:704</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ab47526df656d8837ec3e97f11b83f835"><div class="ttname"><a href="group__analysis.html#ab47526df656d8837ec3e97f11b83f835">mi_heap_area_t::committed</a></div><div class="ttdeci">size_t committed</div><div class="ttdoc">current committed bytes of this area</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:702</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ab53664e31d7fe2564f8d42041ef75cb3"><div class="ttname"><a href="group__analysis.html#ab53664e31d7fe2564f8d42041ef75cb3">mi_heap_area_t::full_block_size</a></div><div class="ttdeci">size_t full_block_size</div><div class="ttdoc">size in bytes of a full block including padding and metadata.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:705</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ab820302c5cd0df133eb8e51650a008b4"><div class="ttname"><a href="group__analysis.html#ab820302c5cd0df133eb8e51650a008b4">mi_heap_area_t::used</a></div><div class="ttdeci">size_t used</div><div class="ttdoc">bytes in use by allocated blocks</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:703</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ae0085e6e1cf059a4eb7767e30e9991b8"><div class="ttname"><a href="group__analysis.html#ae0085e6e1cf059a4eb7767e30e9991b8">mi_heap_area_t::blocks</a></div><div class="ttdeci">void * blocks</div><div class="ttdoc">start of the area containing heap blocks</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:700</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ae848a3e6840414891035423948ca0383"><div class="ttname"><a href="group__analysis.html#ae848a3e6840414891035423948ca0383">mi_heap_area_t::reserved</a></div><div class="ttdeci">size_t reserved</div><div class="ttdoc">bytes reserved for this area</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:701</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ga6a4865a887b2ec5247854af61562503c"><div class="ttname"><a href="group__analysis.html#ga6a4865a887b2ec5247854af61562503c">mi_abandoned_visit_blocks</a></div><div class="ttdeci">bool mi_abandoned_visit_blocks(mi_subproc_id_t subproc_id, int heap_tag, bool visit_blocks, mi_block_visit_fun *visitor, void *arg)</div><div class="ttdoc">v1,v2: Visit all areas and blocks in abandoned heaps.</div></div> | |
| <div class="ttc" id="agroup__analysis_html_ga8255dc9371e6b299d9802a610c4e34ec"><div class="ttname"><a href="group__analysis.html#ga8255dc9371e6b299d9802a610c4e34ec">mi_block_visit_fun</a></div><div class="ttdeci">bool mi_block_visit_fun(const mi_heap_t *heap, const mi_heap_area_t *area, void *block, size_t block_size, void *arg)</div><div class="ttdoc">Visitor function passed to mi_heap_visit_blocks().</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:716</div></div> | |
| <div class="ttc" id="agroup__analysis_html_gae69fcff3324f8e419af850e34cf54c46"><div class="ttname"><a href="group__analysis.html#gae69fcff3324f8e419af850e34cf54c46">mi_heap_visit_blocks</a></div><div class="ttdeci">bool mi_heap_visit_blocks(const mi_heap_t *heap, bool visit_blocks, mi_block_visit_fun *visitor, void *arg)</div><div class="ttdoc">Visit all areas and blocks in a heap.</div></div> | |
| <div class="ttc" id="agroup__analysis_html_structmi__heap__area__t"><div class="ttname"><a href="group__analysis.html#structmi__heap__area__t">mi_heap_area_t</a></div><div class="ttdoc">An area of heap space contains blocks of a single size.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:699</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga00ec3324b6b2591c7fe3677baa30a767"><div class="ttname"><a href="group__arenas.html#ga00ec3324b6b2591c7fe3677baa30a767">mi_reserve_os_memory</a></div><div class="ttdeci">int mi_reserve_os_memory(size_t size, bool commit, bool allow_large)</div><div class="ttdoc">Reserve OS memory for use by mimalloc.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga3132f521fb756fc0e8ec0b74fb58df50"><div class="ttname"><a href="group__arenas.html#ga3132f521fb756fc0e8ec0b74fb58df50">mi_reserve_huge_os_pages_interleave</a></div><div class="ttdeci">int mi_reserve_huge_os_pages_interleave(size_t pages, size_t numa_nodes, size_t timeout_msecs)</div><div class="ttdoc">Reserve pages of huge OS pages (1GiB) evenly divided over numa_nodes nodes, but stops after at most t...</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga32f519797fd9a81acb4f52d36e6d751b"><div class="ttname"><a href="group__arenas.html#ga32f519797fd9a81acb4f52d36e6d751b">mi_reserve_os_memory_ex</a></div><div class="ttdeci">int mi_reserve_os_memory_ex(size_t size, bool commit, bool allow_large, bool exclusive, mi_arena_id_t *arena_id)</div><div class="ttdoc">Reserve OS memory to be managed in an arena.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga3ae360583f4351aa5267ee7e43008faf"><div class="ttname"><a href="group__arenas.html#ga3ae360583f4351aa5267ee7e43008faf">mi_heap_new_ex</a></div><div class="ttdeci">mi_heap_t * mi_heap_new_ex(int heap_tag, bool allow_destroy, mi_arena_id_t arena_id)</div><div class="ttdoc">v1,v2: Create a new heap.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga41ce8525d77bbb60f618fa1029994f6e"><div class="ttname"><a href="group__arenas.html#ga41ce8525d77bbb60f618fa1029994f6e">mi_manage_os_memory_ex</a></div><div class="ttdeci">bool mi_manage_os_memory_ex(void *start, size_t size, bool is_committed, bool is_large, bool is_zero, int numa_node, bool exclusive, mi_arena_id_t *arena_id)</div><div class="ttdoc">Manage externally allocated memory as a mimalloc arena.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga4c6486a1fdcd7a423b5f25fe4be8e0cf"><div class="ttname"><a href="group__arenas.html#ga4c6486a1fdcd7a423b5f25fe4be8e0cf">mi_manage_os_memory</a></div><div class="ttdeci">bool mi_manage_os_memory(void *start, size_t size, bool is_committed, bool is_large, bool is_zero, int numa_node)</div><div class="ttdoc">Manage a particular memory area for use by mimalloc.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga591aab1c2bc2ca920e33f0f9f9cb5c52"><div class="ttname"><a href="group__arenas.html#ga591aab1c2bc2ca920e33f0f9f9cb5c52">mi_reserve_huge_os_pages_at_ex</a></div><div class="ttdeci">int mi_reserve_huge_os_pages_at_ex(size_t pages, int numa_node, size_t timeout_msecs, bool exclusive, mi_arena_id_t *arena_id)</div><div class="ttdoc">Reserve huge OS pages (1GiB) into a single arena.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga7795a13d20087447281858d2c771cca1"><div class="ttname"><a href="group__arenas.html#ga7795a13d20087447281858d2c771cca1">mi_reserve_huge_os_pages_at</a></div><div class="ttdeci">int mi_reserve_huge_os_pages_at(size_t pages, int numa_node, size_t timeout_msecs)</div><div class="ttdoc">Reserve pages of huge OS pages (1GiB) at a specific numa_node, but stops after at most timeout_msecs ...</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga98cda17aa7adeda8b213382af8e7810b"><div class="ttname"><a href="group__arenas.html#ga98cda17aa7adeda8b213382af8e7810b">mi_debug_show_arenas</a></div><div class="ttdeci">void mi_debug_show_arenas(void)</div><div class="ttdoc">Show all current arena's.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga99fe38650d0b02e0e0f89ee024db91d3"><div class="ttname"><a href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a></div><div class="ttdeci">int mi_arena_id_t</div><div class="ttdoc">Each arena has an associated identifier.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:766</div></div> | |
| <div class="ttc" id="agroup__arenas_html_ga9a25a00a22151619a0be91a10af7787f"><div class="ttname"><a href="group__arenas.html#ga9a25a00a22151619a0be91a10af7787f">mi_arena_area</a></div><div class="ttdeci">void * mi_arena_area(mi_arena_id_t arena_id, size_t *size)</div><div class="ttdoc">Return the start and size of an arena.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_gaa1a59464dbf3bc972d34fca0f86668fc"><div class="ttname"><a href="group__arenas.html#gaa1a59464dbf3bc972d34fca0f86668fc">mi_arena_min_alignment</a></div><div class="ttdeci">size_t mi_arena_min_alignment(void)</div><div class="ttdoc">Return the minimal alignment required for managed OS memory.</div></div> | |
| <div class="ttc" id="agroup__arenas_html_gaaf2d9976576d5efd5544be12848af949"><div class="ttname"><a href="group__arenas.html#gaaf2d9976576d5efd5544be12848af949">mi_heap_new_in_arena</a></div><div class="ttdeci">mi_heap_t * mi_heap_new_in_arena(mi_arena_id_t arena_id)</div><div class="ttdoc">Create a new heap that only allocates in the specified arena.</div></div> | |
| <div class="ttc" id="agroup__constantsize_html_ga105bd667da91a15d113fe79be04d625c"><div class="ttname"><a href="group__constantsize.html#ga105bd667da91a15d113fe79be04d625c">mi_theap_malloc_csize</a></div><div class="ttdeci">void * mi_theap_malloc_csize(mi_theap_t *theap, size_t size)</div></div> | |
| <div class="ttc" id="agroup__constantsize_html_ga1addf755829380581dd9c3c9175e376f"><div class="ttname"><a href="group__constantsize.html#ga1addf755829380581dd9c3c9175e376f">mi_theap_zalloc_csize</a></div><div class="ttdeci">void * mi_theap_zalloc_csize(mi_theap_t *theap, size_t size)</div></div> | |
| <div class="ttc" id="agroup__constantsize_html_ga38a93d373a9dc8edc8bca83edb6af5c5"><div class="ttname"><a href="group__constantsize.html#ga38a93d373a9dc8edc8bca83edb6af5c5">mi_free_csize_nonnull</a></div><div class="ttdeci">void mi_free_csize_nonnull(void *p, size_t size)</div><div class="ttdoc">v3: Free a non-null pointer with a known constant size.</div></div> | |
| <div class="ttc" id="agroup__constantsize_html_ga7a421e302074e598527c3eb052a6a3c5"><div class="ttname"><a href="group__constantsize.html#ga7a421e302074e598527c3eb052a6a3c5">mi_free_csize</a></div><div class="ttdeci">void mi_free_csize(void *p, size_t size)</div><div class="ttdoc">v3: Free a pointer with a known constant size.</div></div> | |
| <div class="ttc" id="agroup__constantsize_html_ga9cd44d925d34f7180922e12bbf594571"><div class="ttname"><a href="group__constantsize.html#ga9cd44d925d34f7180922e12bbf594571">mi_malloc_csize</a></div><div class="ttdeci">void * mi_malloc_csize(size_t size)</div><div class="ttdoc">v3: Allocate a constant size object.</div></div> | |
| <div class="ttc" id="agroup__constantsize_html_gadca6d340ee15b5c70695ed82d95c6cec"><div class="ttname"><a href="group__constantsize.html#gadca6d340ee15b5c70695ed82d95c6cec">mi_zalloc_csize</a></div><div class="ttdeci">void * mi_zalloc_csize(size_t size)</div></div> | |
| <div class="ttc" id="agroup__cpp_html_ga5cb4f120d1f7296074256215aa9a9e54"><div class="ttname"><a href="group__cpp.html#ga5cb4f120d1f7296074256215aa9a9e54">mi_new_nothrow</a></div><div class="ttdeci">void * mi_new_nothrow(size_t n)</div><div class="ttdoc">like mi_malloc, but when out of memory, use std::get_new_handler but return NULL on failure.</div></div> | |
| <div class="ttc" id="agroup__cpp_html_ga633d96e3bc7011f960df9f3b2731fc6a"><div class="ttname"><a href="group__cpp.html#ga633d96e3bc7011f960df9f3b2731fc6a">mi_new</a></div><div class="ttdeci">void * mi_new(std::size_t n) noexcept(false)</div><div class="ttdoc">like mi_malloc(), but when out of memory, use std::get_new_handler and raise std::bad_alloc exception...</div></div> | |
| <div class="ttc" id="agroup__cpp_html_ga6867d89baf992728e0cc20a1f47db4d0"><div class="ttname"><a href="group__cpp.html#ga6867d89baf992728e0cc20a1f47db4d0">mi_new_realloc</a></div><div class="ttdeci">void * mi_new_realloc(void *p, size_t newsize)</div><div class="ttdoc">like mi_realloc(), but when out of memory, use std::get_new_handler and raise std::bad_alloc exceptio...</div></div> | |
| <div class="ttc" id="agroup__cpp_html_ga79c54da0b4b4ce9fcc11d2f6ef6675f8"><div class="ttname"><a href="group__cpp.html#ga79c54da0b4b4ce9fcc11d2f6ef6675f8">mi_new_aligned</a></div><div class="ttdeci">void * mi_new_aligned(std::size_t n, std::align_val_t alignment) noexcept(false)</div><div class="ttdoc">like mi_malloc_aligned(), but when out of memory, use std::get_new_handler and raise std::bad_alloc e...</div></div> | |
| <div class="ttc" id="agroup__cpp_html_ga92ae00b6dd64406c7e64557711ec04b7"><div class="ttname"><a href="group__cpp.html#ga92ae00b6dd64406c7e64557711ec04b7">mi_new_aligned_nothrow</a></div><div class="ttdeci">void * mi_new_aligned_nothrow(size_t n, size_t alignment)</div><div class="ttdoc">like mi_malloc_aligned, but when out of memory, use std::get_new_handler but return NULL on failure.</div></div> | |
| <div class="ttc" id="agroup__cpp_html_gaace912ce086682d56f3ce9f7638d9d67"><div class="ttname"><a href="group__cpp.html#gaace912ce086682d56f3ce9f7638d9d67">mi_new_reallocn</a></div><div class="ttdeci">void * mi_new_reallocn(void *p, size_t newcount, size_t size)</div><div class="ttdoc">like mi_reallocn(), but when out of memory, use std::get_new_handler and raise std::bad_alloc excepti...</div></div> | |
| <div class="ttc" id="agroup__cpp_html_gadd11b85c15d21d308386844b5233856c"><div class="ttname"><a href="group__cpp.html#gadd11b85c15d21d308386844b5233856c">mi_new_n</a></div><div class="ttdeci">void * mi_new_n(size_t count, size_t size) noexcept(false)</div><div class="ttdoc">like mi_mallocn(), but when out of memory, use std::get_new_handler and raise std::bad_alloc exceptio...</div></div> | |
| <div class="ttc" id="agroup__cpp_html_structmi__stl__allocator"><div class="ttname"><a href="group__cpp.html#structmi__stl__allocator">mi_stl_allocator</a></div><div class="ttdoc">std::allocator implementation for mimalloc for use in STL containers.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1555</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga0ae4581e85453456a0d658b2b98bf7bf"><div class="ttname"><a href="group__extended.html#ga0ae4581e85453456a0d658b2b98bf7bf">mi_thread_done</a></div><div class="ttdeci">void mi_thread_done(void)</div><div class="ttdoc">Uninitialize mimalloc on a thread.</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga22890f54e5be433837069c8e97fdf379"><div class="ttname"><a href="group__extended.html#ga22890f54e5be433837069c8e97fdf379">mi_free_small_nonnull</a></div><div class="ttdeci">void mi_free_small_nonnull(void *p)</div><div class="ttdoc">v3: Can be used to free an object that was allocated with mi_malloc_small() or any allocation with a ...</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga292a45f7dbc7cd23c5352ce1f0002816"><div class="ttname"><a href="group__extended.html#ga292a45f7dbc7cd23c5352ce1f0002816">mi_deferred_free_fun</a></div><div class="ttdeci">void mi_deferred_free_fun(bool force, unsigned long long heartbeat, void *arg)</div><div class="ttdoc">Type of deferred free functions.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1000</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga2a8469764c38dcaf878f36e5f50e3610"><div class="ttname"><a href="group__extended.html#ga2a8469764c38dcaf878f36e5f50e3610">mi_free_small</a></div><div class="ttdeci">void mi_free_small(void *p)</div><div class="ttdoc">v3: Can be used to free an object that was allocated with mi_malloc_small() or any allocation with a ...</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga3460a6ca91af97be4058f523d3cb8ece"><div class="ttname"><a href="group__extended.html#ga3460a6ca91af97be4058f523d3cb8ece">mi_register_deferred_free</a></div><div class="ttdeci">void mi_register_deferred_free(mi_deferred_free_fun *deferred_free, void *arg)</div><div class="ttdoc">Register a deferred free function.</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga421430e2226d7d468529cec457396756"><div class="ttname"><a href="group__extended.html#ga421430e2226d7d468529cec457396756">mi_collect</a></div><div class="ttdeci">void mi_collect(bool force)</div><div class="ttdoc">Eagerly free memory.</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga51c47637e81df0e2f13a2d7a2dec123e"><div class="ttname"><a href="group__extended.html#ga51c47637e81df0e2f13a2d7a2dec123e">mi_zalloc_small</a></div><div class="ttdeci">void * mi_zalloc_small(size_t size)</div><div class="ttdoc">Allocate a zero initialized small object.</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga7f050bc6b897da82692174f5fce59cde"><div class="ttname"><a href="group__extended.html#ga7f050bc6b897da82692174f5fce59cde">mi_malloc_small</a></div><div class="ttdeci">void * mi_malloc_small(size_t size)</div><div class="ttdoc">Allocate a small object.</div></div> | |
| <div class="ttc" id="agroup__extended_html_ga83fc6a688b322261e1c2deab000b0591"><div class="ttname"><a href="group__extended.html#ga83fc6a688b322261e1c2deab000b0591">mi_error_fun</a></div><div class="ttdeci">void mi_error_fun(int err, void *arg)</div><div class="ttdoc">Type of error callback functions.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1039</div></div> | |
| <div class="ttc" id="agroup__extended_html_gaa1d55e0e894be240827e5d87ec3a1f45"><div class="ttname"><a href="group__extended.html#gaa1d55e0e894be240827e5d87ec3a1f45">mi_register_error</a></div><div class="ttdeci">void mi_register_error(mi_error_fun *errfun, void *arg)</div><div class="ttdoc">Register an error callback function.</div></div> | |
| <div class="ttc" id="agroup__extended_html_gaad25050b19f30cd79397b227e0157a3f"><div class="ttname"><a href="group__extended.html#gaad25050b19f30cd79397b227e0157a3f">mi_is_redirected</a></div><div class="ttdeci">bool mi_is_redirected()</div><div class="ttdoc">Is the C runtime malloc API redirected?</div></div> | |
| <div class="ttc" id="agroup__extended_html_gada899104276aac52539eb4de7c020f1f"><div class="ttname"><a href="group__extended.html#gada899104276aac52539eb4de7c020f1f">mi_thread_set_in_threadpool</a></div><div class="ttdeci">void mi_thread_set_in_threadpool(void)</div><div class="ttdoc">v3: Communicate that a thread is in a threadpool.</div></div> | |
| <div class="ttc" id="agroup__extended_html_gadf31cea7d0332a81c8b882cbbdbadb8d"><div class="ttname"><a href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d">mi_output_fun</a></div><div class="ttdeci">void mi_output_fun(const char *msg, void *arg)</div><div class="ttdoc">Type of output functions.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1024</div></div> | |
| <div class="ttc" id="agroup__extended_html_gae5b17ff027cd2150b43a33040250cf3f"><div class="ttname"><a href="group__extended.html#gae5b17ff027cd2150b43a33040250cf3f">mi_register_output</a></div><div class="ttdeci">void mi_register_output(mi_output_fun *out, void *arg)</div><div class="ttdoc">Register an output function.</div></div> | |
| <div class="ttc" id="agroup__extended_html_gae9ddddcf14a58d0224ef3c8778e5b057"><div class="ttname"><a href="group__extended.html#gae9ddddcf14a58d0224ef3c8778e5b057">mi_version</a></div><div class="ttdeci">int mi_version(void)</div><div class="ttdoc">Return the mimalloc version.</div></div> | |
| <div class="ttc" id="agroup__extended_html_gaf8e73efc2cbca9ebfdfb166983a04c17"><div class="ttname"><a href="group__extended.html#gaf8e73efc2cbca9ebfdfb166983a04c17">mi_thread_init</a></div><div class="ttdeci">void mi_thread_init(void)</div><div class="ttdoc">Initialize mimalloc on a thread.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga012c5c8abe22b10043de39ff95909541"><div class="ttname"><a href="group__heap.html#ga012c5c8abe22b10043de39ff95909541">mi_heap_malloc_small</a></div><div class="ttdeci">void * mi_heap_malloc_small(mi_heap_t *heap, size_t size)</div><div class="ttdoc">Allocate a small object in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga0994f44cc595f9c1840a9af162d98597"><div class="ttname"><a href="group__heap.html#ga0994f44cc595f9c1840a9af162d98597">mi_heap_zalloc_small</a></div><div class="ttdeci">void * mi_heap_zalloc_small(mi_heap_t *heap, size_t size)</div><div class="ttdoc">Allocate a small object in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga0d67c1789faaa15ff366c024fcaf6377"><div class="ttname"><a href="group__heap.html#ga0d67c1789faaa15ff366c024fcaf6377">mi_heap_check_owned</a></div><div class="ttdeci">bool mi_heap_check_owned(mi_heap_t *heap, const void *p)</div><div class="ttdoc">v1,v2: Check safely if any pointer is part of a heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga14c667a6e2c5d28762d8cb7d4e057909"><div class="ttname"><a href="group__heap.html#ga14c667a6e2c5d28762d8cb7d4e057909">mi_heap_get_default</a></div><div class="ttdeci">mi_heap_t * mi_heap_get_default()</div><div class="ttdoc">v1,v2: Get the default heap that is used for mi_malloc() et al.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga29589f427702a1b873de8efb884a611b"><div class="ttname"><a href="group__heap.html#ga29589f427702a1b873de8efb884a611b">mi_any_heap_contains</a></div><div class="ttdeci">bool mi_any_heap_contains(const void *p)</div><div class="ttdoc">v3: is a pointer pointing into mimalloc managed memory?</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga2ab1af8d438819b55319c7ef51d1e409"><div class="ttname"><a href="group__heap.html#ga2ab1af8d438819b55319c7ef51d1e409">mi_heap_delete</a></div><div class="ttdeci">void mi_heap_delete(mi_heap_t *heap)</div><div class="ttdoc">Delete a previously allocated heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga33f4f05b7fea7af2113c62a4bf882cc5"><div class="ttname"><a href="group__heap.html#ga33f4f05b7fea7af2113c62a4bf882cc5">mi_heap_malloc_aligned</a></div><div class="ttdeci">void * mi_heap_malloc_aligned(mi_heap_t *heap, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga349b677dec7da5eacdbc7a385bd62a4a"><div class="ttname"><a href="group__heap.html#ga349b677dec7da5eacdbc7a385bd62a4a">mi_heap_set_default</a></div><div class="ttdeci">mi_heap_t * mi_heap_set_default(mi_heap_t *heap)</div><div class="ttdoc">v1,v2: Set the default heap to use in the current thread for mi_malloc() et al.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga34a47cde5a5b38c29f1aa3c5e76943c2"><div class="ttname"><a href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a></div><div class="ttdeci">struct mi_heap_s mi_heap_t</div><div class="ttdoc">Type of first-class heaps.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:532</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga424b69f285109b2515631d59f5eecb1b"><div class="ttname"><a href="group__heap.html#ga424b69f285109b2515631d59f5eecb1b">mi_heap_of</a></div><div class="ttdeci">mi_heap_t * mi_heap_of(const void *p)</div><div class="ttdoc">v3: return the heap that contains the given pointer.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga484e3d01cd174f78c7e53370e5a7c819"><div class="ttname"><a href="group__heap.html#ga484e3d01cd174f78c7e53370e5a7c819">mi_heap_zalloc_aligned_at</a></div><div class="ttdeci">void * mi_heap_zalloc_aligned_at(mi_heap_t *heap, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga55545a3ec6da29c5b4f62e540ecac1e2"><div class="ttname"><a href="group__heap.html#ga55545a3ec6da29c5b4f62e540ecac1e2">mi_heap_realpath</a></div><div class="ttdeci">char * mi_heap_realpath(mi_heap_t *heap, const char *fname, char *resolved_name)</div><div class="ttdoc">Resolve a file path name using a specific heap to allocate the result.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga5754e09ccc51dd6bc73885bb6ea21b7a"><div class="ttname"><a href="group__heap.html#ga5754e09ccc51dd6bc73885bb6ea21b7a">mi_heap_strdup</a></div><div class="ttdeci">char * mi_heap_strdup(mi_heap_t *heap, const char *s)</div><div class="ttdoc">Duplicate a string in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga5f071b10d4df1c3658e04e7fd67a94e6"><div class="ttname"><a href="group__heap.html#ga5f071b10d4df1c3658e04e7fd67a94e6">mi_is_in_heap_region</a></div><div class="ttdeci">bool mi_is_in_heap_region(const void *p)</div><div class="ttdoc">v1,v2: Is a pointer part of our heap?</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga628c237489c2679af84a4d0d143b3dd5"><div class="ttname"><a href="group__heap.html#ga628c237489c2679af84a4d0d143b3dd5">mi_check_owned</a></div><div class="ttdeci">bool mi_check_owned(const void *p)</div><div class="ttdoc">v1,v2: Check if any pointer is part of the default heap of this thread.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga6466bde8b5712aa34e081a8317f9f471"><div class="ttname"><a href="group__heap.html#ga6466bde8b5712aa34e081a8317f9f471">mi_heap_zalloc_aligned</a></div><div class="ttdeci">void * mi_heap_zalloc_aligned(mi_heap_t *heap, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga6df988a7219d5707f010d5f3eb0dc3f5"><div class="ttname"><a href="group__heap.html#ga6df988a7219d5707f010d5f3eb0dc3f5">mi_heap_realloc_aligned_at</a></div><div class="ttdeci">void * mi_heap_realloc_aligned_at(mi_heap_t *heap, void *p, size_t newsize, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga7922f7495cde30b1984d0e6072419298"><div class="ttname"><a href="group__heap.html#ga7922f7495cde30b1984d0e6072419298">mi_heap_collect</a></div><div class="ttdeci">void mi_heap_collect(mi_heap_t *heap, bool force)</div><div class="ttdoc">Release outstanding resources in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga8fc318a65dc79ee8778c6a0e52d12477"><div class="ttname"><a href="group__heap.html#ga8fc318a65dc79ee8778c6a0e52d12477">mi_heap_main</a></div><div class="ttdeci">mi_heap_t * mi_heap_main(void)</div><div class="ttdoc">v3: the main heap (of the current sub-process)</div></div> | |
| <div class="ttc" id="agroup__heap_html_ga9f9c0844edb9717f4feacd79116b8e0d"><div class="ttname"><a href="group__heap.html#ga9f9c0844edb9717f4feacd79116b8e0d">mi_heap_destroy</a></div><div class="ttdeci">void mi_heap_destroy(mi_heap_t *heap)</div><div class="ttdoc">Destroy a heap, freeing all its still allocated blocks.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gaa42ec2079989c4374f2c331d9b35f4e4"><div class="ttname"><a href="group__heap.html#gaa42ec2079989c4374f2c331d9b35f4e4">mi_heap_calloc_aligned_at</a></div><div class="ttdeci">void * mi_heap_calloc_aligned_at(mi_heap_t *heap, size_t count, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__heap_html_gaa718bb226ec0546ba6d1b6cb32179f3a"><div class="ttname"><a href="group__heap.html#gaa718bb226ec0546ba6d1b6cb32179f3a">mi_heap_new</a></div><div class="ttdeci">mi_heap_t * mi_heap_new()</div><div class="ttdoc">Create a new heap that can be used for allocation.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gaa862aa8ed8d57d84cae41fc1022d71af"><div class="ttname"><a href="group__heap.html#gaa862aa8ed8d57d84cae41fc1022d71af">mi_heap_contains_block</a></div><div class="ttdeci">bool mi_heap_contains_block(mi_heap_t *heap, const void *p)</div><div class="ttdoc">v1,v2: Does a heap contain a pointer to a previously allocated block?</div></div> | |
| <div class="ttc" id="agroup__heap_html_gaab93abbc0624f570e2900f95cac18591"><div class="ttname"><a href="group__heap.html#gaab93abbc0624f570e2900f95cac18591">mi_heap_set_numa_affinity</a></div><div class="ttdeci">void mi_heap_set_numa_affinity(mi_heap_t *heap, int numa_node)</div><div class="ttdoc">v3: set NUMA affinity for a heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gab0f755c0b21c387fe8e9024200faa372"><div class="ttname"><a href="group__heap.html#gab0f755c0b21c387fe8e9024200faa372">mi_heap_mallocn</a></div><div class="ttdeci">void * mi_heap_mallocn(mi_heap_t *heap, size_t count, size_t size)</div><div class="ttdoc">Allocate count elements in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gab374e206c7034e0d899fb934e4f4a863"><div class="ttname"><a href="group__heap.html#gab374e206c7034e0d899fb934e4f4a863">mi_heap_malloc</a></div><div class="ttdeci">void * mi_heap_malloc(mi_heap_t *heap, size_t size)</div><div class="ttdoc">Allocate in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gabebc796399619d964d8db77aa835e8c1"><div class="ttname"><a href="group__heap.html#gabebc796399619d964d8db77aa835e8c1">mi_heap_zalloc</a></div><div class="ttdeci">void * mi_heap_zalloc(mi_heap_t *heap, size_t size)</div><div class="ttdoc">Allocate zero-initialized in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gac0098aaf231d3e9586c73136d5df95da"><div class="ttname"><a href="group__heap.html#gac0098aaf231d3e9586c73136d5df95da">mi_heap_calloc</a></div><div class="ttdeci">void * mi_heap_calloc(mi_heap_t *heap, size_t count, size_t size)</div><div class="ttdoc">Allocate count zero-initialized elements in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gac5252d6a2e510bd349e4fcb452e6a93a"><div class="ttname"><a href="group__heap.html#gac5252d6a2e510bd349e4fcb452e6a93a">mi_heap_realloc</a></div><div class="ttdeci">void * mi_heap_realloc(mi_heap_t *heap, void *p, size_t newsize)</div></div> | |
| <div class="ttc" id="agroup__heap_html_gac6ac9f0e7be9ab4ff70acfc8dad1235a"><div class="ttname"><a href="group__heap.html#gac6ac9f0e7be9ab4ff70acfc8dad1235a">mi_heap_get_backing</a></div><div class="ttdeci">mi_heap_t * mi_heap_get_backing()</div><div class="ttdoc">v1,v2: Get the backing heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gac988496aea8ffc5c8bf92a8b10165fa0"><div class="ttname"><a href="group__heap.html#gac988496aea8ffc5c8bf92a8b10165fa0">mi_heap_contains</a></div><div class="ttdeci">bool mi_heap_contains(const mi_heap_t *heap, const void *p)</div><div class="ttdoc">v3: does a heap contain a specific pointer?</div></div> | |
| <div class="ttc" id="agroup__heap_html_gacafcc26df827c7a7de5e850217566108"><div class="ttname"><a href="group__heap.html#gacafcc26df827c7a7de5e850217566108">mi_heap_calloc_aligned</a></div><div class="ttdeci">void * mi_heap_calloc_aligned(mi_heap_t *heap, size_t count, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__heap_html_gaccf7bfe10ce510a000d3547d9cf7fa29"><div class="ttname"><a href="group__heap.html#gaccf7bfe10ce510a000d3547d9cf7fa29">mi_heap_reallocn</a></div><div class="ttdeci">void * mi_heap_reallocn(mi_heap_t *heap, void *p, size_t count, size_t size)</div></div> | |
| <div class="ttc" id="agroup__heap_html_gaccf8c249872f30bf1c2493a09197d734"><div class="ttname"><a href="group__heap.html#gaccf8c249872f30bf1c2493a09197d734">mi_heap_realloc_aligned</a></div><div class="ttdeci">void * mi_heap_realloc_aligned(mi_heap_t *heap, void *p, size_t newsize, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__heap_html_gad224df78f1fbee942df8adf023e12cf3"><div class="ttname"><a href="group__heap.html#gad224df78f1fbee942df8adf023e12cf3">mi_heap_strndup</a></div><div class="ttdeci">char * mi_heap_strndup(mi_heap_t *heap, const char *s, size_t n)</div><div class="ttdoc">Duplicate a string of at most length n in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__heap_html_gae7cd171425bee04c683c65a3701f0b4a"><div class="ttname"><a href="group__heap.html#gae7cd171425bee04c683c65a3701f0b4a">mi_heap_reallocf</a></div><div class="ttdeci">void * mi_heap_reallocf(mi_heap_t *heap, void *p, size_t newsize)</div></div> | |
| <div class="ttc" id="agroup__heap_html_gae7ffc045c3996497a7f3a5f6fe7b8aaa"><div class="ttname"><a href="group__heap.html#gae7ffc045c3996497a7f3a5f6fe7b8aaa">mi_heap_malloc_aligned_at</a></div><div class="ttdeci">void * mi_heap_malloc_aligned_at(mi_heap_t *heap, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga0621af6a5e3aa384e6a1b548958bf583"><div class="ttname"><a href="group__malloc.html#ga0621af6a5e3aa384e6a1b548958bf583">mi_realloc</a></div><div class="ttdeci">void * mi_realloc(void *p, size_t newsize)</div><div class="ttdoc">Re-allocate memory to newsize bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga089c859d9eddc5f9b4bd946cd53cebee"><div class="ttname"><a href="group__malloc.html#ga089c859d9eddc5f9b4bd946cd53cebee">mi_usable_size</a></div><div class="ttdeci">size_t mi_usable_size(void *p)</div><div class="ttdoc">Return the available bytes in a memory block.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga19299856216cfbb08e2628593654dfb0"><div class="ttname"><a href="group__malloc.html#ga19299856216cfbb08e2628593654dfb0">mi_expand</a></div><div class="ttdeci">void * mi_expand(void *p, size_t newsize)</div><div class="ttdoc">Try to re-allocate memory to newsize bytes in place.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga245ac90ebc2cfdd17de599e5fea59889"><div class="ttname"><a href="group__malloc.html#ga245ac90ebc2cfdd17de599e5fea59889">mi_strdup</a></div><div class="ttdeci">char * mi_strdup(const char *s)</div><div class="ttdoc">Allocate and duplicate a string.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga486d0d26b3b3794f6d1cdb41a9aed92d"><div class="ttname"><a href="group__malloc.html#ga486d0d26b3b3794f6d1cdb41a9aed92d">mi_strndup</a></div><div class="ttdeci">char * mi_strndup(const char *s, size_t n)</div><div class="ttdoc">Allocate and duplicate a string up to n bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga4dc3a4067037b151a64629fe8a332641"><div class="ttname"><a href="group__malloc.html#ga4dc3a4067037b151a64629fe8a332641">mi_reallocf</a></div><div class="ttdeci">void * mi_reallocf(void *p, size_t newsize)</div><div class="ttdoc">Re-allocate memory to newsize bytes,.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga61f46bade3db76ca24aaafedc40de7b6"><div class="ttname"><a href="group__malloc.html#ga61f46bade3db76ca24aaafedc40de7b6">mi_mallocn</a></div><div class="ttdeci">void * mi_mallocn(size_t count, size_t size)</div><div class="ttdoc">Allocate count elements of size bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga6686568014b54d1e6c7ac64a076e4f56"><div class="ttname"><a href="group__malloc.html#ga6686568014b54d1e6c7ac64a076e4f56">mi_calloc</a></div><div class="ttdeci">void * mi_calloc(size_t count, size_t size)</div><div class="ttdoc">Allocate zero-initialized count elements of size bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga705dc7a64bffacfeeb0141501a5c35d7"><div class="ttname"><a href="group__malloc.html#ga705dc7a64bffacfeeb0141501a5c35d7">mi_cfree</a></div><div class="ttdeci">void mi_cfree(void *p)</div><div class="ttdoc">Checked free: just as mi_free() but always checks if the pointer p belongs to our heap.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga8bddfb4a1270a0854bbcf44cb3980467"><div class="ttname"><a href="group__malloc.html#ga8bddfb4a1270a0854bbcf44cb3980467">mi_reallocn</a></div><div class="ttdeci">void * mi_reallocn(void *p, size_t count, size_t size)</div><div class="ttdoc">Re-allocate memory to count elements of size bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_ga94c3afcc086e85d75a57e9f76b9b71dd"><div class="ttname"><a href="group__malloc.html#ga94c3afcc086e85d75a57e9f76b9b71dd">mi_realpath</a></div><div class="ttdeci">char * mi_realpath(const char *fname, char *resolved_name)</div><div class="ttdoc">Resolve a file path name.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_gac057927cd06c854b45fe7847e921bd47"><div class="ttname"><a href="group__malloc.html#gac057927cd06c854b45fe7847e921bd47">mi_good_size</a></div><div class="ttdeci">size_t mi_good_size(size_t size)</div><div class="ttdoc">Return the probable allocation block size for a given required size.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_gae1dd97b542420c87ae085e822b1229e8"><div class="ttname"><a href="group__malloc.html#gae1dd97b542420c87ae085e822b1229e8">mi_malloc</a></div><div class="ttdeci">void * mi_malloc(size_t size)</div><div class="ttdoc">Allocate size bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_gae6e38c4403247a7b40d80419e093bfb8"><div class="ttname"><a href="group__malloc.html#gae6e38c4403247a7b40d80419e093bfb8">mi_zalloc</a></div><div class="ttdeci">void * mi_zalloc(size_t size)</div><div class="ttdoc">Allocate zero-initialized size bytes.</div></div> | |
| <div class="ttc" id="agroup__malloc_html_gaf2c7b89c327d1f60f59e68b9ea644d95"><div class="ttname"><a href="group__malloc.html#gaf2c7b89c327d1f60f59e68b9ea644d95">mi_free</a></div><div class="ttdeci">void mi_free(void *p)</div><div class="ttdoc">Free previously allocated memory.</div></div> | |
| <div class="ttc" id="agroup__options_html_ga04180ae41b0d601421dd62ced40ca050"><div class="ttname"><a href="group__options.html#ga04180ae41b0d601421dd62ced40ca050">mi_option_enable</a></div><div class="ttdeci">void mi_option_enable(mi_option_t option)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga1dd50c7533baec4cc6c1a2e9adf05dd2"><div class="ttname"><a href="group__options.html#ga1dd50c7533baec4cc6c1a2e9adf05dd2">mi_options_print_out</a></div><div class="ttdeci">void mi_options_print_out(mi_output_fun *out, void *arg)</div><div class="ttdoc">Print out all process info.</div></div> | |
| <div class="ttc" id="agroup__options_html_ga274db5a6ac87cc24ef0b23e7006ed02c"><div class="ttname"><a href="group__options.html#ga274db5a6ac87cc24ef0b23e7006ed02c">mi_option_get_size</a></div><div class="ttdeci">size_t mi_option_get_size(mi_option_t option)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga459ad98f18b3fc9275474807fe0ca188"><div class="ttname"><a href="group__options.html#ga459ad98f18b3fc9275474807fe0ca188">mi_option_is_enabled</a></div><div class="ttdeci">bool mi_option_is_enabled(mi_option_t option)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga65518b69ec5d32336b50e07f74b3f629"><div class="ttname"><a href="group__options.html#ga65518b69ec5d32336b50e07f74b3f629">mi_option_set_enabled_default</a></div><div class="ttdeci">void mi_option_set_enabled_default(mi_option_t option, bool enable)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga7e8af195cc81d3fa64ccf2662caa565a"><div class="ttname"><a href="group__options.html#ga7e8af195cc81d3fa64ccf2662caa565a">mi_option_get</a></div><div class="ttdeci">long mi_option_get(mi_option_t option)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga7ef623e440e6e5545cb08c94e71e4b90"><div class="ttname"><a href="group__options.html#ga7ef623e440e6e5545cb08c94e71e4b90">mi_option_set_default</a></div><div class="ttdeci">void mi_option_set_default(mi_option_t option, long value)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga96ad9c406338bd314cfe878cfc9bf723"><div class="ttname"><a href="group__options.html#ga96ad9c406338bd314cfe878cfc9bf723">mi_option_get_clamp</a></div><div class="ttdeci">long mi_option_get_clamp(mi_option_t option, long min, long max)</div></div> | |
| <div class="ttc" id="agroup__options_html_ga9a13d05fcb77489cb06d4d017ebd8bed"><div class="ttname"><a href="group__options.html#ga9a13d05fcb77489cb06d4d017ebd8bed">mi_option_set_enabled</a></div><div class="ttdeci">void mi_option_set_enabled(mi_option_t option, bool enable)</div></div> | |
| <div class="ttc" id="agroup__options_html_gaebf6ff707a2e688ebb1a2296ca564054"><div class="ttname"><a href="group__options.html#gaebf6ff707a2e688ebb1a2296ca564054">mi_option_disable</a></div><div class="ttdeci">void mi_option_disable(mi_option_t option)</div></div> | |
| <div class="ttc" id="agroup__options_html_gaecfcd3ed90af99932670d881de1fa8f1"><div class="ttname"><a href="group__options.html#gaecfcd3ed90af99932670d881de1fa8f1">mi_options_print</a></div><div class="ttdeci">void mi_options_print(void)</div><div class="ttdoc">Print out all runtime parameters for mimalloc.</div></div> | |
| <div class="ttc" id="agroup__options_html_gaf84921c32375e25754dc2ee6a911fa60"><div class="ttname"><a href="group__options.html#gaf84921c32375e25754dc2ee6a911fa60">mi_option_set</a></div><div class="ttdeci">void mi_option_set(mi_option_t option, long value)</div></div> | |
| <div class="ttc" id="agroup__options_html_gafebf7ed116adb38ae5218bc3ce06884c"><div class="ttname"><a href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a></div><div class="ttdeci">mi_option_t</div><div class="ttdoc">Runtime options.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1300</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca00734c528aae52784654a8db996ae62b"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca00734c528aae52784654a8db996ae62b">mi_option_guarded_min</a></div><div class="ttdeci">@ mi_option_guarded_min</div><div class="ttdoc">only used when building with MI_GUARDED: minimal rounded object size for guarded objects (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1321</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9">mi_option_abandoned_reclaim_on_free</a></div><div class="ttdeci">@ mi_option_abandoned_reclaim_on_free</div><div class="ttdoc">v1,v2: allow to reclaim an abandoned segment on a free (=1)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1338</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487">mi_option_purge_extend_delay</a></div><div class="ttdeci">@ mi_option_purge_extend_delay</div><div class="ttdoc">v1,v2: extend purge delay on each subsequent delay (=1)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1339</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca04c45931ce2c82a20d08ca1471e74087"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca04c45931ce2c82a20d08ca1471e74087">mi_option_allow_thp</a></div><div class="ttdeci">@ mi_option_allow_thp</div><div class="ttdoc">allow transparent huge pages? (=1) (on Android =0 by default). Set to 0 to disable THP for the proces...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1318</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda">mi_option_show_stats</a></div><div class="ttdeci">@ mi_option_show_stats</div><div class="ttdoc">Print statistics on termination.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1303</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74">mi_option_use_numa_nodes</a></div><div class="ttdeci">@ mi_option_use_numa_nodes</div><div class="ttdoc">0 = use all available numa nodes, otherwise use at most N nodes.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1333</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca11a13739488294318ffc03eea378f5a4"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11a13739488294318ffc03eea378f5a4">mi_option_page_max_reclaim</a></div><div class="ttdeci">@ mi_option_page_max_reclaim</div><div class="ttdoc">v3: don't reclaim pages of the same originating theap if we already own N pages (in that size class) ...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1351</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca11e62ed69200a489a5be955582078c0c"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11e62ed69200a489a5be955582078c0c">mi_option_abandoned_page_purge</a></div><div class="ttdeci">@ mi_option_abandoned_page_purge</div><div class="ttdoc">v1,v2: immediately purge delayed purges on thread termination</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1331</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c">mi_option_eager_commit_delay</a></div><div class="ttdeci">@ mi_option_eager_commit_delay</div><div class="ttdoc">v2: the first N segments per thread are not eagerly committed (but per page in the segment on demand)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1329</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca1e8de72c93da7ff22d91e1e27b52ac2b"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1e8de72c93da7ff22d91e1e27b52ac2b">mi_option_eager_commit</a></div><div class="ttdeci">@ mi_option_eager_commit</div><div class="ttdoc">v1,v2: eager commit segments? (after eager_commit_delay segments) (enabled by default).</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1328</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca1eaf89bb1698f988cec27b66e546760c"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1eaf89bb1698f988cec27b66e546760c">mi_option_guarded_precise</a></div><div class="ttdeci">@ mi_option_guarded_precise</div><div class="ttdoc">disregard minimal alignment requirement to always place guarded blocks exactly in front of a guard pa...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1323</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e">mi_option_visit_abandoned</a></div><div class="ttdeci">@ mi_option_visit_abandoned</div><div class="ttdoc">allow visiting heap blocks from abandoned threads (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1341</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf">mi_option_os_tag</a></div><div class="ttdeci">@ mi_option_os_tag</div><div class="ttdoc">tag used for OS logging (macOS only for now) (=100)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1315</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca4dee58d60bc95ce0eeef759c61fd849b"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4dee58d60bc95ce0eeef759c61fd849b">mi_option_arena_max_object_size</a></div><div class="ttdeci">@ mi_option_arena_max_object_size</div><div class="ttdoc">v3: set maximal object size that can be allocated in an arena (in KiB) (=2GiB on 64-bit).</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1354</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca5635112095936356425d9a01910afff7"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5635112095936356425d9a01910afff7">mi_option_minimal_purge_size</a></div><div class="ttdeci">@ mi_option_minimal_purge_size</div><div class="ttdoc">v3: set minimal purge size (in KiB) (=0). By default set to either 64 or 2048 if THP is enabled....</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1353</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca5b4357b74be0d87568036c32eb1a2e4a"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5b4357b74be0d87568036c32eb1a2e4a">_mi_option_last</a></div><div class="ttdeci">@ _mi_option_last</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1356</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88">mi_option_destroy_on_exit</a></div><div class="ttdeci">@ mi_option_destroy_on_exit</div><div class="ttdoc">if set, release all memory on exit; sometimes used for dynamic unloading but can be unsafe</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1336</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca671e806447c15a53c7d593afdd8d45c5"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca671e806447c15a53c7d593afdd8d45c5">mi_option_page_cross_thread_max_reclaim</a></div><div class="ttdeci">@ mi_option_page_cross_thread_max_reclaim</div><div class="ttdoc">v3: don't reclaim pages across threads if we already own N pages (in that size class) (=16)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1352</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca679d9ee91221bffba4d5aafe488a8d7f"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca679d9ee91221bffba4d5aafe488a8d7f">mi_option_page_commit_on_demand</a></div><div class="ttdeci">@ mi_option_page_commit_on_demand</div><div class="ttdoc">v3: commit page memory on-demand (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1350</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca7b1e41ece69f9abbe5ba81d9ea7a3dc0"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7b1e41ece69f9abbe5ba81d9ea7a3dc0">mi_option_guarded_sample_seed</a></div><div class="ttdeci">@ mi_option_guarded_sample_seed</div><div class="ttdoc">can be set to allow for a (more) deterministic re-execution when a guard page is triggered (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1325</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca7c8b7bf5281c581bad64f5daa6442777"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7c8b7bf5281c581bad64f5daa6442777">mi_option_verbose</a></div><div class="ttdeci">@ mi_option_verbose</div><div class="ttdoc">Print verbose messages.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1304</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556">mi_option_allow_large_os_pages</a></div><div class="ttdeci">@ mi_option_allow_large_os_pages</div><div class="ttdoc">allow large (2 or 4 MiB) OS pages, implies eager commit.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1312</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e">mi_option_arena_purge_mult</a></div><div class="ttdeci">@ mi_option_arena_purge_mult</div><div class="ttdoc">multiplier for purge_delay for the purging delay for arenas (=10)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1337</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca874f36a7a1e51f7baee4a78b2830b643"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca874f36a7a1e51f7baee4a78b2830b643">mi_option_target_segments_per_thread</a></div><div class="ttdeci">@ mi_option_target_segments_per_thread</div><div class="ttdoc">v1,v2: experimental (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1342</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca8b5815a577955fe8125f2b964f41ee7f"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8b5815a577955fe8125f2b964f41ee7f">mi_option_generic_collect</a></div><div class="ttdeci">@ mi_option_generic_collect</div><div class="ttdoc">collect heaps every N (=10000) generic allocation calls</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1317</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e">mi_option_retry_on_oom</a></div><div class="ttdeci">@ mi_option_retry_on_oom</div><div class="ttdoc">retry on out-of-memory for N milli seconds (=400), set to 0 to disable retries. (only on windows)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1316</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca96077da4e5c841edeec0c4d6e45a5ffa"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca96077da4e5c841edeec0c4d6e45a5ffa">mi_option_guarded_max</a></div><div class="ttdeci">@ mi_option_guarded_max</div><div class="ttdoc">only used when building with MI_GUARDED: maximal rounded object size for guarded objects (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1322</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4">mi_option_purge_decommits</a></div><div class="ttdeci">@ mi_option_purge_decommits</div><div class="ttdoc">should a memory purge decommit? (=1). Set to 0 to use memory reset on a purge (instead of decommit)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1313</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c">mi_option_reserve_huge_os_pages_at</a></div><div class="ttdeci">@ mi_option_reserve_huge_os_pages_at</div><div class="ttdoc">Reserve N huge OS pages at a specific NUMA node N.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1310</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caa88f56e3bccce85542dc2b3297024236"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa88f56e3bccce85542dc2b3297024236">mi_option_pagemap_commit</a></div><div class="ttdeci">@ mi_option_pagemap_commit</div><div class="ttdoc">v3: commit the full pagemap (to always catch invalid pointer uses) (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1349</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909">mi_option_max_segment_reclaim</a></div><div class="ttdeci">@ mi_option_max_segment_reclaim</div><div class="ttdoc">v2: max. percentage of the abandoned segments can be reclaimed per try (=10%)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1335</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caabf8c9793d421ce28361b6d93c432de9"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caabf8c9793d421ce28361b6d93c432de9">mi_option_max_vabits</a></div><div class="ttdeci">@ mi_option_max_vabits</div><div class="ttdoc">v3: max user space virtual address bits to consider (=48)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1348</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de">mi_option_arena_reserve</a></div><div class="ttdeci">@ mi_option_arena_reserve</div><div class="ttdoc">initial memory size for arena reservation (= 1 GiB on 64-bit) (internally, this value is in KiB; use ...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1314</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cac16e3f838e861338fb2357b430f6974c"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cac16e3f838e861338fb2357b430f6974c">mi_option_page_reclaim_on_free</a></div><div class="ttdeci">@ mi_option_page_reclaim_on_free</div><div class="ttdoc">v3: reclaim abandoned pages on a free (=0). -1 disallowr always, 0 allows if the page originated from...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1345</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2">mi_option_reserve_huge_os_pages</a></div><div class="ttdeci">@ mi_option_reserve_huge_os_pages</div><div class="ttdoc">reserve N huge OS pages (1GiB pages) at startup</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1309</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cad13382757101aa4fbc4984fa0f917133"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cad13382757101aa4fbc4984fa0f917133">mi_option_page_max_candidates</a></div><div class="ttdeci">@ mi_option_page_max_candidates</div><div class="ttdoc">v3: max candidate pages to consider for allocation (=4)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1347</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6">mi_option_disallow_os_alloc</a></div><div class="ttdeci">@ mi_option_disallow_os_alloc</div><div class="ttdoc">1 = do not use OS memory for allocation (but only programmatically reserved arenas)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1334</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290">mi_option_purge_delay</a></div><div class="ttdeci">@ mi_option_purge_delay</div><div class="ttdoc">memory purging is delayed by N milli seconds; use 0 for immediate purging or -1 for no purging at all...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1332</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40">mi_option_disallow_arena_alloc</a></div><div class="ttdeci">@ mi_option_disallow_arena_alloc</div><div class="ttdoc">1 = do not use arena's for allocation (except if using specific arena id's)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1340</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caeb3c75b1a838eb42106750979d0888ec"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeb3c75b1a838eb42106750979d0888ec">mi_option_guarded_sample_rate</a></div><div class="ttdeci">@ mi_option_guarded_sample_rate</div><div class="ttdoc">1 out of N allocations in the min/max range will be guarded (=1000)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1324</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a">mi_option_max_errors</a></div><div class="ttdeci">@ mi_option_max_errors</div><div class="ttdoc">issue at most N error messages</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1305</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caeede7d0652e391940357e1c054d29829"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeede7d0652e391940357e1c054d29829">mi_option_page_full_retain</a></div><div class="ttdeci">@ mi_option_page_full_retain</div><div class="ttdoc">v3: retain N full (small) pages per size class (=2). Use -1 for infinite (as in v1,...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1346</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665">mi_option_max_warnings</a></div><div class="ttdeci">@ mi_option_max_warnings</div><div class="ttdoc">issue at most N warning messages</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1306</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cafbf4822e5c00732c5984b32a032837f0"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4822e5c00732c5984b32a032837f0">mi_option_show_errors</a></div><div class="ttdeci">@ mi_option_show_errors</div><div class="ttdoc">Print error messages.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1302</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333">mi_option_reserve_os_memory</a></div><div class="ttdeci">@ mi_option_reserve_os_memory</div><div class="ttdoc">reserve specified amount of OS memory in an arena at startup (internally, this value is in KiB; use m...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1311</div></div> | |
| <div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5">mi_option_arena_eager_commit</a></div><div class="ttdeci">@ mi_option_arena_eager_commit</div><div class="ttdoc">eager commit arenas? Use 2 to enable just on overcommit systems (=2)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1330</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga06d07cf357bbac5c73ba5d0c0c421e17"><div class="ttname"><a href="group__posix.html#ga06d07cf357bbac5c73ba5d0c0c421e17">mi_malloc_usable_size</a></div><div class="ttdeci">size_t mi_malloc_usable_size(const void *p)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga0d28d5cf61e6bfbb18c63092939fe5c9"><div class="ttname"><a href="group__posix.html#ga0d28d5cf61e6bfbb18c63092939fe5c9">mi_free_aligned</a></div><div class="ttdeci">void mi_free_aligned(void *p, size_t alignment)</div><div class="ttdoc">Free an object that was allocated aligned.</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga16570deddd559001b44953eedbad0084"><div class="ttname"><a href="group__posix.html#ga16570deddd559001b44953eedbad0084">mi_aligned_offset_recalloc</a></div><div class="ttdeci">void * mi_aligned_offset_recalloc(void *p, size_t newcount, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga430ed1513f0571ff83be00ec58a98ee0"><div class="ttname"><a href="group__posix.html#ga430ed1513f0571ff83be00ec58a98ee0">mi_aligned_alloc</a></div><div class="ttdeci">void * mi_aligned_alloc(size_t alignment, size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga4531c9e775bb3ae12db57c1ba8a5d7de"><div class="ttname"><a href="group__posix.html#ga4531c9e775bb3ae12db57c1ba8a5d7de">mi_malloc_size</a></div><div class="ttdeci">size_t mi_malloc_size(const void *p)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga50cafb9722020402f065de93799f64ca"><div class="ttname"><a href="group__posix.html#ga50cafb9722020402f065de93799f64ca">mi_valloc</a></div><div class="ttdeci">void * mi_valloc(size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga644bebccdbb2821542dd8c7e7641f476"><div class="ttname"><a href="group__posix.html#ga644bebccdbb2821542dd8c7e7641f476">mi_pvalloc</a></div><div class="ttdeci">void * mi_pvalloc(size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga66bcfeb4faedbb42b796bc680821ef84"><div class="ttname"><a href="group__posix.html#ga66bcfeb4faedbb42b796bc680821ef84">mi__expand</a></div><div class="ttdeci">void * mi__expand(void *p, size_t newsize)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga6ac6a6a8f3c96f1af24bb8d0439cbbd1"><div class="ttname"><a href="group__posix.html#ga6ac6a6a8f3c96f1af24bb8d0439cbbd1">mi_wdupenv_s</a></div><div class="ttdeci">int mi_wdupenv_s(unsigned short **buf, size_t *size, const unsigned short *name)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga726867f13fd29ca36064954c0285b1d8"><div class="ttname"><a href="group__posix.html#ga726867f13fd29ca36064954c0285b1d8">mi_memalign</a></div><div class="ttdeci">void * mi_memalign(size_t alignment, size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga72e9d7ffb5fe94d69bc722c8506e27bc"><div class="ttname"><a href="group__posix.html#ga72e9d7ffb5fe94d69bc722c8506e27bc">mi_free_size_aligned</a></div><div class="ttdeci">void mi_free_size_aligned(void *p, size_t size, size_t alignment)</div><div class="ttdoc">Free an object that was allocated aligned.</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga796602dae2a89797026f72e0c0240f32"><div class="ttname"><a href="group__posix.html#ga796602dae2a89797026f72e0c0240f32">mi_free_size_nonnull</a></div><div class="ttdeci">void mi_free_size_nonnull(void *p, size_t size)</div><div class="ttdoc">Free a non-NULL pointer that was allocated with a known size.</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga7b82a44094fdec4d2084eb4288a979b0"><div class="ttname"><a href="group__posix.html#ga7b82a44094fdec4d2084eb4288a979b0">mi_mbsdup</a></div><div class="ttdeci">unsigned char * mi_mbsdup(const unsigned char *s)</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga7e1934d60a3e697950eeb48e042bfad5"><div class="ttname"><a href="group__posix.html#ga7e1934d60a3e697950eeb48e042bfad5">mi_reallocarr</a></div><div class="ttdeci">int mi_reallocarr(void *p, size_t count, size_t size)</div><div class="ttdoc">Corresponds to reallocarr in NetBSD.</div></div> | |
| <div class="ttc" id="agroup__posix_html_ga9d23ac7885fed7413c11d8e0ffa31071"><div class="ttname"><a href="group__posix.html#ga9d23ac7885fed7413c11d8e0ffa31071">mi_malloc_good_size</a></div><div class="ttdeci">size_t mi_malloc_good_size(size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_gaa9fd7f25c9ac3a20e89b33bd6e383fcf"><div class="ttname"><a href="group__posix.html#gaa9fd7f25c9ac3a20e89b33bd6e383fcf">mi_wcsdup</a></div><div class="ttdeci">unsigned short * mi_wcsdup(const unsigned short *s)</div></div> | |
| <div class="ttc" id="agroup__posix_html_gab41369c1a1da7504013a7a0b1d4dd958"><div class="ttname"><a href="group__posix.html#gab41369c1a1da7504013a7a0b1d4dd958">mi_dupenv_s</a></div><div class="ttdeci">int mi_dupenv_s(char **buf, size_t *size, const char *name)</div></div> | |
| <div class="ttc" id="agroup__posix_html_gacff84f226ba9feb2031b8992e5579447"><div class="ttname"><a href="group__posix.html#gacff84f226ba9feb2031b8992e5579447">mi_posix_memalign</a></div><div class="ttdeci">int mi_posix_memalign(void **p, size_t alignment, size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_gad5a69c8fea96aa2b7a7c818c2130090a"><div class="ttname"><a href="group__posix.html#gad5a69c8fea96aa2b7a7c818c2130090a">mi__posix_memalign</a></div><div class="ttdeci">int mi__posix_memalign(void **p, size_t alignment, size_t size)</div></div> | |
| <div class="ttc" id="agroup__posix_html_gadfeccb72748a2f6305474a37d9d57bce"><div class="ttname"><a href="group__posix.html#gadfeccb72748a2f6305474a37d9d57bce">mi_reallocarray</a></div><div class="ttdeci">void * mi_reallocarray(void *p, size_t count, size_t size)</div><div class="ttdoc">Correspond s to reallocarray in FreeBSD.</div></div> | |
| <div class="ttc" id="agroup__posix_html_gae01389eedab8d67341ff52e2aad80ebb"><div class="ttname"><a href="group__posix.html#gae01389eedab8d67341ff52e2aad80ebb">mi_free_size</a></div><div class="ttdeci">void mi_free_size(void *p, size_t size)</div><div class="ttdoc">Free a block that was allocated with a known size.</div></div> | |
| <div class="ttc" id="agroup__posix_html_gaf82cbb4b4f24acf723348628451798d3"><div class="ttname"><a href="group__posix.html#gaf82cbb4b4f24acf723348628451798d3">mi_aligned_recalloc</a></div><div class="ttdeci">void * mi_aligned_recalloc(void *p, size_t newcount, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__stats_html_aa74fc9c40dfaef5e06dec4019c19de68"><div class="ttname"><a href="group__stats.html#aa74fc9c40dfaef5e06dec4019c19de68">mi_stats_s::version</a></div><div class="ttdeci">size_t version</div><div class="ttdoc">initialize with `MI_STAT_VERSION (so linking dynamically with a separately compiled mimalloc is safe)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1143</div></div> | |
| <div class="ttc" id="agroup__stats_html_ae41e0fff24b988d0a43c34040b04b887"><div class="ttname"><a href="group__stats.html#ae41e0fff24b988d0a43c34040b04b887">mi_stats_s::size</a></div><div class="ttdeci">size_t size</div><div class="ttdoc">initialize with sizeof(mi_stats_t) (so linking dynamically with a separately compiled mimalloc is saf...</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1141</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga03ac88d3efee2ae7c34f5340502f4732"><div class="ttname"><a href="group__stats.html#ga03ac88d3efee2ae7c34f5340502f4732">mi_process_info_print_out</a></div><div class="ttdeci">void mi_process_info_print_out(mi_output_fun *out, void *arg)</div><div class="ttdoc">Print out all process info.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga19f1a04bd972e11e4f3b586f25229d5b"><div class="ttname"><a href="group__stats.html#ga19f1a04bd972e11e4f3b586f25229d5b">mi_subproc_heap_stats_print_out</a></div><div class="ttdeci">void mi_subproc_heap_stats_print_out(mi_subproc_id_t subproc_id, mi_output_fun *out, void *arg)</div><div class="ttdoc">v3: Print statistics for a given subprocess with each heap separately printed.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga2654195cef93ed3613e98b59a19a296f"><div class="ttname"><a href="group__stats.html#ga2654195cef93ed3613e98b59a19a296f">mi_heap_stats_get</a></div><div class="ttdeci">bool mi_heap_stats_get(mi_heap_t *heap, mi_stats_t *stats)</div><div class="ttdoc">v3: Return statistics for a given heap.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga2d126e5c62d3badc35445e5d84166df2"><div class="ttname"><a href="group__stats.html#ga2d126e5c62d3badc35445e5d84166df2">mi_stats_print</a></div><div class="ttdeci">void mi_stats_print(void *out)</div><div class="ttdoc">Deprecated.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga3bb8468b8cfcc6e2a61d98aee85c5f99"><div class="ttname"><a href="group__stats.html#ga3bb8468b8cfcc6e2a61d98aee85c5f99">mi_stats_reset</a></div><div class="ttdeci">void mi_stats_reset(void)</div><div class="ttdoc">v1,v2: Reset statistics.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga537f13b299ddf801e49a5a94fde02c79"><div class="ttname"><a href="group__stats.html#ga537f13b299ddf801e49a5a94fde02c79">mi_stats_print_out</a></div><div class="ttdeci">void mi_stats_print_out(mi_output_fun *out, void *arg)</div><div class="ttdoc">Print statistics of the current subprocess aggregated over all its heaps.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga59ec89969837db414a6bce8b58915624"><div class="ttname"><a href="group__stats.html#ga59ec89969837db414a6bce8b58915624">mi_subproc_stats_print_out</a></div><div class="ttdeci">void mi_subproc_stats_print_out(mi_subproc_id_t subproc_id, mi_output_fun *out, void *arg)</div><div class="ttdoc">v3: Print the subproc statistics aggregated over all its heaps.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga5a34328f846c661aa560f4769cfc15f1"><div class="ttname"><a href="group__stats.html#ga5a34328f846c661aa560f4769cfc15f1">mi_heap_stats_merge_to_subproc</a></div><div class="ttdeci">void mi_heap_stats_merge_to_subproc(mi_heap_t *heap)</div><div class="ttdoc">v3: xplicitly merge the statistics of the current heap with the subprocess.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga5ec3f9058eec804924711ab38ba64b51"><div class="ttname"><a href="group__stats.html#ga5ec3f9058eec804924711ab38ba64b51">mi_subproc_stats_get</a></div><div class="ttdeci">bool mi_subproc_stats_get(mi_subproc_id_t subproc_id, mi_stats_t *stats)</div><div class="ttdoc">v3: Get statistics for a given subprocess aggregated over all its heaps.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga6ad266c70a0eabf6c26248aed1af6fa1"><div class="ttname"><a href="group__stats.html#ga6ad266c70a0eabf6c26248aed1af6fa1">mi_stats_as_json</a></div><div class="ttdeci">char * mi_stats_as_json(mi_stats_t *stats, size_t buf_size, char *buf)</div><div class="ttdoc">v3: Show the given statistics as JSON.</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga7d862c2affd5790381da14eb102a364d"><div class="ttname"><a href="group__stats.html#ga7d862c2affd5790381da14eb102a364d">mi_process_info</a></div><div class="ttdeci">void mi_process_info(size_t *elapsed_msecs, size_t *user_msecs, size_t *system_msecs, size_t *current_rss, size_t *peak_rss, size_t *current_commit, size_t *peak_commit, size_t *page_faults)</div><div class="ttdoc">Return process information (time and memory usage).</div></div> | |
| <div class="ttc" id="agroup__stats_html_ga854b1de8cb067c7316286c28b2fcd3d1"><div class="ttname"><a href="group__stats.html#ga854b1de8cb067c7316286c28b2fcd3d1">mi_stats_merge</a></div><div class="ttdeci">void mi_stats_merge(void)</div><div class="ttdoc">v1,v2: Merge thread local statistics with the main statistics and reset.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gaa26d5060ad21b1331a150bb92f6f7086"><div class="ttname"><a href="group__stats.html#gaa26d5060ad21b1331a150bb92f6f7086">mi_stats_get</a></div><div class="ttdeci">bool mi_stats_get(mi_stats_t *stats)</div><div class="ttdoc">Get the statistics for the current subprocess aggregated over all its heaps.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gacb42dede4c38c38f2014b5450c5fcba8"><div class="ttname"><a href="group__stats.html#gacb42dede4c38c38f2014b5450c5fcba8">mi_heap_stats_get_json</a></div><div class="ttdeci">char * mi_heap_stats_get_json(mi_heap_t *heap, size_t buf_size, char *buf)</div><div class="ttdoc">v3: Get the statistics for a heap as JSON.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gad1cf918f08b6506e65ae134423477a0b"><div class="ttname"><a href="group__stats.html#gad1cf918f08b6506e65ae134423477a0b">mi_subproc_stats_get_json</a></div><div class="ttdeci">char * mi_subproc_stats_get_json(mi_subproc_id_t subproc_id, size_t buf_size, char *buf)</div><div class="ttdoc">v3: Show the subproc statistics aggregated over all its heaps as JSON.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gadaa3be15899cc82e314fa7d3f8e2afbd"><div class="ttname"><a href="group__stats.html#gadaa3be15899cc82e314fa7d3f8e2afbd">mi_stats_get_json</a></div><div class="ttdeci">char * mi_stats_get_json(size_t buf_size, char *buf)</div><div class="ttdoc">Get the statistics for the current subprocess aggregated over all its heaps as JSON.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gadecd549d1a7216af596322ac27e78b0d"><div class="ttname"><a href="group__stats.html#gadecd549d1a7216af596322ac27e78b0d">mi_stats_get_bin_size</a></div><div class="ttdeci">size_t mi_stats_get_bin_size(size_t bin)</div><div class="ttdoc">v3: Return the block size for the given bin.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gaf887e7aa75f13242c4e7ab95d8390536"><div class="ttname"><a href="group__stats.html#gaf887e7aa75f13242c4e7ab95d8390536">mi_process_info_print</a></div><div class="ttdeci">void mi_process_info_print(void)</div><div class="ttdoc">Print out all process info.</div></div> | |
| <div class="ttc" id="agroup__stats_html_gafea365d7842f5f5bc1f235bbc303d585"><div class="ttname"><a href="group__stats.html#gafea365d7842f5f5bc1f235bbc303d585">mi_heap_stats_print_out</a></div><div class="ttdeci">void mi_heap_stats_print_out(mi_heap_t *heap, mi_output_fun *out, void *arg)</div><div class="ttdoc">v3: Show the heap statistics as JSON.</div></div> | |
| <div class="ttc" id="agroup__stats_html_structmi__stats__s"><div class="ttname"><a href="group__stats.html#structmi__stats__s">mi_stats_s</a></div><div class="ttdoc">Statistics. See include/mimalloc-stats.h for the full definition.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1139</div></div> | |
| <div class="ttc" id="agroup__subproc_html_ga2ecba0d7ebdc99e71bb985c4a1609806"><div class="ttname"><a href="group__subproc.html#ga2ecba0d7ebdc99e71bb985c4a1609806">mi_subproc_main</a></div><div class="ttdeci">mi_subproc_id_t mi_subproc_main(void)</div><div class="ttdoc">Get the main sub-process identifier.</div></div> | |
| <div class="ttc" id="agroup__subproc_html_ga7dcbc5863df9989b45e7051999448a4a"><div class="ttname"><a href="group__subproc.html#ga7dcbc5863df9989b45e7051999448a4a">mi_heap_visit_fun</a></div><div class="ttdeci">bool mi_heap_visit_fun(mi_heap_t *heap, void *arg)</div><div class="ttdoc">The type of a heap visitor function.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:930</div></div> | |
| <div class="ttc" id="agroup__subproc_html_ga8068cac328e41fa2170faef707315243"><div class="ttname"><a href="group__subproc.html#ga8068cac328e41fa2170faef707315243">mi_subproc_new</a></div><div class="ttdeci">mi_subproc_id_t mi_subproc_new(void)</div><div class="ttdoc">Create a fresh sub-process (with no associated threads yet).</div></div> | |
| <div class="ttc" id="agroup__subproc_html_ga8c0bcd1fee27c7641e9c3c0d991b3b7d"><div class="ttname"><a href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d">mi_subproc_id_t</a></div><div class="ttdeci">void * mi_subproc_id_t</div><div class="ttdoc">A process can associate threads with sub-processes.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:899</div></div> | |
| <div class="ttc" id="agroup__subproc_html_gaa7d263e9429bac9ac8345c9d25de610e"><div class="ttname"><a href="group__subproc.html#gaa7d263e9429bac9ac8345c9d25de610e">mi_subproc_delete</a></div><div class="ttdeci">void mi_subproc_delete(mi_subproc_id_t subproc)</div><div class="ttdoc">v1,v2: Delete a previously created sub-process.</div></div> | |
| <div class="ttc" id="agroup__subproc_html_gaabc4db6585bf16099e43e60d64364950"><div class="ttname"><a href="group__subproc.html#gaabc4db6585bf16099e43e60d64364950">mi_subproc_current</a></div><div class="ttdeci">mi_subproc_id_t mi_subproc_current(void)</div><div class="ttdoc">Get the current sub-process identifier of this thread.</div></div> | |
| <div class="ttc" id="agroup__subproc_html_gada12e4d9bd382935c398ec324d0391f9"><div class="ttname"><a href="group__subproc.html#gada12e4d9bd382935c398ec324d0391f9">mi_subproc_destroy</a></div><div class="ttdeci">void mi_subproc_destroy(mi_subproc_id_t subproc)</div><div class="ttdoc">v3: Destroy a previously created sub-process.</div></div> | |
| <div class="ttc" id="agroup__subproc_html_gadbc53414eb68b275588ec001ce1ddc7c"><div class="ttname"><a href="group__subproc.html#gadbc53414eb68b275588ec001ce1ddc7c">mi_subproc_add_current_thread</a></div><div class="ttdeci">void mi_subproc_add_current_thread(mi_subproc_id_t subproc)</div><div class="ttdoc">Add the current thread to the given sub-process.</div></div> | |
| <div class="ttc" id="agroup__subproc_html_gafd2136e7f167b5cd02b6ab00bed0ac93"><div class="ttname"><a href="group__subproc.html#gafd2136e7f167b5cd02b6ab00bed0ac93">mi_subproc_visit_heaps</a></div><div class="ttdeci">bool mi_subproc_visit_heaps(mi_subproc_id_t subproc, mi_heap_visit_fun *visitor, void *arg)</div><div class="ttdoc">Visit all heaps belonging to a subprocess.</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga04420ce52785019412397e4de24a984a"><div class="ttname"><a href="group__theap.html#ga04420ce52785019412397e4de24a984a">mi_theap_set_default</a></div><div class="ttdeci">mi_theap_t * mi_theap_set_default(mi_theap_t *theap)</div><div class="ttdoc">Set the default thread-local theap to use in the current thread for mi_malloc() et al.</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga11943128dc354313c4189e72f4299dbb"><div class="ttname"><a href="group__theap.html#ga11943128dc354313c4189e72f4299dbb">mi_theap_realloc</a></div><div class="ttdeci">void * mi_theap_realloc(mi_theap_t *theap, void *p, size_t newsize)</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga1fc65302a212daaecb21abda96ff247c"><div class="ttname"><a href="group__theap.html#ga1fc65302a212daaecb21abda96ff247c">mi_theap_malloc_small</a></div><div class="ttdeci">void * mi_theap_malloc_small(mi_theap_t *theap, size_t size)</div><div class="ttdoc">Allocate a small object in a specific theap.</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga78afbb07c1e0cd333c7539cf7403dfd5"><div class="ttname"><a href="group__theap.html#ga78afbb07c1e0cd333c7539cf7403dfd5">mi_theap_get_default</a></div><div class="ttdeci">mi_theap_t * mi_theap_get_default()</div><div class="ttdoc">Get the default theap that is used for mi_malloc() et al.</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga7905a73865733da8a43339a500533180"><div class="ttname"><a href="group__theap.html#ga7905a73865733da8a43339a500533180">mi_heap_theap</a></div><div class="ttdeci">mi_theap_t * mi_heap_theap(mi_heap_t *heap)</div><div class="ttdoc">Return the thread-local theap for the given heap.</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga84503fc2bd83fbfb7f789b7d80d76f36"><div class="ttname"><a href="group__theap.html#ga84503fc2bd83fbfb7f789b7d80d76f36">mi_theap_malloc_aligned</a></div><div class="ttdeci">void * mi_theap_malloc_aligned(mi_theap_t *theap, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga8722f6ac4f638b4692e06ddfddc844f8"><div class="ttname"><a href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a></div><div class="ttdeci">struct mi_theap_s mi_theap_t</div><div class="ttdoc">Type of thread-local heaps.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1392</div></div> | |
| <div class="ttc" id="agroup__theap_html_ga9377a43095b8dd14996613ceb73d9a32"><div class="ttname"><a href="group__theap.html#ga9377a43095b8dd14996613ceb73d9a32">mi_theap_collect</a></div><div class="ttdeci">void mi_theap_collect(mi_theap_t *theap, bool force)</div><div class="ttdoc">Release outstanding resources in a specific theap.</div></div> | |
| <div class="ttc" id="agroup__theap_html_gaa7fd973dcd8c75eb05707bdeffbc06f7"><div class="ttname"><a href="group__theap.html#gaa7fd973dcd8c75eb05707bdeffbc06f7">mi_theap_zalloc</a></div><div class="ttdeci">void * mi_theap_zalloc(mi_theap_t *theap, size_t size)</div><div class="ttdoc">Allocate zero-initialized in a specific heap.</div></div> | |
| <div class="ttc" id="agroup__theap_html_gaa85fccf9d40af3e826c5932aded1d534"><div class="ttname"><a href="group__theap.html#gaa85fccf9d40af3e826c5932aded1d534">mi_theap_zalloc_small</a></div><div class="ttdeci">void * mi_theap_zalloc_small(mi_theap_t *theap, size_t size)</div><div class="ttdoc">Allocate a small object in a specific theap.</div></div> | |
| <div class="ttc" id="agroup__theap_html_gac7308e029c59e6675dd5ab5ec54f304a"><div class="ttname"><a href="group__theap.html#gac7308e029c59e6675dd5ab5ec54f304a">mi_theap_malloc</a></div><div class="ttdeci">void * mi_theap_malloc(mi_theap_t *theap, size_t size)</div><div class="ttdoc">Allocate in a specific theap.</div></div> | |
| <div class="ttc" id="agroup__theap_html_gadbf8f27bfe9edf7834e19d32cab63edc"><div class="ttname"><a href="group__theap.html#gadbf8f27bfe9edf7834e19d32cab63edc">mi_theap_calloc</a></div><div class="ttdeci">void * mi_theap_calloc(mi_theap_t *theap, size_t count, size_t size)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga07b5bcbaf00d0d2e598c232982588496"><div class="ttname"><a href="group__zeroinit.html#ga07b5bcbaf00d0d2e598c232982588496">mi_heap_recalloc_aligned_at</a></div><div class="ttdeci">void * mi_heap_recalloc_aligned_at(mi_heap_t *heap, void *p, size_t newcount, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga23a0fbb452b5dce8e31fab1a1958cacc"><div class="ttname"><a href="group__zeroinit.html#ga23a0fbb452b5dce8e31fab1a1958cacc">mi_recalloc</a></div><div class="ttdeci">void * mi_recalloc(void *p, size_t count, size_t size)</div><div class="ttdoc">Re-allocate memory to count elements of size bytes, with extra memory initialized to zero.</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga2bafa79c3f98ea74882349d44cffa5d9"><div class="ttname"><a href="group__zeroinit.html#ga2bafa79c3f98ea74882349d44cffa5d9">mi_heap_rezalloc_aligned_at</a></div><div class="ttdeci">void * mi_heap_rezalloc_aligned_at(mi_heap_t *heap, void *p, size_t newsize, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga3e2169b48683aa0ab64f813fd68d839e"><div class="ttname"><a href="group__zeroinit.html#ga3e2169b48683aa0ab64f813fd68d839e">mi_recalloc_aligned</a></div><div class="ttdeci">void * mi_recalloc_aligned(void *p, size_t newcount, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga4d02404fe1e7db00beb65f185e012caa"><div class="ttname"><a href="group__zeroinit.html#ga4d02404fe1e7db00beb65f185e012caa">mi_rezalloc_aligned</a></div><div class="ttdeci">void * mi_rezalloc_aligned(void *p, size_t newsize, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga5129f6dc46ee1613d918820a8a0533a7"><div class="ttname"><a href="group__zeroinit.html#ga5129f6dc46ee1613d918820a8a0533a7">mi_heap_rezalloc_aligned</a></div><div class="ttdeci">void * mi_heap_rezalloc_aligned(mi_heap_t *heap, void *p, size_t newsize, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga6843a88285bbfcc3bdfccc60aafd1270"><div class="ttname"><a href="group__zeroinit.html#ga6843a88285bbfcc3bdfccc60aafd1270">mi_rezalloc_aligned_at</a></div><div class="ttdeci">void * mi_rezalloc_aligned_at(void *p, size_t newsize, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga87ddd674bf1c67237d780d0b9e0f0f32"><div class="ttname"><a href="group__zeroinit.html#ga87ddd674bf1c67237d780d0b9e0f0f32">mi_heap_recalloc_aligned</a></div><div class="ttdeci">void * mi_heap_recalloc_aligned(mi_heap_t *heap, void *p, size_t newcount, size_t size, size_t alignment)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_ga8d8b7ebb24b513cd84d1a696048da60d"><div class="ttname"><a href="group__zeroinit.html#ga8d8b7ebb24b513cd84d1a696048da60d">mi_heap_rezalloc</a></div><div class="ttdeci">void * mi_heap_rezalloc(mi_heap_t *heap, void *p, size_t newsize)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_gaae25e4ddedd4e0fb61b1a8bd5d452750"><div class="ttname"><a href="group__zeroinit.html#gaae25e4ddedd4e0fb61b1a8bd5d452750">mi_recalloc_aligned_at</a></div><div class="ttdeci">void * mi_recalloc_aligned_at(void *p, size_t newcount, size_t size, size_t alignment, size_t offset)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_gad1a0d325d930eeb80f25e3fea37aacde"><div class="ttname"><a href="group__zeroinit.html#gad1a0d325d930eeb80f25e3fea37aacde">mi_heap_recalloc</a></div><div class="ttdeci">void * mi_heap_recalloc(mi_heap_t *heap, void *p, size_t newcount, size_t size)</div></div> | |
| <div class="ttc" id="agroup__zeroinit_html_gadfd34cd7b4f2bbda7ae06367a6360756"><div class="ttname"><a href="group__zeroinit.html#gadfd34cd7b4f2bbda7ae06367a6360756">mi_rezalloc</a></div><div class="ttdeci">void * mi_rezalloc(void *p, size_t newsize)</div></div> | |
| </div><!-- fragment --></div><!-- contents --> | |
| </div><!-- doc-content --> | |
| </div><!-- container --> | |
| <!-- start footer part --> | |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> | |
| <ul> | |
| <li class="navelem"><b>mimalloc-doc.h</b></li> | |
| <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.18.0 </li> | |
| </ul> | |
| </div> | |
| </body> | |
| </html> |