<!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.6/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="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="group__malloc.html#gaf2c7b89c327d1f60f59e68b9ea644d95"> 144</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="l00145" name="l00145"></a><span class="lineno"> 145</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="group__malloc.html#ga705dc7a64bffacfeeb0141501a5c35d7"> 150</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="l00151" name="l00151"></a><span class="lineno"> 151</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="group__malloc.html#gae1dd97b542420c87ae085e822b1229e8"> 156</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="l00157" name="l00157"></a><span class="lineno"> 157</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="group__malloc.html#gae6e38c4403247a7b40d80419e093bfb8"> 162</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="l00163" name="l00163"></a><span class="lineno"> 163</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="group__malloc.html#ga6686568014b54d1e6c7ac64a076e4f56"> 173</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="l00174" name="l00174"></a><span class="lineno"> 174</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="group__malloc.html#ga0621af6a5e3aa384e6a1b548958bf583"> 188</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="l00189" name="l00189"></a><span class="lineno"> 189</span></div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="group__malloc.html#ga19299856216cfbb08e2628593654dfb0"> 203</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="l00204" name="l00204"></a><span class="lineno"> 204</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="group__malloc.html#ga61f46bade3db76ca24aaafedc40de7b6"> 214</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="l00215" name="l00215"></a><span class="lineno"> 215</span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="group__malloc.html#ga8bddfb4a1270a0854bbcf44cb3980467"> 225</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="l00226" name="l00226"></a><span class="lineno"> 226</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="group__malloc.html#ga4dc3a4067037b151a64629fe8a332641"> 243</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="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="group__malloc.html#ga245ac90ebc2cfdd17de599e5fea59889"> 254</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="l00255" name="l00255"></a><span class="lineno"> 255</span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"><a class="line" href="group__malloc.html#ga486d0d26b3b3794f6d1cdb41a9aed92d"> 265</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="l00266" name="l00266"></a><span class="lineno"> 266</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="group__malloc.html#ga94c3afcc086e85d75a57e9f76b9b71dd"> 279</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="l00280" name="l00280"></a><span class="lineno"> 280</span></div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="group__malloc.html#ga089c859d9eddc5f9b4bd946cd53cebee"> 294</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="l00295" name="l00295"></a><span class="lineno"> 295</span></div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="group__malloc.html#ga22252f0d9e380047d3684a6c99d330ae"> 306</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__malloc.html#ga22252f0d9e380047d3684a6c99d330ae">mi_thread_id_of</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span></div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"><a class="line" href="group__malloc.html#gac057927cd06c854b45fe7847e921bd47"> 317</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="l00318" name="l00318"></a><span class="lineno"> 318</span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> </div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> </div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span><span class="comment">// Allocation with block sizes</span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span></div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span></div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"><a class="line" href="group__sized.html#gada2639c52f265186a12429435739627b"> 336</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#gada2639c52f265186a12429435739627b">mi_umalloc</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span></div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"><a class="line" href="group__sized.html#ga30d62ba1eb4c207590b7d7be011c9d56"> 341</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#ga30d62ba1eb4c207590b7d7be011c9d56">mi_ucalloc</a>(<span class="keywordtype">size_t</span> count, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span></div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="group__sized.html#ga93fd303998578e6cb0914d79c25efd4f"> 347</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#ga93fd303998578e6cb0914d79c25efd4f">mi_urealloc</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> newsize, <span class="keywordtype">size_t</span>* block_size_pre, <span class="keywordtype">size_t</span>* block_size_post);</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="group__sized.html#ga2dfaf5d485ce83c7230ee6cb868f299e"> 351</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__sized.html#ga2dfaf5d485ce83c7230ee6cb868f299e">mi_ufree</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="group__sized.html#ga46f2c3c334f83cd933671a392934053f"> 354</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#ga46f2c3c334f83cd933671a392934053f">mi_umalloc_aligned</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="group__sized.html#ga822081073810a5e033b771625ab518ca"> 357</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#ga822081073810a5e033b771625ab518ca">mi_uzalloc_aligned</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> alignment, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span></div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"><a class="line" href="group__sized.html#ga7e82d9c99fa8feaee9f1306732fba15d"> 361</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#ga7e82d9c99fa8feaee9f1306732fba15d">mi_umalloc_small</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span></div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="group__sized.html#gafe63673cd80308a142b454ec023ca22e"> 365</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__sized.html#gafe63673cd80308a142b454ec023ca22e">mi_uzalloc_small</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span>* block_size);</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> </div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span><span class="comment">// Aligned allocation</span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span></div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="group__aligned.html#ga69578ff1a98ca16e1dcd02c0995cd65c"> 403</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="l00404" name="l00404"></a><span class="lineno"><a class="line" href="group__aligned.html#gaac7d0beb782f9b9ac31f47492b130f82"> 404</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="l00405" name="l00405"></a><span class="lineno"><a class="line" href="group__aligned.html#ga424ef386fb1f9f8e0a86ab53f16eaaf1"> 405</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="l00406" name="l00406"></a><span class="lineno"><a class="line" href="group__aligned.html#ga5d7a46d054b4d7abe9d8d2474add2edf"> 406</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="l00407" name="l00407"></a><span class="lineno"> 407</span></div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"><a class="line" href="group__aligned.html#ga2022f71b95a7cd6cce1b6e07752ae8ca"> 419</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="l00420" name="l00420"></a><span class="lineno"><a class="line" href="group__aligned.html#ga7c1778805ce50ebbf02ccbd5e39d5dba"> 420</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="l00421" name="l00421"></a><span class="lineno"><a class="line" href="group__aligned.html#ga977f96bd2c5c141bcd70e6685c90d6c3"> 421</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="l00422" name="l00422"></a><span class="lineno"><a class="line" href="group__aligned.html#gad06dcf2bb8faadb2c8ea61ee5d24bbf6"> 422</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="l00423" name="l00423"></a><span class="lineno"> 423</span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span></div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"><a class="line" href="group__typed.html#ga0619a62c5fd886f1016030abe91f0557"> 450</a></span><span class="preprocessor">#define mi_malloc_tp(tp) ((tp*)mi_malloc_csize(sizeof(tp)))</span></div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="group__typed.html#gafc80000c300f02bdd4fe695eb53ca70a"> 458</a></span><span class="preprocessor">#define mi_free_tp(tp,p) (mi_free_csize(p,sizeof(tp)))</span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span></div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"><a class="line" href="group__typed.html#gac77a61bdaf680a803785fe307820b48c"> 461</a></span><span class="preprocessor">#define mi_zalloc_tp(tp) ((tp*)mi_zalloc_csize(sizeof(tp)))</span></div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="group__typed.html#gae80c47c9d4cab10961fff1a8ac98fc07"> 464</a></span><span class="preprocessor">#define mi_calloc_tp(tp,count) ((tp*)mi_calloc(count,sizeof(tp)))</span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"> 465</span></div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="group__typed.html#gae5cb6e0fafc9f23169c5622e077afe8b"> 467</a></span><span class="preprocessor">#define mi_mallocn_tp(tp,count) ((tp*)mi_mallocn(count,sizeof(tp)))</span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span></div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"><a class="line" href="group__typed.html#ga1158b49a55dfa81f58a4426a7578f523"> 470</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="l00471" name="l00471"></a><span class="lineno"> 471</span></div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"><a class="line" href="group__typed.html#ga02d3e85bf26aa3120132f2552c408a88"> 473</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="l00474" name="l00474"></a><span class="lineno"> 474</span></div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"><a class="line" href="group__typed.html#ga0aaa1aa747d8863e844c37e424ed096c"> 476</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="l00477" name="l00477"></a><span class="lineno"> 477</span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"><a class="line" href="group__typed.html#ga953f22101bb354a8b6de2a6d6fda9b98"> 479</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="l00480" name="l00480"></a><span class="lineno"> 480</span></div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"><a class="line" href="group__typed.html#gaa58690658cc6f5dd54c99a9971d4aa7d"> 482</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="l00483" name="l00483"></a><span class="lineno"> 483</span></div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"><a class="line" href="group__typed.html#ga817e315c24133294caad4d50470ff313"> 485</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="l00486" name="l00486"></a><span class="lineno"> 486</span></div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="group__typed.html#ga7bf06ad296e20d1d74c90d64294eecec"> 488</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="l00489" name="l00489"></a><span class="lineno"> 489</span></div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span></div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span></div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga9cd44d925d34f7180922e12bbf594571"> 511</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="l00512" name="l00512"></a><span class="lineno"> 512</span> </div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"><a class="line" href="group__constantsize.html#gadca6d340ee15b5c70695ed82d95c6cec"> 513</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="l00514" name="l00514"></a><span class="lineno"> 514</span> </div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga105bd667da91a15d113fe79be04d625c"> 515</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="l00516" name="l00516"></a><span class="lineno"> 516</span> </div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga1addf755829380581dd9c3c9175e376f"> 517</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="l00518" name="l00518"></a><span class="lineno"> 518</span></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga7a421e302074e598527c3eb052a6a3c5"> 525</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="l00526" name="l00526"></a><span class="lineno"> 526</span></div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga38a93d373a9dc8edc8bca83edb6af5c5"> 533</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="l00534" name="l00534"></a><span class="lineno"> 534</span></div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"><a class="line" href="group__constantsize.html#ga6fb968bb46f18f107d8d933e44964b10"> 538</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__constantsize.html#ga6fb968bb46f18f107d8d933e44964b10">mi_free_csize_aligned</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> aligned);</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span></div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"><a class="line" href="group__constantsize.html#gaf6715d45503bba655a4e7407bf8e0f92"> 541</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__constantsize.html#gaf6715d45503bba655a4e7407bf8e0f92">mi_free_csize_aligned_nonnull</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> aligned);</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span></div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span></div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span></div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga23a0fbb452b5dce8e31fab1a1958cacc"> 565</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="l00566" name="l00566"></a><span class="lineno"> 566</span> </div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"><a class="line" href="group__zeroinit.html#gadfd34cd7b4f2bbda7ae06367a6360756"> 567</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="l00568" name="l00568"></a><span class="lineno"> 568</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="l00569" name="l00569"></a><span class="lineno"> 569</span> </div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga4d02404fe1e7db00beb65f185e012caa"> 570</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="l00571" name="l00571"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga6843a88285bbfcc3bdfccc60aafd1270"> 571</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="l00572" name="l00572"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga3e2169b48683aa0ab64f813fd68d839e"> 572</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="l00573" name="l00573"></a><span class="lineno"><a class="line" href="group__zeroinit.html#gaae25e4ddedd4e0fb61b1a8bd5d452750"> 573</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="l00574" name="l00574"></a><span class="lineno"> 574</span> </div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga8d8b7ebb24b513cd84d1a696048da60d"> 575</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="l00576" name="l00576"></a><span class="lineno"><a class="line" href="group__zeroinit.html#gad1a0d325d930eeb80f25e3fea37aacde"> 576</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="l00577" name="l00577"></a><span class="lineno"> 577</span> </div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga5129f6dc46ee1613d918820a8a0533a7"> 578</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="l00579" name="l00579"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga2bafa79c3f98ea74882349d44cffa5d9"> 579</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="l00580" name="l00580"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga87ddd674bf1c67237d780d0b9e0f0f32"> 580</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="l00581" name="l00581"></a><span class="lineno"><a class="line" href="group__zeroinit.html#ga07b5bcbaf00d0d2e598c232982588496"> 581</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="l00582" name="l00582"></a><span class="lineno"> 582</span></div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> </div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span></div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span></div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span><span class="keyword">struct </span>mi_heap_s;</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span></div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"><a class="line" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2"> 620</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="l00621" name="l00621"></a><span class="lineno"> 621</span></div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"><a class="line" href="group__heap.html#gaa718bb226ec0546ba6d1b6cb32179f3a"> 623</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="l00624" name="l00624"></a><span class="lineno"> 624</span></div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"><a class="line" href="group__heap.html#ga2ab1af8d438819b55319c7ef51d1e409"> 639</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="l00640" name="l00640"></a><span class="lineno"> 640</span></div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"><a class="line" href="group__heap.html#ga5774713972f49144861270241f458864"> 655</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__heap.html#ga5774713972f49144861270241f458864">mi_thread_heap_release</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span></div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"><a class="line" href="group__heap.html#ga9f9c0844edb9717f4feacd79116b8e0d"> 670</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="l00671" name="l00671"></a><span class="lineno"> 671</span></div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="group__heap.html#ga349b677dec7da5eacdbc7a385bd62a4a"> 676</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="l00677" name="l00677"></a><span class="lineno"> 677</span></div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"><a class="line" href="group__heap.html#ga14c667a6e2c5d28762d8cb7d4e057909"> 681</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="l00682" name="l00682"></a><span class="lineno"> 682</span></div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"><a class="line" href="group__heap.html#gac6ac9f0e7be9ab4ff70acfc8dad1235a"> 689</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="l00690" name="l00690"></a><span class="lineno"> 690</span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"><a class="line" href="group__heap.html#gaab93abbc0624f570e2900f95cac18591"> 694</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="l00695" name="l00695"></a><span class="lineno"> 695</span></div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"><a class="line" href="group__heap.html#ga3309f6db82d14343dd84d9d71ec93e64"> 698</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__heap.html#ga3309f6db82d14343dd84d9d71ec93e64">mi_heap_set_debug_fill_preserve</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <span class="keywordtype">size_t</span> preserve);</div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"> 699</span></div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"><a class="line" href="group__heap.html#ga8fc318a65dc79ee8778c6a0e52d12477"> 705</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="l00706" name="l00706"></a><span class="lineno"> 706</span></div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"><a class="line" href="group__heap.html#ga424b69f285109b2515631d59f5eecb1b"> 712</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="l00713" name="l00713"></a><span class="lineno"> 713</span></div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"><a class="line" href="group__heap.html#gac988496aea8ffc5c8bf92a8b10165fa0"> 718</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="l00719" name="l00719"></a><span class="lineno"> 719</span></div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"><a class="line" href="group__heap.html#ga29589f427702a1b873de8efb884a611b"> 723</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="l00724" name="l00724"></a><span class="lineno"> 724</span> </div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span></div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"><a class="line" href="group__heap.html#ga5f071b10d4df1c3658e04e7fd67a94e6"> 731</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="l00732" name="l00732"></a><span class="lineno"> 732</span></div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"><a class="line" href="group__heap.html#ga628c237489c2679af84a4d0d143b3dd5"> 738</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="l00739" name="l00739"></a><span class="lineno"> 739</span></div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno"><a class="line" href="group__heap.html#gaa862aa8ed8d57d84cae41fc1022d71af"> 746</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="l00747" name="l00747"></a><span class="lineno"> 747</span></div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"><a class="line" href="group__heap.html#ga0d67c1789faaa15ff366c024fcaf6377"> 754</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="l00755" name="l00755"></a><span class="lineno"> 755</span></div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno"><a class="line" href="group__heap.html#ga7922f7495cde30b1984d0e6072419298"> 757</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="l00758" name="l00758"></a><span class="lineno"> 758</span></div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"><a class="line" href="group__heap.html#gab374e206c7034e0d899fb934e4f4a863"> 761</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="l00762" name="l00762"></a><span class="lineno"> 762</span></div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno"><a class="line" href="group__heap.html#ga012c5c8abe22b10043de39ff95909541"> 766</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="l00767" name="l00767"></a><span class="lineno"> 767</span></div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"><a class="line" href="group__heap.html#gabebc796399619d964d8db77aa835e8c1"> 770</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="l00771" name="l00771"></a><span class="lineno"> 771</span></div>
<div class="line"><a id="l00775" name="l00775"></a><span class="lineno"><a class="line" href="group__heap.html#ga0994f44cc595f9c1840a9af162d98597"> 775</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="l00776" name="l00776"></a><span class="lineno"> 776</span></div>
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"><a class="line" href="group__heap.html#gac0098aaf231d3e9586c73136d5df95da"> 779</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="l00780" name="l00780"></a><span class="lineno"> 780</span></div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"><a class="line" href="group__heap.html#gab0f755c0b21c387fe8e9024200faa372"> 783</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="l00784" name="l00784"></a><span class="lineno"> 784</span></div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"><a class="line" href="group__heap.html#ga5754e09ccc51dd6bc73885bb6ea21b7a"> 787</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="l00788" name="l00788"></a><span class="lineno"> 788</span></div>
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno"><a class="line" href="group__heap.html#gad224df78f1fbee942df8adf023e12cf3"> 791</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="l00792" name="l00792"></a><span class="lineno"> 792</span></div>
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno"><a class="line" href="group__heap.html#ga55545a3ec6da29c5b4f62e540ecac1e2"> 795</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="l00796" name="l00796"></a><span class="lineno"> 796</span> </div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"><a class="line" href="group__heap.html#gac5252d6a2e510bd349e4fcb452e6a93a"> 797</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="l00798" name="l00798"></a><span class="lineno"><a class="line" href="group__heap.html#gaccf7bfe10ce510a000d3547d9cf7fa29"> 798</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="l00799" name="l00799"></a><span class="lineno"><a class="line" href="group__heap.html#gae7cd171425bee04c683c65a3701f0b4a"> 799</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="l00800" name="l00800"></a><span class="lineno"> 800</span> </div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno"><a class="line" href="group__heap.html#ga33f4f05b7fea7af2113c62a4bf882cc5"> 801</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="l00802" name="l00802"></a><span class="lineno"><a class="line" href="group__heap.html#gae7ffc045c3996497a7f3a5f6fe7b8aaa"> 802</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="l00803" name="l00803"></a><span class="lineno"><a class="line" href="group__heap.html#ga6466bde8b5712aa34e081a8317f9f471"> 803</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="l00804" name="l00804"></a><span class="lineno"><a class="line" href="group__heap.html#ga484e3d01cd174f78c7e53370e5a7c819"> 804</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="l00805" name="l00805"></a><span class="lineno"><a class="line" href="group__heap.html#gacafcc26df827c7a7de5e850217566108"> 805</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="l00806" name="l00806"></a><span class="lineno"><a class="line" href="group__heap.html#gaa42ec2079989c4374f2c331d9b35f4e4"> 806</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="l00807" name="l00807"></a><span class="lineno"><a class="line" href="group__heap.html#gaccf8c249872f30bf1c2493a09197d734"> 807</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="l00808" name="l00808"></a><span class="lineno"><a class="line" href="group__heap.html#ga6df988a7219d5707f010d5f3eb0dc3f5"> 808</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="l00809" name="l00809"></a><span class="lineno"> 809</span></div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno"> 811</span> </div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno"> 812</span> </div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"> 813</span></div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno"> 818</span> </div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno"> 819</span></div>
<div class="foldopen" id="foldopen00822" data-start="{" data-end="};">
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="group__analysis.html"> 822</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>mi_heap_area_s {</div>
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno"><a class="line" href="group__analysis.html#ae0085e6e1cf059a4eb7767e30e9991b8"> 823</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="l00824" name="l00824"></a><span class="lineno"><a class="line" href="group__analysis.html#ae848a3e6840414891035423948ca0383"> 824</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="l00825" name="l00825"></a><span class="lineno"><a class="line" href="group__analysis.html#ab47526df656d8837ec3e97f11b83f835"> 825</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="l00826" name="l00826"></a><span class="lineno"><a class="line" href="group__analysis.html#ab820302c5cd0df133eb8e51650a008b4"> 826</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="l00827" name="l00827"></a><span class="lineno"><a class="line" href="group__analysis.html#a332a6c14d736a99699d5453a1cb04b41"> 827</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="l00828" name="l00828"></a><span class="lineno"><a class="line" href="group__analysis.html#ab53664e31d7fe2564f8d42041ef75cb3"> 828</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="l00829" name="l00829"></a><span class="lineno"><a class="line" href="group__analysis.html#a2b7a0c92ece8daf46b558efc990ebdc1"> 829</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="l00830" name="l00830"></a><span class="lineno"> 830</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="l00831" name="l00831"></a><span class="lineno"> 831</span></div>
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno"><a class="line" href="group__analysis.html#ga8255dc9371e6b299d9802a610c4e34ec"> 839</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="l00840" name="l00840"></a><span class="lineno"> 840</span></div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"><a class="line" href="group__analysis.html#gae69fcff3324f8e419af850e34cf54c46"> 857</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="l00858" name="l00858"></a><span class="lineno"> 858</span></div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"><a class="line" href="group__analysis.html#ga9de0049491f636b8edc3d0bae0f194de"> 862</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__analysis.html#ga9de0049491f636b8edc3d0bae0f194de">mi_heap_visit_abandoned_blocks</a>(<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="l00863" name="l00863"></a><span class="lineno"> 863</span></div>
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"><a class="line" href="group__analysis.html#ga5c759c77e81e6beb69f32431f87111d0"> 867</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__analysis.html#ga5c759c77e81e6beb69f32431f87111d0">mi_unsafe_heap_page_is_under_utilized</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> perc_threshold);</div>
<div class="line"><a id="l00868" name="l00868"></a><span class="lineno"> 868</span></div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno"><a class="line" href="group__analysis.html#ga6a4865a887b2ec5247854af61562503c"> 884</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="l00885" name="l00885"></a><span class="lineno"> 885</span></div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno"> 887</span> </div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno"> 888</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"> 889</span><span class="comment">// Arenas</span></div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"> 890</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"> 891</span></div>
<div class="line"><a id="l00899" name="l00899"></a><span class="lineno"> 899</span></div>
<div class="line"><a id="l00901" name="l00901"></a><span class="lineno"><a class="line" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3"> 901</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="l00902" name="l00902"></a><span class="lineno"> 902</span></div>
<div class="line"><a id="l00911" name="l00911"></a><span class="lineno"><a class="line" href="group__arenas.html#ga00ec3324b6b2591c7fe3677baa30a767"> 911</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="l00912" name="l00912"></a><span class="lineno"> 912</span></div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"><a class="line" href="group__arenas.html#ga32f519797fd9a81acb4f52d36e6d751b"> 920</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="l00921" name="l00921"></a><span class="lineno"> 921</span></div>
<div class="line"><a id="l00934" name="l00934"></a><span class="lineno"><a class="line" href="group__arenas.html#ga3132f521fb756fc0e8ec0b74fb58df50"> 934</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="l00935" name="l00935"></a><span class="lineno"> 935</span></div>
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno"><a class="line" href="group__arenas.html#ga7795a13d20087447281858d2c771cca1"> 948</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="l00949" name="l00949"></a><span class="lineno"> 949</span></div>
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno"><a class="line" href="group__arenas.html#ga2664f36a2dd557741c429cb799f04641"> 954</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__arenas.html#ga2664f36a2dd557741c429cb799f04641">mi_reserve_huge_os_pages</a>(<span class="keywordtype">size_t</span> pages, <span class="keywordtype">double</span> max_secs, <span class="keywordtype">size_t</span>* pages_reserved);</div>
<div class="line"><a id="l00955" name="l00955"></a><span class="lineno"> 955</span></div>
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno"><a class="line" href="group__arenas.html#ga591aab1c2bc2ca920e33f0f9f9cb5c52"> 963</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="l00964" name="l00964"></a><span class="lineno"> 964</span></div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno"><a class="line" href="group__arenas.html#gaa1a59464dbf3bc972d34fca0f86668fc"> 967</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="l00968" name="l00968"></a><span class="lineno"> 968</span></div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno"><a class="line" href="group__arenas.html#ga79da188fa77f8d05627007268b90b24e"> 971</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__arenas.html#ga79da188fa77f8d05627007268b90b24e">mi_arena_min_size</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"> 972</span></div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno"><a class="line" href="group__arenas.html#ga4e1559c360fd1016c718d553d87e1545"> 975</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__arenas.html#ga4e1559c360fd1016c718d553d87e1545">mi_arena_max_object_size</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="l00988" name="l00988"></a><span class="lineno"><a class="line" href="group__arenas.html#ga4c6486a1fdcd7a423b5f25fe4be8e0cf"> 988</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="l00989" name="l00989"></a><span class="lineno"> 989</span></div>
<div class="line"><a id="l01000" name="l01000"></a><span class="lineno"><a class="line" href="group__arenas.html#ga41ce8525d77bbb60f618fa1029994f6e"> 1000</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="l01001" name="l01001"></a><span class="lineno"> 1001</span></div>
<div class="line"><a id="l01007" name="l01007"></a><span class="lineno"><a class="line" href="group__arenas.html#gacc741d08d7075ff38bb222962769bea7"> 1007</a></span><span class="keyword">typedef</span> bool (<a class="code hl_typedef" href="group__arenas.html#gacc741d08d7075ff38bb222962769bea7">mi_commit_fun_t</a>)(<span class="keywordtype">bool</span> commit, <span class="keywordtype">void</span>* start, <span class="keywordtype">size_t</span> size, <span class="keywordtype">bool</span>* is_zero, <span class="keywordtype">void</span>* user_arg);</div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span></div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"><a class="line" href="group__arenas.html#ga57cd6a0b6b289b862eb3371e99dc13b5"> 1014</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__arenas.html#ga57cd6a0b6b289b862eb3371e99dc13b5">mi_manage_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_pinned, <span class="keywordtype">bool</span> is_zero, <span class="keywordtype">int</span> numa_node, <span class="keywordtype">bool</span> exclusive,</div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"> 1015</span> <a class="code hl_typedef" href="group__arenas.html#gacc741d08d7075ff38bb222962769bea7">mi_commit_fun_t</a>* commit_fun, <span class="keywordtype">void</span>* commit_fun_arg, <a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a>* arena_id);</div>
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"> 1016</span> </div>
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"> 1017</span></div>
<div class="line"><a id="l01019" name="l01019"></a><span class="lineno"><a class="line" href="group__arenas.html#ga98cda17aa7adeda8b213382af8e7810b"> 1019</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="l01020" name="l01020"></a><span class="lineno"> 1020</span></div>
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"><a class="line" href="group__arenas.html#ga2150843a8548920d956a6eed1fe73ca4"> 1022</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__arenas.html#ga2150843a8548920d956a6eed1fe73ca4">mi_arenas_print</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</span></div>
<div class="line"><a id="l01026" name="l01026"></a><span class="lineno"><a class="line" href="group__arenas.html#ga575c77780b8de4e0b6eda65bbf1593e8"> 1026</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__arenas.html#ga575c77780b8de4e0b6eda65bbf1593e8">mi_arenas_purge</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l01027" name="l01027"></a><span class="lineno"> 1027</span></div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"><a class="line" href="group__arenas.html#ga9a25a00a22151619a0be91a10af7787f"> 1032</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="l01033" name="l01033"></a><span class="lineno"> 1033</span></div>
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"><a class="line" href="group__arenas.html#ga21037f1b7c250e623b5238a77e2d6905"> 1036</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__arenas.html#ga21037f1b7c250e623b5238a77e2d6905">mi_arena_contains</a>(<a class="code hl_typedef" href="group__arenas.html#ga99fe38650d0b02e0e0f89ee024db91d3">mi_arena_id_t</a> arena_id, <span class="keyword">const</span> <span class="keywordtype">void</span>* p);</div>
<div class="line"><a id="l01037" name="l01037"></a><span class="lineno"> 1037</span></div>
<div class="line"><a id="l01041" name="l01041"></a><span class="lineno"><a class="line" href="group__arenas.html#gaaf2d9976576d5efd5544be12848af949"> 1041</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="l01042" name="l01042"></a><span class="lineno"> 1042</span></div>
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"><a class="line" href="group__arenas.html#ga3ae360583f4351aa5267ee7e43008faf"> 1054</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="l01055" name="l01055"></a><span class="lineno"> 1055</span></div>
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span> </div>
<div class="line"><a id="l01058" name="l01058"></a><span class="lineno"> 1058</span></div>
<div class="line"><a id="l01067" name="l01067"></a><span class="lineno"> 1067</span></div>
<div class="line"><a id="l01072" name="l01072"></a><span class="lineno"><a class="line" href="group__subproc.html#ga8c0bcd1fee27c7641e9c3c0d991b3b7d"> 1072</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="l01073" name="l01073"></a><span class="lineno"> 1073</span></div>
<div class="line"><a id="l01075" name="l01075"></a><span class="lineno"><a class="line" href="group__subproc.html#ga2ecba0d7ebdc99e71bb985c4a1609806"> 1075</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="l01076" name="l01076"></a><span class="lineno"> 1076</span></div>
<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"><a class="line" href="group__subproc.html#gaabc4db6585bf16099e43e60d64364950"> 1078</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="l01079" name="l01079"></a><span class="lineno"> 1079</span></div>
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"><a class="line" href="group__subproc.html#ga8068cac328e41fa2170faef707315243"> 1082</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="l01083" name="l01083"></a><span class="lineno"> 1083</span></div>
<div class="line"><a id="l01087" name="l01087"></a><span class="lineno"><a class="line" href="group__subproc.html#gada12e4d9bd382935c398ec324d0391f9"> 1087</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="l01088" name="l01088"></a><span class="lineno"> 1088</span></div>
<div class="line"><a id="l01093" name="l01093"></a><span class="lineno"><a class="line" href="group__subproc.html#gaa7d263e9429bac9ac8345c9d25de610e"> 1093</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="l01094" name="l01094"></a><span class="lineno"> 1094</span></div>
<div class="line"><a id="l01098" name="l01098"></a><span class="lineno"><a class="line" href="group__subproc.html#gadbc53414eb68b275588ec001ce1ddc7c"> 1098</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="l01099" name="l01099"></a><span class="lineno"> 1099</span></div>
<div class="line"><a id="l01103" name="l01103"></a><span class="lineno"><a class="line" href="group__subproc.html#ga7dcbc5863df9989b45e7051999448a4a"> 1103</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="l01104" name="l01104"></a><span class="lineno"> 1104</span></div>
<div class="line"><a id="l01110" name="l01110"></a><span class="lineno"><a class="line" href="group__subproc.html#gafd2136e7f167b5cd02b6ab00bed0ac93"> 1110</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="l01111" name="l01111"></a><span class="lineno"> 1111</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><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"> 1116</span><span class="comment">// Extended functionality</span></div>
<div class="line"><a id="l01117" name="l01117"></a><span class="lineno"> 1117</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01118" name="l01118"></a><span class="lineno"> 1118</span></div>
<div class="line"><a id="l01123" name="l01123"></a><span class="lineno"> 1123</span></div>
<div class="line"><a id="l01126" name="l01126"></a><span class="lineno"><a class="line" href="group__extended.html#ga070c011175b3a1de57a481966a57b8ba"> 1126</a></span><span class="preprocessor">#define MI_SMALL_WSIZE_MAX 128</span></div>
<div class="line"><a id="l01127" name="l01127"></a><span class="lineno"> 1127</span></div>
<div class="line"><a id="l01131" name="l01131"></a><span class="lineno"><a class="line" href="group__extended.html#ga1ea64283508718d9d645c38efc2f4305"> 1131</a></span><span class="preprocessor">#define MI_SMALL_SIZE_MAX (MI_SMALL_WSIZE_MAX*sizeof(size_t))</span></div>
<div class="line"><a id="l01132" name="l01132"></a><span class="lineno"> 1132</span></div>
<div class="line"><a id="l01136" name="l01136"></a><span class="lineno"><a class="line" href="group__extended.html#gae9ddddcf14a58d0224ef3c8778e5b057"> 1136</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="l01137" name="l01137"></a><span class="lineno"> 1137</span></div>
<div class="line"><a id="l01145" name="l01145"></a><span class="lineno"><a class="line" href="group__extended.html#ga421430e2226d7d468529cec457396756"> 1145</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="l01146" name="l01146"></a><span class="lineno"> 1146</span></div>
<div class="line"><a id="l01149" name="l01149"></a><span class="lineno"><a class="line" href="group__extended.html#ga0c900eb3ce2344ee9cbaa49b2668bcca"> 1149</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga0c900eb3ce2344ee9cbaa49b2668bcca">mi_collect_reduce</a>(<span class="keywordtype">size_t</span> target_thread_owned);</div>
<div class="line"><a id="l01150" name="l01150"></a><span class="lineno"> 1150</span></div>
<div class="line"><a id="l01152" name="l01152"></a><span class="lineno"><a class="line" href="group__extended.html#ga33e54ec86fc7da4bebb673429c399402"> 1152</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga33e54ec86fc7da4bebb673429c399402">mi_process_init</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="l01156" name="l01156"></a><span class="lineno"><a class="line" href="group__extended.html#ga4adb0ce31957ca422d62d248fab9f7cf"> 1156</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#ga4adb0ce31957ca422d62d248fab9f7cf">mi_process_done</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l01157" name="l01157"></a><span class="lineno"> 1157</span></div>
<div class="line"><a id="l01163" name="l01163"></a><span class="lineno"><a class="line" href="group__extended.html#gada899104276aac52539eb4de7c020f1f"> 1163</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="l01164" name="l01164"></a><span class="lineno"> 1164</span></div>
<div class="line"><a id="l01169" name="l01169"></a><span class="lineno"><a class="line" href="group__extended.html#gaad25050b19f30cd79397b227e0157a3f"> 1169</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="l01170" name="l01170"></a><span class="lineno"> 1170</span></div>
<div class="line"><a id="l01174" name="l01174"></a><span class="lineno"><a class="line" href="group__extended.html#gaf8e73efc2cbca9ebfdfb166983a04c17"> 1174</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="l01175" name="l01175"></a><span class="lineno"> 1175</span></div>
<div class="line"><a id="l01183" name="l01183"></a><span class="lineno"><a class="line" href="group__extended.html#ga0ae4581e85453456a0d658b2b98bf7bf"> 1183</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="l01184" name="l01184"></a><span class="lineno"> 1184</span></div>
<div class="line"><a id="l01191" name="l01191"></a><span class="lineno"><a class="line" href="group__extended.html#ga292a45f7dbc7cd23c5352ce1f0002816"> 1191</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="l01192" name="l01192"></a><span class="lineno"> 1192</span></div>
<div class="line"><a id="l01208" name="l01208"></a><span class="lineno"><a class="line" href="group__extended.html#ga3460a6ca91af97be4058f523d3cb8ece"> 1208</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="l01209" name="l01209"></a><span class="lineno"> 1209</span></div>
<div class="line"><a id="l01215" name="l01215"></a><span class="lineno"><a class="line" href="group__extended.html#gadf31cea7d0332a81c8b882cbbdbadb8d"> 1215</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="l01216" name="l01216"></a><span class="lineno"> 1216</span></div>
<div class="line"><a id="l01223" name="l01223"></a><span class="lineno"><a class="line" href="group__extended.html#gae5b17ff027cd2150b43a33040250cf3f"> 1223</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="l01224" name="l01224"></a><span class="lineno"> 1224</span></div>
<div class="line"><a id="l01230" name="l01230"></a><span class="lineno"><a class="line" href="group__extended.html#ga83fc6a688b322261e1c2deab000b0591"> 1230</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="l01231" name="l01231"></a><span class="lineno"> 1231</span></div>
<div class="line"><a id="l01252" name="l01252"></a><span class="lineno"><a class="line" href="group__extended.html#gaa1d55e0e894be240827e5d87ec3a1f45"> 1252</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="l01253" name="l01253"></a><span class="lineno"> 1253</span></div>
<div class="line"><a id="l01261" name="l01261"></a><span class="lineno"><a class="line" href="group__extended.html#ga7f050bc6b897da82692174f5fce59cde"> 1261</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="l01262" name="l01262"></a><span class="lineno"> 1262</span></div>
<div class="line"><a id="l01273" name="l01273"></a><span class="lineno"><a class="line" href="group__extended.html#gaddce8f584e649a1b7ca48298dc52fe77"> 1273</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__extended.html#gaddce8f584e649a1b7ca48298dc52fe77">mi_wmalloc_small</a>(<span class="keywordtype">size_t</span> wsize);</div>
<div class="line"><a id="l01274" name="l01274"></a><span class="lineno"> 1274</span></div>
<div class="line"><a id="l01277" name="l01277"></a><span class="lineno"><a class="line" href="group__extended.html#ga61113cc91b1d6de4ace7b693739b2352"> 1277</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__extended.html#ga61113cc91b1d6de4ace7b693739b2352">mi_wzalloc_small</a>(<span class="keywordtype">size_t</span> wsize);</div>
<div class="line"><a id="l01278" name="l01278"></a><span class="lineno"> 1278</span></div>
<div class="line"><a id="l01281" name="l01281"></a><span class="lineno"><a class="line" href="group__extended.html#ga4bed1e708005f676c2cc5f5627f3290a"> 1281</a></span><span class="keywordtype">size_t</span> <a class="code hl_function" href="group__extended.html#ga4bed1e708005f676c2cc5f5627f3290a">mi_wsize_from_size</a>(<span class="keywordtype">size_t</span> size);</div>
<div class="line"><a id="l01282" name="l01282"></a><span class="lineno"> 1282</span></div>
<div class="line"><a id="l01290" name="l01290"></a><span class="lineno"><a class="line" href="group__extended.html#ga51c47637e81df0e2f13a2d7a2dec123e"> 1290</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="l01291" name="l01291"></a><span class="lineno"> 1291</span></div>
<div class="line"><a id="l01307" name="l01307"></a><span class="lineno"><a class="line" href="group__extended.html#ga2a8469764c38dcaf878f36e5f50e3610"> 1307</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="l01308" name="l01308"></a><span class="lineno"> 1308</span></div>
<div class="line"><a id="l01324" name="l01324"></a><span class="lineno"><a class="line" href="group__extended.html#ga22890f54e5be433837069c8e97fdf379"> 1324</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="l01325" name="l01325"></a><span class="lineno"> 1325</span></div>
<div class="line"><a id="l01328" name="l01328"></a><span class="lineno"><a class="line" href="group__extended.html#gaca0c3f3a03a9d5e4869e8b7cb519f209"> 1328</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#gaca0c3f3a03a9d5e4869e8b7cb519f209">mi_free_small_local</a>(<span class="keywordtype">void</span>* p);</div>
<div class="line"><a id="l01329" name="l01329"></a><span class="lineno"> 1329</span></div>
<div class="line"><a id="l01331" name="l01331"></a><span class="lineno"><a class="line" href="group__extended.html#gae87594f2195ccde8fd3fe30038bc7cd5"> 1331</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__extended.html#gae87594f2195ccde8fd3fe30038bc7cd5">mi_free_small_local_nonnull</a>(<span class="keywordtype">void</span>* p);</div>
<div class="line"><a id="l01332" name="l01332"></a><span class="lineno"> 1332</span></div>
<div class="line"><a id="l01334" name="l01334"></a><span class="lineno"> 1334</span> </div>
<div class="line"><a id="l01335" name="l01335"></a><span class="lineno"> 1335</span> </div>
<div class="line"><a id="l01336" name="l01336"></a><span class="lineno"> 1336</span> </div>
<div class="line"><a id="l01337" name="l01337"></a><span class="lineno"> 1337</span> </div>
<div class="line"><a id="l01338" name="l01338"></a><span class="lineno"> 1338</span> </div>
<div class="line"><a id="l01339" name="l01339"></a><span class="lineno"> 1339</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01340" name="l01340"></a><span class="lineno"> 1340</span><span class="comment">// Statistics</span></div>
<div class="line"><a id="l01341" name="l01341"></a><span class="lineno"> 1341</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01342" name="l01342"></a><span class="lineno"> 1342</span></div>
<div class="line"><a id="l01346" name="l01346"></a><span class="lineno"> 1346</span></div>
<div class="line"><a id="l01348" name="l01348"></a><span class="lineno"><a class="line" href="group__stats.html#gac4411cf3eed23719e511b9e1128888e0"> 1348</a></span><span class="preprocessor">#define MI_STAT_VERSION 4</span></div>
<div class="line"><a id="l01349" name="l01349"></a><span class="lineno"> 1349</span></div>
<div class="line"><a id="l01359" name="l01359"></a><span class="lineno"><a class="line" href="group__stats.html#ga961d0f9f0327ebc9bd8a0b84f6dcb410"> 1359</a></span><span class="preprocessor">#define mi_stats_t_decl(name)</span></div>
<div class="line"><a id="l01360" name="l01360"></a><span class="lineno"> 1360</span></div>
<div class="foldopen" id="foldopen01362" data-start="{" data-end="};">
<div class="line"><a id="l01362" name="l01362"></a><span class="lineno"><a class="line" href="group__stats.html"> 1362</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="l01364" name="l01364"></a><span class="lineno"><a class="line" href="group__stats.html#ae41e0fff24b988d0a43c34040b04b887"> 1364</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="l01366" name="l01366"></a><span class="lineno"><a class="line" href="group__stats.html#aa74fc9c40dfaef5e06dec4019c19de68"> 1366</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="l01367" name="l01367"></a><span class="lineno"> 1367</span>};</div>
</div>
<div class="line"><a id="l01368" name="l01368"></a><span class="lineno"> 1368</span></div>
<div class="line"><a id="l01370" name="l01370"></a><span class="lineno"> 1370</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="l01371" name="l01371"></a><span class="lineno"> 1371</span></div>
<div class="line"><a id="l01373" name="l01373"></a><span class="lineno"><a class="line" href="group__stats.html#gaf653d33dc50c2e4fd5a3293f7862be5e"> 1373</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#gaf653d33dc50c2e4fd5a3293f7862be5e">mi_stats_header_init</a>(mi_stats_t* stats);</div>
<div class="line"><a id="l01374" name="l01374"></a><span class="lineno"> 1374</span></div>
<div class="line"><a id="l01377" name="l01377"></a><span class="lineno"><a class="line" href="group__stats.html#ga6b09b30867f2fa4244e7363e92e44cc7"> 1377</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga6b09b30867f2fa4244e7363e92e44cc7">mi_stats_init</a>(mi_stats_t* stats);</div>
<div class="line"><a id="l01378" name="l01378"></a><span class="lineno"> 1378</span> </div>
<div class="line"><a id="l01379" name="l01379"></a><span class="lineno"> 1379</span></div>
<div class="line"><a id="l01382" name="l01382"></a><span class="lineno"><a class="line" href="group__stats.html#gaf887e7aa75f13242c4e7ab95d8390536"> 1382</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="l01383" name="l01383"></a><span class="lineno"> 1383</span></div>
<div class="line"><a id="l01388" name="l01388"></a><span class="lineno"><a class="line" href="group__stats.html#ga03ac88d3efee2ae7c34f5340502f4732"> 1388</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="l01389" name="l01389"></a><span class="lineno"> 1389</span></div>
<div class="line"><a id="l01403" name="l01403"></a><span class="lineno"><a class="line" href="group__stats.html#ga7d862c2affd5790381da14eb102a364d"> 1403</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="l01404" name="l01404"></a><span class="lineno"> 1404</span> </div>
<div class="line"><a id="l01405" name="l01405"></a><span class="lineno"> 1405</span></div>
<div class="line"><a id="l01410" name="l01410"></a><span class="lineno"><a class="line" href="group__stats.html#ga2d126e5c62d3badc35445e5d84166df2"> 1410</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="l01411" name="l01411"></a><span class="lineno"> 1411</span></div>
<div class="line"><a id="l01417" name="l01417"></a><span class="lineno"><a class="line" href="group__stats.html#ga537f13b299ddf801e49a5a94fde02c79"> 1417</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="l01418" name="l01418"></a><span class="lineno"> 1418</span></div>
<div class="line"><a id="l01421" name="l01421"></a><span class="lineno"><a class="line" href="group__stats.html#gab1dac8476c46cb9eecab767eb40c1525"> 1421</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#gab1dac8476c46cb9eecab767eb40c1525">mi_thread_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="l01422" name="l01422"></a><span class="lineno"> 1422</span></div>
<div class="line"><a id="l01428" name="l01428"></a><span class="lineno"><a class="line" href="group__stats.html#gaa26d5060ad21b1331a150bb92f6f7086"> 1428</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="l01429" name="l01429"></a><span class="lineno"> 1429</span></div>
<div class="line"><a id="l01435" name="l01435"></a><span class="lineno"><a class="line" href="group__stats.html#gadaa3be15899cc82e314fa7d3f8e2afbd"> 1435</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="l01436" name="l01436"></a><span class="lineno"> 1436</span></div>
<div class="line"><a id="l01438" name="l01438"></a><span class="lineno"><a class="line" href="group__stats.html#gadecd549d1a7216af596322ac27e78b0d"> 1438</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="l01439" name="l01439"></a><span class="lineno"> 1439</span></div>
<div class="line"><a id="l01446" name="l01446"></a><span class="lineno"><a class="line" href="group__stats.html#ga2654195cef93ed3613e98b59a19a296f"> 1446</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="l01447" name="l01447"></a><span class="lineno"> 1447</span></div>
<div class="line"><a id="l01454" name="l01454"></a><span class="lineno"><a class="line" href="group__stats.html#gacb42dede4c38c38f2014b5450c5fcba8"> 1454</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="l01455" name="l01455"></a><span class="lineno"> 1455</span></div>
<div class="line"><a id="l01460" name="l01460"></a><span class="lineno"><a class="line" href="group__stats.html#gafea365d7842f5f5bc1f235bbc303d585"> 1460</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="l01461" name="l01461"></a><span class="lineno"> 1461</span></div>
<div class="line"><a id="l01465" name="l01465"></a><span class="lineno"><a class="line" href="group__stats.html#ga5a34328f846c661aa560f4769cfc15f1"> 1465</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="l01466" name="l01466"></a><span class="lineno"> 1466</span></div>
<div class="line"><a id="l01473" name="l01473"></a><span class="lineno"><a class="line" href="group__stats.html#ga5ec3f9058eec804924711ab38ba64b51"> 1473</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="l01474" name="l01474"></a><span class="lineno"> 1474</span></div>
<div class="line"><a id="l01478" name="l01478"></a><span class="lineno"><a class="line" href="group__stats.html#ga8e237e9970723fcb5fdbfe094cee862a"> 1478</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__stats.html#ga8e237e9970723fcb5fdbfe094cee862a">mi_subproc_stats_get_exclusive</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="l01479" name="l01479"></a><span class="lineno"> 1479</span></div>
<div class="line"><a id="l01483" name="l01483"></a><span class="lineno"><a class="line" href="group__stats.html#ga796d06376a6c8166e791aec4bbd55548"> 1483</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__stats.html#ga796d06376a6c8166e791aec4bbd55548">mi_theap_stats_get</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, mi_stats_t* stats);</div>
<div class="line"><a id="l01484" name="l01484"></a><span class="lineno"> 1484</span></div>
<div class="line"><a id="l01487" name="l01487"></a><span class="lineno"><a class="line" href="group__stats.html#ga13a431ecfe86d9c7e65aa6605511590b"> 1487</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__stats.html#ga13a431ecfe86d9c7e65aa6605511590b">mi_theap_stats_merge_to_heap</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap);</div>
<div class="line"><a id="l01488" name="l01488"></a><span class="lineno"> 1488</span></div>
<div class="line"><a id="l01495" name="l01495"></a><span class="lineno"><a class="line" href="group__stats.html#gad1cf918f08b6506e65ae134423477a0b"> 1495</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="l01496" name="l01496"></a><span class="lineno"> 1496</span></div>
<div class="line"><a id="l01501" name="l01501"></a><span class="lineno"><a class="line" href="group__stats.html#ga59ec89969837db414a6bce8b58915624"> 1501</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="l01502" name="l01502"></a><span class="lineno"> 1502</span> </div>
<div class="line"><a id="l01503" name="l01503"></a><span class="lineno"> 1503</span></div>
<div class="line"><a id="l01508" name="l01508"></a><span class="lineno"><a class="line" href="group__stats.html#ga19f1a04bd972e11e4f3b586f25229d5b"> 1508</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="l01509" name="l01509"></a><span class="lineno"> 1509</span></div>
<div class="line"><a id="l01516" name="l01516"></a><span class="lineno"><a class="line" href="group__stats.html#ga6ad266c70a0eabf6c26248aed1af6fa1"> 1516</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="l01517" name="l01517"></a><span class="lineno"> 1517</span></div>
<div class="line"><a id="l01520" name="l01520"></a><span class="lineno"><a class="line" href="group__stats.html#ga3bb8468b8cfcc6e2a61d98aee85c5f99"> 1520</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="l01521" name="l01521"></a><span class="lineno"> 1521</span></div>
<div class="line"><a id="l01524" name="l01524"></a><span class="lineno"><a class="line" href="group__stats.html#ga854b1de8cb067c7316286c28b2fcd3d1"> 1524</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="l01525" name="l01525"></a><span class="lineno"> 1525</span></div>
<div class="line"><a id="l01527" name="l01527"></a><span class="lineno"> 1527</span> </div>
<div class="line"><a id="l01528" name="l01528"></a><span class="lineno"> 1528</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01529" name="l01529"></a><span class="lineno"> 1529</span><span class="comment">// Heap Profiling</span></div>
<div class="line"><a id="l01530" name="l01530"></a><span class="lineno"> 1530</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01531" name="l01531"></a><span class="lineno"> 1531</span></div>
<div class="line"><a id="l01595" name="l01595"></a><span class="lineno"> 1595</span></div>
<div class="line"><a id="l01597" name="l01597"></a><span class="lineno"><a class="line" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080"> 1597</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>mi_profiler_s <a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>;</div>
<div class="line"><a id="l01598" name="l01598"></a><span class="lineno"> 1598</span></div>
<div class="line"><a id="l01610" name="l01610"></a><span class="lineno"><a class="line" href="group__profiling.html#ga22e300c5e486531efc88fd31ac08e9f9"> 1610</a></span><a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* <a class="code hl_function" href="group__profiling.html#ga22e300c5e486531efc88fd31ac08e9f9">mi_pprof_profiler_new</a>(<span class="keywordtype">size_t</span> initial_threshold, <span class="keyword">const</span> <span class="keywordtype">char</span>* base_file_name, <span class="keywordtype">size_t</span> alloc_interval_size, <span class="keywordtype">size_t</span> inuse_interval_size, <span class="keywordtype">size_t</span> time_interval_secs);</div>
<div class="line"><a id="l01611" name="l01611"></a><span class="lineno"> 1611</span></div>
<div class="line"><a id="l01615" name="l01615"></a><span class="lineno"><a class="line" href="group__profiling.html#gaef24d75e08cedc0018925908b51d7fb1"> 1615</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__profiling.html#gaef24d75e08cedc0018925908b51d7fb1">mi_pprof_profiler_delete</a>(<a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01616" name="l01616"></a><span class="lineno"> 1616</span></div>
<div class="line"><a id="l01621" name="l01621"></a><span class="lineno"><a class="line" href="group__profiling.html#ga36e950fb134eb95fd4669c3a3b85e212"> 1621</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__profiling.html#ga36e950fb134eb95fd4669c3a3b85e212">mi_profile</a>(<a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01622" name="l01622"></a><span class="lineno"> 1622</span></div>
<div class="line"><a id="l01627" name="l01627"></a><span class="lineno"><a class="line" href="group__profiling.html#gac2b13c51ed12b1fe261290ba14826444"> 1627</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__profiling.html#gac2b13c51ed12b1fe261290ba14826444">mi_subproc_profile</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__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01628" name="l01628"></a><span class="lineno"> 1628</span></div>
<div class="line"><a id="l01633" name="l01633"></a><span class="lineno"><a class="line" href="group__profiling.html#gace9a7225c5ce92054ec13ed649d8f963"> 1633</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__profiling.html#gace9a7225c5ce92054ec13ed649d8f963">mi_heap_profile</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap, <a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01634" name="l01634"></a><span class="lineno"> 1634</span></div>
<div class="line"><a id="l01637" name="l01637"></a><span class="lineno"><a class="line" href="group__profiling.html#gab9a180271506d5c5fe80814179a5f568"> 1637</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__profiling.html#gab9a180271506d5c5fe80814179a5f568">mi_heap_profile_disable</a>(<a class="code hl_typedef" href="group__heap.html#ga34a47cde5a5b38c29f1aa3c5e76943c2">mi_heap_t</a>* heap);</div>
<div class="line"><a id="l01638" name="l01638"></a><span class="lineno"> 1638</span></div>
<div class="line"><a id="l01641" name="l01641"></a><span class="lineno"><a class="line" href="group__profiling.html#ga759a5cad55bd9014bf7bde946ca2fa38"> 1641</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__profiling.html#ga759a5cad55bd9014bf7bde946ca2fa38">mi_profiler_start</a>(<a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01642" name="l01642"></a><span class="lineno"> 1642</span></div>
<div class="line"><a id="l01645" name="l01645"></a><span class="lineno"><a class="line" href="group__profiling.html#gaa7e0a272b9157783b0b63bbe44070a5b"> 1645</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__profiling.html#gaa7e0a272b9157783b0b63bbe44070a5b">mi_profiler_stop</a>(<a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01646" name="l01646"></a><span class="lineno"> 1646</span></div>
<div class="line"><a id="l01650" name="l01650"></a><span class="lineno"><a class="line" href="group__profiling.html#gaa3be0ee40c382b0633b10284857f4b1c"> 1650</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__profiling.html#gaa3be0ee40c382b0633b10284857f4b1c">mi_profiler_snapshot</a>(<a class="code hl_typedef" href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a>* profiler);</div>
<div class="line"><a id="l01651" name="l01651"></a><span class="lineno"> 1651</span></div>
<div class="line"><a id="l01653" name="l01653"></a><span class="lineno"> 1653</span> </div>
<div class="line"><a id="l01654" name="l01654"></a><span class="lineno"> 1654</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01655" name="l01655"></a><span class="lineno"> 1655</span><span class="comment">// Runtime Options</span></div>
<div class="line"><a id="l01656" name="l01656"></a><span class="lineno"> 1656</span><span class="comment">// ------------------------------------------------------</span></div>
<div class="line"><a id="l01657" name="l01657"></a><span class="lineno"> 1657</span></div>
<div class="line"><a id="l01662" name="l01662"></a><span class="lineno"> 1662</span></div>
<div class="line"><a id="l01665" name="l01665"></a><span class="lineno"><a class="line" href="group__options.html#gaecfcd3ed90af99932670d881de1fa8f1"> 1665</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="l01666" name="l01666"></a><span class="lineno"> 1666</span></div>
<div class="line"><a id="l01672" name="l01672"></a><span class="lineno"><a class="line" href="group__options.html#ga1dd50c7533baec4cc6c1a2e9adf05dd2"> 1672</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="l01673" name="l01673"></a><span class="lineno"> 1673</span> </div>
<div class="line"><a id="l01674" name="l01674"></a><span class="lineno"> 1674</span></div>
<div class="foldopen" id="foldopen01679" data-start="{" data-end="};">
<div class="line"><a id="l01679" name="l01679"></a><span class="lineno"><a class="line" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c"> 1679</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> mi_option_e {</div>
<div class="line"><a id="l01680" name="l01680"></a><span class="lineno"> 1680</span> <span class="comment">// stable options</span></div>
<div class="line"><a id="l01681" name="l01681"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4822e5c00732c5984b32a032837f0"> 1681</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4822e5c00732c5984b32a032837f0">mi_option_show_errors</a>, </div>
<div class="line"><a id="l01682" name="l01682"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda"> 1682</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda">mi_option_show_stats</a>, </div>
<div class="line"><a id="l01683" name="l01683"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7c8b7bf5281c581bad64f5daa6442777"> 1683</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7c8b7bf5281c581bad64f5daa6442777">mi_option_verbose</a>, </div>
<div class="line"><a id="l01684" name="l01684"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a"> 1684</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a">mi_option_max_errors</a>, </div>
<div class="line"><a id="l01685" name="l01685"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665"> 1685</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665">mi_option_max_warnings</a>, </div>
<div class="line"><a id="l01686" name="l01686"></a><span class="lineno"> 1686</span> </div>
<div class="line"><a id="l01687" name="l01687"></a><span class="lineno"> 1687</span> <span class="comment">// advanced options</span></div>
<div class="line"><a id="l01688" name="l01688"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2"> 1688</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="l01689" name="l01689"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c"> 1689</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="l01690" name="l01690"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333"> 1690</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333">mi_option_reserve_os_memory</a>, </div>
<div class="line"><a id="l01691" name="l01691"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556"> 1691</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="l01692" name="l01692"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4"> 1692</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4">mi_option_purge_decommits</a>, </div>
<div class="line"><a id="l01693" name="l01693"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de"> 1693</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de">mi_option_arena_reserve</a>, </div>
<div class="line"><a id="l01694" name="l01694"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf"> 1694</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf">mi_option_os_tag</a>, </div>
<div class="line"><a id="l01695" name="l01695"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e"> 1695</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e">mi_option_retry_on_oom</a>, </div>
<div class="line"><a id="l01696" name="l01696"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8b5815a577955fe8125f2b964f41ee7f"> 1696</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8b5815a577955fe8125f2b964f41ee7f">mi_option_generic_collect</a>, </div>
<div class="line"><a id="l01697" name="l01697"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca04c45931ce2c82a20d08ca1471e74087"> 1697</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca04c45931ce2c82a20d08ca1471e74087">mi_option_allow_thp</a>, </div>
<div class="line"><a id="l01698" name="l01698"></a><span class="lineno"> 1698</span> </div>
<div class="line"><a id="l01699" name="l01699"></a><span class="lineno"> 1699</span> <span class="comment">// guard pages</span></div>
<div class="line"><a id="l01700" name="l01700"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca00734c528aae52784654a8db996ae62b"> 1700</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca00734c528aae52784654a8db996ae62b">mi_option_guarded_min</a>, </div>
<div class="line"><a id="l01701" name="l01701"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca96077da4e5c841edeec0c4d6e45a5ffa"> 1701</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca96077da4e5c841edeec0c4d6e45a5ffa">mi_option_guarded_max</a>, </div>
<div class="line"><a id="l01702" name="l01702"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca43b79b760b200e99c3c64e9d2c09719b"> 1702</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca43b79b760b200e99c3c64e9d2c09719b">mi_option_unsafe_guarded_precise</a>, </div>
<div class="line"><a id="l01703" name="l01703"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeb3c75b1a838eb42106750979d0888ec"> 1703</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeb3c75b1a838eb42106750979d0888ec">mi_option_guarded_sample_rate</a>, </div>
<div class="line"><a id="l01704" name="l01704"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7b1e41ece69f9abbe5ba81d9ea7a3dc0"> 1704</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca7b1e41ece69f9abbe5ba81d9ea7a3dc0">mi_option_guarded_sample_seed</a>, </div>
<div class="line"><a id="l01705" name="l01705"></a><span class="lineno"> 1705</span> </div>
<div class="line"><a id="l01706" name="l01706"></a><span class="lineno"> 1706</span> <span class="comment">// experimental options</span></div>
<div class="line"><a id="l01707" name="l01707"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1e8de72c93da7ff22d91e1e27b52ac2b"> 1707</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca1e8de72c93da7ff22d91e1e27b52ac2b">mi_option_eager_commit</a>, </div>
<div class="line"><a id="l01708" name="l01708"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c"> 1708</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c">mi_option_eager_commit_delay</a>, </div>
<div class="line"><a id="l01709" name="l01709"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5"> 1709</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5">mi_option_arena_eager_commit</a>, </div>
<div class="line"><a id="l01710" name="l01710"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11e62ed69200a489a5be955582078c0c"> 1710</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11e62ed69200a489a5be955582078c0c">mi_option_abandoned_page_purge</a>, </div>
<div class="line"><a id="l01711" name="l01711"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290"> 1711</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290">mi_option_purge_delay</a>, </div>
<div class="line"><a id="l01712" name="l01712"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74"> 1712</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74">mi_option_use_numa_nodes</a>, </div>
<div class="line"><a id="l01713" name="l01713"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6"> 1713</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6">mi_option_disallow_os_alloc</a>, </div>
<div class="line"><a id="l01714" name="l01714"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909"> 1714</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909">mi_option_max_segment_reclaim</a>, </div>
<div class="line"><a id="l01715" name="l01715"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88"> 1715</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88">mi_option_destroy_on_exit</a>, </div>
<div class="line"><a id="l01716" name="l01716"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e"> 1716</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e">mi_option_arena_purge_mult</a>, </div>
<div class="line"><a id="l01717" name="l01717"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9"> 1717</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="l01718" name="l01718"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487"> 1718</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487">mi_option_purge_extend_delay</a>, </div>
<div class="line"><a id="l01719" name="l01719"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40"> 1719</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40">mi_option_disallow_arena_alloc</a>, </div>
<div class="line"><a id="l01720" name="l01720"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e"> 1720</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e">mi_option_visit_abandoned</a>, </div>
<div class="line"><a id="l01721" name="l01721"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca874f36a7a1e51f7baee4a78b2830b643"> 1721</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="l01722" name="l01722"></a><span class="lineno"> 1722</span> </div>
<div class="line"><a id="l01723" name="l01723"></a><span class="lineno"> 1723</span> <span class="comment">// v3 options</span></div>
<div class="line"><a id="l01724" name="l01724"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cac16e3f838e861338fb2357b430f6974c"> 1724</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="l01725" name="l01725"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeede7d0652e391940357e1c054d29829"> 1725</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caeede7d0652e391940357e1c054d29829">mi_option_page_full_retain</a>, </div>
<div class="line"><a id="l01726" name="l01726"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cad13382757101aa4fbc4984fa0f917133"> 1726</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884cad13382757101aa4fbc4984fa0f917133">mi_option_page_max_candidates</a>, </div>
<div class="line"><a id="l01727" name="l01727"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caabf8c9793d421ce28361b6d93c432de9"> 1727</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caabf8c9793d421ce28361b6d93c432de9">mi_option_max_vabits</a>, </div>
<div class="line"><a id="l01728" name="l01728"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa88f56e3bccce85542dc2b3297024236"> 1728</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884caa88f56e3bccce85542dc2b3297024236">mi_option_pagemap_commit</a>, </div>
<div class="line"><a id="l01729" name="l01729"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca679d9ee91221bffba4d5aafe488a8d7f"> 1729</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="l01730" name="l01730"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11a13739488294318ffc03eea378f5a4"> 1730</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca11a13739488294318ffc03eea378f5a4">mi_option_page_max_reclaim</a>, </div>
<div class="line"><a id="l01731" name="l01731"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca671e806447c15a53c7d593afdd8d45c5"> 1731</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="l01732" name="l01732"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5635112095936356425d9a01910afff7"> 1732</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5635112095936356425d9a01910afff7">mi_option_minimal_purge_size</a>, </div>
<div class="line"><a id="l01733" name="l01733"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca4dee58d60bc95ce0eeef759c61fd849b"> 1733</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="l01734" name="l01734"></a><span class="lineno"> 1734</span> </div>
<div class="line"><a id="l01735" name="l01735"></a><span class="lineno"><a class="line" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5b4357b74be0d87568036c32eb1a2e4a"> 1735</a></span> <a class="code hl_enumvalue" href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca5b4357b74be0d87568036c32eb1a2e4a">_mi_option_last</a></div>
<div class="line"><a id="l01736" name="l01736"></a><span class="lineno"> 1736</span>} <a class="code hl_enumeration" href="group__options.html#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a>;</div>
</div>
<div class="line"><a id="l01737" name="l01737"></a><span class="lineno"> 1737</span> </div>
<div class="line"><a id="l01738" name="l01738"></a><span class="lineno"> 1738</span> </div>
<div class="line"><a id="l01739" name="l01739"></a><span class="lineno"><a class="line" href="group__options.html#ga459ad98f18b3fc9275474807fe0ca188"> 1739</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="l01740" name="l01740"></a><span class="lineno"><a class="line" href="group__options.html#ga04180ae41b0d601421dd62ced40ca050"> 1740</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="l01741" name="l01741"></a><span class="lineno"><a class="line" href="group__options.html#gaebf6ff707a2e688ebb1a2296ca564054"> 1741</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="l01742" name="l01742"></a><span class="lineno"><a class="line" href="group__options.html#ga9a13d05fcb77489cb06d4d017ebd8bed"> 1742</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="l01743" name="l01743"></a><span class="lineno"><a class="line" href="group__options.html#ga65518b69ec5d32336b50e07f74b3f629"> 1743</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="l01744" name="l01744"></a><span class="lineno"> 1744</span> </div>
<div class="line"><a id="l01745" name="l01745"></a><span class="lineno"><a class="line" href="group__options.html#ga7e8af195cc81d3fa64ccf2662caa565a"> 1745</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="l01746" name="l01746"></a><span class="lineno"><a class="line" href="group__options.html#ga96ad9c406338bd314cfe878cfc9bf723"> 1746</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="l01747" name="l01747"></a><span class="lineno"><a class="line" href="group__options.html#ga274db5a6ac87cc24ef0b23e7006ed02c"> 1747</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="l01748" name="l01748"></a><span class="lineno"> 1748</span> </div>
<div class="line"><a id="l01749" name="l01749"></a><span class="lineno"><a class="line" href="group__options.html#gaf84921c32375e25754dc2ee6a911fa60"> 1749</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="l01750" name="l01750"></a><span class="lineno"><a class="line" href="group__options.html#ga7ef623e440e6e5545cb08c94e71e4b90"> 1750</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="l01751" name="l01751"></a><span class="lineno"> 1751</span></div>
<div class="line"><a id="l01753" name="l01753"></a><span class="lineno"> 1753</span></div>
<div class="line"><a id="l01766" name="l01766"></a><span class="lineno"> 1766</span></div>
<div class="line"><a id="l01768" name="l01768"></a><span class="lineno"> 1768</span><span class="keyword">struct </span>mi_theap_s;</div>
<div class="line"><a id="l01769" name="l01769"></a><span class="lineno"> 1769</span></div>
<div class="line"><a id="l01771" name="l01771"></a><span class="lineno"><a class="line" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8"> 1771</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="l01772" name="l01772"></a><span class="lineno"> 1772</span></div>
<div class="line"><a id="l01783" name="l01783"></a><span class="lineno"><a class="line" href="group__theap.html#ga7905a73865733da8a43339a500533180"> 1783</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="l01784" name="l01784"></a><span class="lineno"> 1784</span></div>
<div class="line"><a id="l01786" name="l01786"></a><span class="lineno"><a class="line" href="group__theap.html#ga9377a43095b8dd14996613ceb73d9a32"> 1786</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="l01787" name="l01787"></a><span class="lineno"> 1787</span></div>
<div class="line"><a id="l01790" name="l01790"></a><span class="lineno"><a class="line" href="group__theap.html#ga9f782a7118d8ef2717d17d9681faa459"> 1790</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__theap.html#ga9f782a7118d8ef2717d17d9681faa459">mi_theap_delete</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap);</div>
<div class="line"><a id="l01791" name="l01791"></a><span class="lineno"> 1791</span></div>
<div class="line"><a id="l01795" name="l01795"></a><span class="lineno"><a class="line" href="group__theap.html#gab042c89cab6553b6ff775d6d92362800"> 1795</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__theap.html#gab042c89cab6553b6ff775d6d92362800">mi_theap_quiescent_abandon</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap);</div>
<div class="line"><a id="l01796" name="l01796"></a><span class="lineno"> 1796</span></div>
<div class="line"><a id="l01801" name="l01801"></a><span class="lineno"><a class="line" href="group__theap.html#ga04420ce52785019412397e4de24a984a"> 1801</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="l01802" name="l01802"></a><span class="lineno"> 1802</span></div>
<div class="line"><a id="l01805" name="l01805"></a><span class="lineno"><a class="line" href="group__theap.html#ga78afbb07c1e0cd333c7539cf7403dfd5"> 1805</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="l01806" name="l01806"></a><span class="lineno"> 1806</span></div>
<div class="line"><a id="l01809" name="l01809"></a><span class="lineno"><a class="line" href="group__theap.html#gac7308e029c59e6675dd5ab5ec54f304a"> 1809</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="l01810" name="l01810"></a><span class="lineno"> 1810</span></div>
<div class="line"><a id="l01814" name="l01814"></a><span class="lineno"><a class="line" href="group__theap.html#ga1fc65302a212daaecb21abda96ff247c"> 1814</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="l01815" name="l01815"></a><span class="lineno"> 1815</span></div>
<div class="line"><a id="l01818" name="l01818"></a><span class="lineno"><a class="line" href="group__theap.html#ga6bcfc116fe2f73f808826f67e39057d7"> 1818</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#ga6bcfc116fe2f73f808826f67e39057d7">mi_theap_wmalloc_small</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> wsize);</div>
<div class="line"><a id="l01819" name="l01819"></a><span class="lineno"> 1819</span></div>
<div class="line"><a id="l01822" name="l01822"></a><span class="lineno"><a class="line" href="group__theap.html#gaa37999725c71106b26aab944f5f80551"> 1822</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gaa37999725c71106b26aab944f5f80551">mi_theap_wzalloc_small</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> wsize);</div>
<div class="line"><a id="l01823" name="l01823"></a><span class="lineno"> 1823</span></div>
<div class="line"><a id="l01826" name="l01826"></a><span class="lineno"><a class="line" href="group__theap.html#gaa7fd973dcd8c75eb05707bdeffbc06f7"> 1826</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="l01827" name="l01827"></a><span class="lineno"> 1827</span></div>
<div class="line"><a id="l01831" name="l01831"></a><span class="lineno"><a class="line" href="group__theap.html#gaa85fccf9d40af3e826c5932aded1d534"> 1831</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="l01832" name="l01832"></a><span class="lineno"> 1832</span> </div>
<div class="line"><a id="l01833" name="l01833"></a><span class="lineno"><a class="line" href="group__theap.html#gadbf8f27bfe9edf7834e19d32cab63edc"> 1833</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="l01834" name="l01834"></a><span class="lineno"><a class="line" href="group__theap.html#ga84503fc2bd83fbfb7f789b7d80d76f36"> 1834</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="l01835" name="l01835"></a><span class="lineno"><a class="line" href="group__theap.html#ga11943128dc354313c4189e72f4299dbb"> 1835</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="l01836" name="l01836"></a><span class="lineno"> 1836</span></div>
<div class="line"><a id="l01838" name="l01838"></a><span class="lineno"><a class="line" href="group__theap.html#gaa73e21ada632a3f688f7cdbb5ce84ae6"> 1838</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gaa73e21ada632a3f688f7cdbb5ce84ae6">mi_theap_zalloc_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="l01839" name="l01839"></a><span class="lineno"> 1839</span></div>
<div class="line"><a id="l01842" name="l01842"></a><span class="lineno"><a class="line" href="group__theap.html#gae23ae0b8776745a65198799883b67d33"> 1842</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gae23ae0b8776745a65198799883b67d33">mi_theap_rezalloc</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="l01843" name="l01843"></a><span class="lineno"> 1843</span></div>
<div class="line"><a id="l01845" name="l01845"></a><span class="lineno"><a class="line" href="group__theap.html#ga38eaa06d528e2a6b16cfe7d94113173a"> 1845</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#ga38eaa06d528e2a6b16cfe7d94113173a">mi_theap_realloc_aligned</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, <span class="keywordtype">size_t</span> alignment);</div>
<div class="line"><a id="l01846" name="l01846"></a><span class="lineno"> 1846</span></div>
<div class="line"><a id="l01849" name="l01849"></a><span class="lineno"><a class="line" href="group__theap.html#gab9644d3321db2e7970923970642faa5e"> 1849</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__theap.html#gab9644d3321db2e7970923970642faa5e">mi_theap_rezalloc_aligned</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, <span class="keywordtype">size_t</span> alignment);</div>
<div class="line"><a id="l01850" name="l01850"></a><span class="lineno"> 1850</span></div>
<div class="line"><a id="l01854" name="l01854"></a><span class="lineno"><a class="line" href="group__theap.html#ga4c23c5ba89c9210a3d3375d06e2fb0b5"> 1854</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__theap.html#ga4c23c5ba89c9210a3d3375d06e2fb0b5">mi_theap_guarded_set_sample_rate</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> sample_rate, <span class="keywordtype">size_t</span> seed);</div>
<div class="line"><a id="l01855" name="l01855"></a><span class="lineno"> 1855</span></div>
<div class="line"><a id="l01858" name="l01858"></a><span class="lineno"><a class="line" href="group__theap.html#ga1071de3351e1bcd88c75716dd11639b1"> 1858</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__theap.html#ga1071de3351e1bcd88c75716dd11639b1">mi_theap_guarded_set_size_bound</a>(<a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <span class="keywordtype">size_t</span> min, <span class="keywordtype">size_t</span> max);</div>
<div class="line"><a id="l01859" name="l01859"></a><span class="lineno"> 1859</span></div>
<div class="line"><a id="l01863" name="l01863"></a><span class="lineno"><a class="line" href="group__theap.html#ga93245a8b72250149459d2e667c4a6a4c"> 1863</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__theap.html#ga93245a8b72250149459d2e667c4a6a4c">mi_theap_visit_blocks</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group__theap.html#ga8722f6ac4f638b4692e06ddfddc844f8">mi_theap_t</a>* theap, <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="l01864" name="l01864"></a><span class="lineno"> 1864</span></div>
<div class="line"><a id="l01866" name="l01866"></a><span class="lineno"> 1866</span> </div>
<div class="line"><a id="l01867" name="l01867"></a><span class="lineno"> 1867</span></div>
<div class="line"><a id="l01873" name="l01873"></a><span class="lineno"> 1873</span> </div>
<div class="line"><a id="l01874" name="l01874"></a><span class="lineno"><a class="line" href="group__posix.html#ga66bcfeb4faedbb42b796bc680821ef84"> 1874</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="l01875" name="l01875"></a><span class="lineno"> 1875</span> </div>
<div class="line"><a id="l01876" name="l01876"></a><span class="lineno"><a class="line" href="group__posix.html#ga4531c9e775bb3ae12db57c1ba8a5d7de"> 1876</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="l01877" name="l01877"></a><span class="lineno"><a class="line" href="group__posix.html#ga9d23ac7885fed7413c11d8e0ffa31071"> 1877</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="l01878" name="l01878"></a><span class="lineno"><a class="line" href="group__posix.html#ga06d07cf357bbac5c73ba5d0c0c421e17"> 1878</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="l01879" name="l01879"></a><span class="lineno"> 1879</span> </div>
<div class="line"><a id="l01880" name="l01880"></a><span class="lineno"><a class="line" href="group__posix.html#gacff84f226ba9feb2031b8992e5579447"> 1880</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="l01881" name="l01881"></a><span class="lineno"><a class="line" href="group__posix.html#gad5a69c8fea96aa2b7a7c818c2130090a"> 1881</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="l01882" name="l01882"></a><span class="lineno"><a class="line" href="group__posix.html#ga726867f13fd29ca36064954c0285b1d8"> 1882</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="l01883" name="l01883"></a><span class="lineno"><a class="line" href="group__posix.html#ga50cafb9722020402f065de93799f64ca"> 1883</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="l01884" name="l01884"></a><span class="lineno"><a class="line" href="group__posix.html#ga644bebccdbb2821542dd8c7e7641f476"> 1884</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="l01885" name="l01885"></a><span class="lineno"> 1885</span></div>
<div class="line"><a id="l01888" name="l01888"></a><span class="lineno"><a class="line" href="group__posix.html#ga430ed1513f0571ff83be00ec58a98ee0"> 1888</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="l01889" name="l01889"></a><span class="lineno"> 1889</span></div>
<div class="line"><a id="l01892" name="l01892"></a><span class="lineno"><a class="line" href="group__posix.html#gabf9f3fe37c89da1d678785f90c411350"> 1892</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__posix.html#gabf9f3fe37c89da1d678785f90c411350">mi_free_sized</a>(<span class="keywordtype">void</span>* p, <span class="keywordtype">size_t</span> size);</div>
<div class="line"><a id="l01893" name="l01893"></a><span class="lineno"> 1893</span></div>
<div class="line"><a id="l01896" name="l01896"></a><span class="lineno"><a class="line" href="group__posix.html#ga3959f6735a09fa3e3f800e968ad08a33"> 1896</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__posix.html#ga3959f6735a09fa3e3f800e968ad08a33">mi_free_aligned_sized</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="l01897" name="l01897"></a><span class="lineno"> 1897</span> </div>
<div class="line"><a id="l01898" name="l01898"></a><span class="lineno"><a class="line" href="group__posix.html#gaa9fd7f25c9ac3a20e89b33bd6e383fcf"> 1898</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="l01899" name="l01899"></a><span class="lineno"><a class="line" href="group__posix.html#ga7b82a44094fdec4d2084eb4288a979b0"> 1899</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="l01900" name="l01900"></a><span class="lineno"><a class="line" href="group__posix.html#gab41369c1a1da7504013a7a0b1d4dd958"> 1900</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="l01901" name="l01901"></a><span class="lineno"><a class="line" href="group__posix.html#ga6ac6a6a8f3c96f1af24bb8d0439cbbd1"> 1901</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="l01902" name="l01902"></a><span class="lineno"> 1902</span></div>
<div class="line"><a id="l01905" name="l01905"></a><span class="lineno"><a class="line" href="group__posix.html#gadfeccb72748a2f6305474a37d9d57bce"> 1905</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="l01906" name="l01906"></a><span class="lineno"> 1906</span></div>
<div class="line"><a id="l01908" name="l01908"></a><span class="lineno"><a class="line" href="group__posix.html#ga7e1934d60a3e697950eeb48e042bfad5"> 1908</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="l01909" name="l01909"></a><span class="lineno"> 1909</span> </div>
<div class="line"><a id="l01910" name="l01910"></a><span class="lineno"><a class="line" href="group__posix.html#gaf82cbb4b4f24acf723348628451798d3"> 1910</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="l01911" name="l01911"></a><span class="lineno"><a class="line" href="group__posix.html#ga16570deddd559001b44953eedbad0084"> 1911</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="l01912" name="l01912"></a><span class="lineno"> 1912</span></div>
<div class="line"><a id="l01924" name="l01924"></a><span class="lineno"><a class="line" href="group__posix.html#gae01389eedab8d67341ff52e2aad80ebb"> 1924</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="l01925" name="l01925"></a><span class="lineno"> 1925</span></div>
<div class="line"><a id="l01936" name="l01936"></a><span class="lineno"><a class="line" href="group__posix.html#ga796602dae2a89797026f72e0c0240f32"> 1936</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="l01937" name="l01937"></a><span class="lineno"> 1937</span></div>
<div class="line"><a id="l01943" name="l01943"></a><span class="lineno"><a class="line" href="group__posix.html#ga72e9d7ffb5fe94d69bc722c8506e27bc"> 1943</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="l01944" name="l01944"></a><span class="lineno"> 1944</span></div>
<div class="line"><a id="l01949" name="l01949"></a><span class="lineno"><a class="line" href="group__posix.html#ga0d28d5cf61e6bfbb18c63092939fe5c9"> 1949</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="l01950" name="l01950"></a><span class="lineno"> 1950</span></div>
<div class="line"><a id="l01952" name="l01952"></a><span class="lineno"> 1952</span></div>
<div class="line"><a id="l01965" name="l01965"></a><span class="lineno"> 1965</span></div>
<div class="line"><a id="l01967" name="l01967"></a><span class="lineno"><a class="line" href="group__cpp.html#ga633d96e3bc7011f960df9f3b2731fc6a"> 1967</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="l01968" name="l01968"></a><span class="lineno"> 1968</span></div>
<div class="line"><a id="l01970" name="l01970"></a><span class="lineno"><a class="line" href="group__cpp.html#gadd11b85c15d21d308386844b5233856c"> 1970</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="l01971" name="l01971"></a><span class="lineno"> 1971</span></div>
<div class="line"><a id="l01973" name="l01973"></a><span class="lineno"><a class="line" href="group__cpp.html#ga79c54da0b4b4ce9fcc11d2f6ef6675f8"> 1973</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="l01974" name="l01974"></a><span class="lineno"> 1974</span></div>
<div class="line"><a id="l01976" name="l01976"></a><span class="lineno"><a class="line" href="group__cpp.html#ga5cb4f120d1f7296074256215aa9a9e54"> 1976</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="l01977" name="l01977"></a><span class="lineno"> 1977</span></div>
<div class="line"><a id="l01979" name="l01979"></a><span class="lineno"><a class="line" href="group__cpp.html#ga92ae00b6dd64406c7e64557711ec04b7"> 1979</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="l01980" name="l01980"></a><span class="lineno"> 1980</span></div>
<div class="line"><a id="l01982" name="l01982"></a><span class="lineno"><a class="line" href="group__cpp.html#ga6867d89baf992728e0cc20a1f47db4d0"> 1982</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="l01983" name="l01983"></a><span class="lineno"> 1983</span></div>
<div class="line"><a id="l01985" name="l01985"></a><span class="lineno"><a class="line" href="group__cpp.html#gaace912ce086682d56f3ce9f7638d9d67"> 1985</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="l01986" name="l01986"></a><span class="lineno"> 1986</span></div>
<div class="line"><a id="l01988" name="l01988"></a><span class="lineno"><a class="line" href="group__cpp.html#ga753efa8cc03dccc15a845e65b007bef3"> 1988</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga753efa8cc03dccc15a845e65b007bef3">mi_heap_alloc_new</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="l01989" name="l01989"></a><span class="lineno"> 1989</span></div>
<div class="line"><a id="l01991" name="l01991"></a><span class="lineno"><a class="line" href="group__cpp.html#ga5ebce0536d0f09f833e56dc9d57e8f11"> 1991</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga5ebce0536d0f09f833e56dc9d57e8f11">mi_heap_alloc_new_n</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="l01992" name="l01992"></a><span class="lineno"> 1992</span></div>
<div class="line"><a id="l01994" name="l01994"></a><span class="lineno"><a class="line" href="group__cpp.html#ga05a7b3982d0b038411a91f7f6281ce18"> 1994</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga05a7b3982d0b038411a91f7f6281ce18">mi_theap_alloc_new</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="l01995" name="l01995"></a><span class="lineno"> 1995</span></div>
<div class="line"><a id="l01997" name="l01997"></a><span class="lineno"><a class="line" href="group__cpp.html#gac418458e7514e24a54409e394d821fbd"> 1997</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#gac418458e7514e24a54409e394d821fbd">mi_theap_alloc_new_n</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="l01998" name="l01998"></a><span class="lineno"> 1998</span></div>
<div class="line"><a id="l02001" name="l02001"></a><span class="lineno"><a class="line" href="group__cpp.html#ga4c50cf162abfa03981b2057026c6405c"> 2001</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="group__cpp.html#ga4c50cf162abfa03981b2057026c6405c">mi_theap_alloc_new_nothrow</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="l02002" name="l02002"></a><span class="lineno"> 2002</span></div>
<div class="line"><a id="l02010" name="l02010"></a><span class="lineno"><a class="line" href="group__cpp.html"> 2010</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="l02011" name="l02011"></a><span class="lineno"> 2011</span></div>
<div class="line"><a id="l02013" name="l02013"></a><span class="lineno"> 2013</span></div>
<div class="line"><a id="l02120" name="l02120"></a><span class="lineno"> 2120</span></div>
<div class="line"><a id="l02234" name="l02234"></a><span class="lineno"> 2234</span></div>
<div class="line"><a id="l02305" name="l02305"></a><span class="lineno"> 2305</span></div>
<div class="line"><a id="l02486" name="l02486"></a><span class="lineno"> 2486</span></div>
<div class="line"><a id="l02689" name="l02689"></a><span class="lineno"> 2689</span></div>
<div class="line"><a id="l02731" name="l02731"></a><span class="lineno"> 2731</span></div>
<div class="line"><a id="l02759" name="l02759"></a><span class="lineno"> 2759</span></div>
<div class="line"><a id="l02827" name="l02827"></a><span class="lineno"> 2827</span></div>
<div class="line"><a id="l02925" name="l02925"></a><span class="lineno"> 2925</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:829</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:827</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:825</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:828</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:826</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:823</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:824</div></div>
<div class="ttc" id="agroup__analysis_html_ga5c759c77e81e6beb69f32431f87111d0"><div class="ttname"><a href="group__analysis.html#ga5c759c77e81e6beb69f32431f87111d0">mi_unsafe_heap_page_is_under_utilized</a></div><div class="ttdeci">bool mi_unsafe_heap_page_is_under_utilized(mi_heap_t *heap, void *p, size_t perc_threshold)</div><div class="ttdoc">v3, experimental: Test whether an eligible page containing p is at most perc_threshold percent utiliz...</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:839</div></div>
<div class="ttc" id="agroup__analysis_html_ga9de0049491f636b8edc3d0bae0f194de"><div class="ttname"><a href="group__analysis.html#ga9de0049491f636b8edc3d0bae0f194de">mi_heap_visit_abandoned_blocks</a></div><div class="ttdeci">bool mi_heap_visit_abandoned_blocks(mi_heap_t *heap, bool visit_blocks, mi_block_visit_fun *visitor, void *arg)</div><div class="ttdoc">v3: Visit only abandoned pages of heap, optionally visiting their allocated blocks.</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:822</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_ga21037f1b7c250e623b5238a77e2d6905"><div class="ttname"><a href="group__arenas.html#ga21037f1b7c250e623b5238a77e2d6905">mi_arena_contains</a></div><div class="ttdeci">bool mi_arena_contains(mi_arena_id_t arena_id, const void *p)</div><div class="ttdoc">v3: Test whether p is inside the arena or one of its subarenas.</div></div>
<div class="ttc" id="agroup__arenas_html_ga2150843a8548920d956a6eed1fe73ca4"><div class="ttname"><a href="group__arenas.html#ga2150843a8548920d956a6eed1fe73ca4">mi_arenas_print</a></div><div class="ttdeci">void mi_arenas_print(void)</div><div class="ttdoc">v3: Print the current subprocess's arenas; equivalent to mi_debug_show_arenas().</div></div>
<div class="ttc" id="agroup__arenas_html_ga2664f36a2dd557741c429cb799f04641"><div class="ttname"><a href="group__arenas.html#ga2664f36a2dd557741c429cb799f04641">mi_reserve_huge_os_pages</a></div><div class="ttdeci">int mi_reserve_huge_os_pages(size_t pages, double max_secs, size_t *pages_reserved)</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_ga4e1559c360fd1016c718d553d87e1545"><div class="ttname"><a href="group__arenas.html#ga4e1559c360fd1016c718d553d87e1545">mi_arena_max_object_size</a></div><div class="ttdeci">size_t mi_arena_max_object_size(void)</div><div class="ttdoc">v3: Return the current maximum object size allowed in an arena, in bytes.</div></div>
<div class="ttc" id="agroup__arenas_html_ga575c77780b8de4e0b6eda65bbf1593e8"><div class="ttname"><a href="group__arenas.html#ga575c77780b8de4e0b6eda65bbf1593e8">mi_arenas_purge</a></div><div class="ttdeci">void mi_arenas_purge(void)</div><div class="ttdoc">v3: Try to purge unused memory in the main subprocess's arenas.</div></div>
<div class="ttc" id="agroup__arenas_html_ga57cd6a0b6b289b862eb3371e99dc13b5"><div class="ttname"><a href="group__arenas.html#ga57cd6a0b6b289b862eb3371e99dc13b5">mi_manage_memory</a></div><div class="ttdeci">bool mi_manage_memory(void *start, size_t size, bool is_committed, bool is_pinned, bool is_zero, int numa_node, bool exclusive, mi_commit_fun_t *commit_fun, void *commit_fun_arg, mi_arena_id_t *arena_id)</div><div class="ttdoc">v3, experimental: As mi_manage_os_memory_ex(), with a custom commit/decommit callback.</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_ga79da188fa77f8d05627007268b90b24e"><div class="ttname"><a href="group__arenas.html#ga79da188fa77f8d05627007268b90b24e">mi_arena_min_size</a></div><div class="ttdeci">size_t mi_arena_min_size(void)</div><div class="ttdoc">v3: Return the minimum arena size in bytes.</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:901</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__arenas_html_gacc741d08d7075ff38bb222962769bea7"><div class="ttname"><a href="group__arenas.html#gacc741d08d7075ff38bb222962769bea7">mi_commit_fun_t</a></div><div class="ttdeci">bool mi_commit_fun_t(bool commit, void *start, size_t size, bool *is_zero, void *user_arg)</div><div class="ttdoc">experimental: Callback for committing or decommitting a managed memory range.</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1007</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_ga6fb968bb46f18f107d8d933e44964b10"><div class="ttname"><a href="group__constantsize.html#ga6fb968bb46f18f107d8d933e44964b10">mi_free_csize_aligned</a></div><div class="ttdeci">void mi_free_csize_aligned(void *p, size_t size, size_t aligned)</div><div class="ttdoc">v3: Free a pointer using its known allocation size and alignment.</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__constantsize_html_gaf6715d45503bba655a4e7407bf8e0f92"><div class="ttname"><a href="group__constantsize.html#gaf6715d45503bba655a4e7407bf8e0f92">mi_free_csize_aligned_nonnull</a></div><div class="ttdeci">void mi_free_csize_aligned_nonnull(void *p, size_t size, size_t aligned)</div><div class="ttdoc">As mi_free_csize_aligned(), but p must not be NULL.</div></div>
<div class="ttc" id="agroup__cpp_html_ga05a7b3982d0b038411a91f7f6281ce18"><div class="ttname"><a href="group__cpp.html#ga05a7b3982d0b038411a91f7f6281ce18">mi_theap_alloc_new</a></div><div class="ttdeci">void * mi_theap_alloc_new(mi_theap_t *theap, size_t size)</div><div class="ttdoc">As mi_new(), using a theap belonging to the calling thread.</div></div>
<div class="ttc" id="agroup__cpp_html_ga4c50cf162abfa03981b2057026c6405c"><div class="ttname"><a href="group__cpp.html#ga4c50cf162abfa03981b2057026c6405c">mi_theap_alloc_new_nothrow</a></div><div class="ttdeci">void * mi_theap_alloc_new_nothrow(mi_theap_t *theap, size_t size)</div><div class="ttdoc">As mi_new_nothrow(), using a theap belonging to the calling thread.</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_ga5ebce0536d0f09f833e56dc9d57e8f11"><div class="ttname"><a href="group__cpp.html#ga5ebce0536d0f09f833e56dc9d57e8f11">mi_heap_alloc_new_n</a></div><div class="ttdeci">void * mi_heap_alloc_new_n(mi_heap_t *heap, size_t count, size_t size)</div><div class="ttdoc">As mi_new_n(), allocating count elements of size bytes from the specified heap.</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_ga753efa8cc03dccc15a845e65b007bef3"><div class="ttname"><a href="group__cpp.html#ga753efa8cc03dccc15a845e65b007bef3">mi_heap_alloc_new</a></div><div class="ttdeci">void * mi_heap_alloc_new(mi_heap_t *heap, size_t size)</div><div class="ttdoc">As mi_new(), allocating from the specified heap.</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_gac418458e7514e24a54409e394d821fbd"><div class="ttname"><a href="group__cpp.html#gac418458e7514e24a54409e394d821fbd">mi_theap_alloc_new_n</a></div><div class="ttdeci">void * mi_theap_alloc_new_n(mi_theap_t *theap, size_t count, size_t size)</div><div class="ttdoc">As mi_new_n(), using a theap belonging to the calling thread.</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:2010</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_ga0c900eb3ce2344ee9cbaa49b2668bcca"><div class="ttname"><a href="group__extended.html#ga0c900eb3ce2344ee9cbaa49b2668bcca">mi_collect_reduce</a></div><div class="ttdeci">void mi_collect_reduce(size_t target_thread_owned)</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:1191</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_ga33e54ec86fc7da4bebb673429c399402"><div class="ttname"><a href="group__extended.html#ga33e54ec86fc7da4bebb673429c399402">mi_process_init</a></div><div class="ttdeci">void mi_process_init(void)</div><div class="ttdoc">Initialize mimalloc for the process. Normally called automatically; repeated calls have no effect.</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_ga4adb0ce31957ca422d62d248fab9f7cf"><div class="ttname"><a href="group__extended.html#ga4adb0ce31957ca422d62d248fab9f7cf">mi_process_done</a></div><div class="ttdeci">void mi_process_done(void)</div><div class="ttdoc">Perform process-exit cleanup.</div></div>
<div class="ttc" id="agroup__extended_html_ga4bed1e708005f676c2cc5f5627f3290a"><div class="ttname"><a href="group__extended.html#ga4bed1e708005f676c2cc5f5627f3290a">mi_wsize_from_size</a></div><div class="ttdeci">size_t mi_wsize_from_size(size_t size)</div><div class="ttdoc">v3: Convert a byte size to a number of sizeof(size_t) words, rounding up.</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_ga61113cc91b1d6de4ace7b693739b2352"><div class="ttname"><a href="group__extended.html#ga61113cc91b1d6de4ace7b693739b2352">mi_wzalloc_small</a></div><div class="ttdeci">void * mi_wzalloc_small(size_t wsize)</div><div class="ttdoc">v3: As mi_wmalloc_small(), but zero-initialize the allocation.</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:1230</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_gaca0c3f3a03a9d5e4869e8b7cb519f209"><div class="ttname"><a href="group__extended.html#gaca0c3f3a03a9d5e4869e8b7cb519f209">mi_free_small_local</a></div><div class="ttdeci">void mi_free_small_local(void *p)</div><div class="ttdoc">v3: As mi_free_small(), but the block's page must be owned by the calling thread.</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_gaddce8f584e649a1b7ca48298dc52fe77"><div class="ttname"><a href="group__extended.html#gaddce8f584e649a1b7ca48298dc52fe77">mi_wmalloc_small</a></div><div class="ttdeci">void * mi_wmalloc_small(size_t wsize)</div><div class="ttdoc">v3: Allocate a small object with its size expressed in machine words.</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:1215</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_gae87594f2195ccde8fd3fe30038bc7cd5"><div class="ttname"><a href="group__extended.html#gae87594f2195ccde8fd3fe30038bc7cd5">mi_free_small_local_nonnull</a></div><div class="ttdeci">void mi_free_small_local_nonnull(void *p)</div><div class="ttdoc">As mi_free_small_local(), but p must not be NULL.</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 heap, releasing its internal resources but keeping live blocks intact.</div></div>
<div class="ttc" id="agroup__heap_html_ga3309f6db82d14343dd84d9d71ec93e64"><div class="ttname"><a href="group__heap.html#ga3309f6db82d14343dd84d9d71ec93e64">mi_heap_set_debug_fill_preserve</a></div><div class="ttdeci">void mi_heap_set_debug_fill_preserve(mi_heap_t *heap, size_t preserve)</div><div class="ttdoc">v3: Exclude the first preserve bytes of each block from debug filling on allocation and free.</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:620</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_ga5774713972f49144861270241f458864"><div class="ttname"><a href="group__heap.html#ga5774713972f49144861270241f458864">mi_thread_heap_release</a></div><div class="ttdeci">void mi_thread_heap_release(mi_heap_t *heap)</div><div class="ttdoc">Release a heap in the calling thread – promises to not allocate in that heap anymore.</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_ga22252f0d9e380047d3684a6c99d330ae"><div class="ttname"><a href="group__malloc.html#ga22252f0d9e380047d3684a6c99d330ae">mi_thread_id_of</a></div><div class="ttdeci">size_t mi_thread_id_of(const void *p)</div><div class="ttdoc">experimental: Return the current owner thread-id of the page containing a live allocation.</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:1679</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:1700</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:1717</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:1718</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:1697</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:1682</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:1712</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:1730</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:1710</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:1708</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:1707</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">v1,v2: allow visiting heap blocks from abandoned threads (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1720</div></div>
<div class="ttc" id="agroup__options_html_ggafebf7ed116adb38ae5218bc3ce06884ca43b79b760b200e99c3c64e9d2c09719b"><div class="ttname"><a href="group__options.html#ggafebf7ed116adb38ae5218bc3ce06884ca43b79b760b200e99c3c64e9d2c09719b">mi_option_unsafe_guarded_precise</a></div><div class="ttdeci">@ mi_option_unsafe_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:1702</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:1694</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:1733</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:1732</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:1735</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:1715</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:1731</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:1729</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:1704</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:1683</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:1691</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:1716</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:1721</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:1696</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:1695</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:1701</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:1692</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:1689</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:1728</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:1714</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:1727</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:1693</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:1724</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:1688</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:1726</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:1713</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:1711</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:1719</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">guard an object in the min/max range about every N requested bytes (=0)</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1703</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:1684</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:1725</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:1685</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:1681</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:1690</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:1709</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_ga3959f6735a09fa3e3f800e968ad08a33"><div class="ttname"><a href="group__posix.html#ga3959f6735a09fa3e3f800e968ad08a33">mi_free_aligned_sized</a></div><div class="ttdeci">void mi_free_aligned_sized(void *p, size_t alignment, size_t size)</div><div class="ttdoc">Corresponds to C23 free_aligned_sized.</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 class="ttdoc">Corresponds to C11 aligned_alloc.</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_gabf9f3fe37c89da1d678785f90c411350"><div class="ttname"><a href="group__posix.html#gabf9f3fe37c89da1d678785f90c411350">mi_free_sized</a></div><div class="ttdeci">void mi_free_sized(void *p, size_t size)</div><div class="ttdoc">Corresponds to C23 free_sized.</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__profiling_html_ga22e300c5e486531efc88fd31ac08e9f9"><div class="ttname"><a href="group__profiling.html#ga22e300c5e486531efc88fd31ac08e9f9">mi_pprof_profiler_new</a></div><div class="ttdeci">mi_profiler_t * mi_pprof_profiler_new(size_t initial_threshold, const char *base_file_name, size_t alloc_interval_size, size_t inuse_interval_size, size_t time_interval_secs)</div><div class="ttdoc">experimental: Create the built-in pprof-compatible profiler.</div></div>
<div class="ttc" id="agroup__profiling_html_ga36e950fb134eb95fd4669c3a3b85e212"><div class="ttname"><a href="group__profiling.html#ga36e950fb134eb95fd4669c3a3b85e212">mi_profile</a></div><div class="ttdeci">bool mi_profile(mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Attach a profiler to the current and future heaps of the main subprocess.</div></div>
<div class="ttc" id="agroup__profiling_html_ga759a5cad55bd9014bf7bde946ca2fa38"><div class="ttname"><a href="group__profiling.html#ga759a5cad55bd9014bf7bde946ca2fa38">mi_profiler_start</a></div><div class="ttdeci">bool mi_profiler_start(mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Start sampling with an attached profiler.</div></div>
<div class="ttc" id="agroup__profiling_html_ga9783ebac45ef297ce1358cfd1f8e4080"><div class="ttname"><a href="group__profiling.html#ga9783ebac45ef297ce1358cfd1f8e4080">mi_profiler_t</a></div><div class="ttdeci">struct mi_profiler_s mi_profiler_t</div><div class="ttdoc">Profiler type. Custom profiler fields and callback types are defined in <mimalloc-profile....</div><div class="ttdef"><b>Definition</b> mimalloc-doc.h:1597</div></div>
<div class="ttc" id="agroup__profiling_html_gaa3be0ee40c382b0633b10284857f4b1c"><div class="ttname"><a href="group__profiling.html#gaa3be0ee40c382b0633b10284857f4b1c">mi_profiler_snapshot</a></div><div class="ttdeci">void mi_profiler_snapshot(mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Take a snapshot of the current profile.</div></div>
<div class="ttc" id="agroup__profiling_html_gaa7e0a272b9157783b0b63bbe44070a5b"><div class="ttname"><a href="group__profiling.html#gaa7e0a272b9157783b0b63bbe44070a5b">mi_profiler_stop</a></div><div class="ttdeci">bool mi_profiler_stop(mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Stop sampling.</div></div>
<div class="ttc" id="agroup__profiling_html_gab9a180271506d5c5fe80814179a5f568"><div class="ttname"><a href="group__profiling.html#gab9a180271506d5c5fe80814179a5f568">mi_heap_profile_disable</a></div><div class="ttdeci">void mi_heap_profile_disable(mi_heap_t *heap)</div><div class="ttdoc">experimental: Exclude a heap from profiling, even when a profiler is subsequently attached to its sub...</div></div>
<div class="ttc" id="agroup__profiling_html_gac2b13c51ed12b1fe261290ba14826444"><div class="ttname"><a href="group__profiling.html#gac2b13c51ed12b1fe261290ba14826444">mi_subproc_profile</a></div><div class="ttdeci">bool mi_subproc_profile(mi_subproc_id_t subproc_id, mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Attach a profiler to the current and future heaps of a particular subprocess.</div></div>
<div class="ttc" id="agroup__profiling_html_gace9a7225c5ce92054ec13ed649d8f963"><div class="ttname"><a href="group__profiling.html#gace9a7225c5ce92054ec13ed649d8f963">mi_heap_profile</a></div><div class="ttdeci">bool mi_heap_profile(mi_heap_t *heap, mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Attach a profiler to a particular heap, or pass NULL as the profiler to detach.</div></div>
<div class="ttc" id="agroup__profiling_html_gaef24d75e08cedc0018925908b51d7fb1"><div class="ttname"><a href="group__profiling.html#gaef24d75e08cedc0018925908b51d7fb1">mi_pprof_profiler_delete</a></div><div class="ttdeci">void mi_pprof_profiler_delete(mi_profiler_t *profiler)</div><div class="ttdoc">experimental: Delete a built-in profiler created by mi_pprof_profiler_new().</div></div>
<div class="ttc" id="agroup__sized_html_ga2dfaf5d485ce83c7230ee6cb868f299e"><div class="ttname"><a href="group__sized.html#ga2dfaf5d485ce83c7230ee6cb868f299e">mi_ufree</a></div><div class="ttdeci">void mi_ufree(void *p, size_t *block_size)</div><div class="ttdoc">Free p and report its block size, or 0 if p is NULL.</div></div>
<div class="ttc" id="agroup__sized_html_ga30d62ba1eb4c207590b7d7be011c9d56"><div class="ttname"><a href="group__sized.html#ga30d62ba1eb4c207590b7d7be011c9d56">mi_ucalloc</a></div><div class="ttdeci">void * mi_ucalloc(size_t count, size_t size, size_t *block_size)</div><div class="ttdoc">Allocate count zero-initialized elements of size bytes and report the block size.</div></div>
<div class="ttc" id="agroup__sized_html_ga46f2c3c334f83cd933671a392934053f"><div class="ttname"><a href="group__sized.html#ga46f2c3c334f83cd933671a392934053f">mi_umalloc_aligned</a></div><div class="ttdeci">void * mi_umalloc_aligned(size_t size, size_t alignment, size_t *block_size)</div><div class="ttdoc">As mi_malloc_aligned(), additionally reporting the block size on success.</div></div>
<div class="ttc" id="agroup__sized_html_ga7e82d9c99fa8feaee9f1306732fba15d"><div class="ttname"><a href="group__sized.html#ga7e82d9c99fa8feaee9f1306732fba15d">mi_umalloc_small</a></div><div class="ttdeci">void * mi_umalloc_small(size_t size, size_t *block_size)</div><div class="ttdoc">As mi_malloc_small(), additionally reporting the block size on success.</div></div>
<div class="ttc" id="agroup__sized_html_ga822081073810a5e033b771625ab518ca"><div class="ttname"><a href="group__sized.html#ga822081073810a5e033b771625ab518ca">mi_uzalloc_aligned</a></div><div class="ttdeci">void * mi_uzalloc_aligned(size_t size, size_t alignment, size_t *block_size)</div><div class="ttdoc">As mi_zalloc_aligned(), additionally reporting the block size on success.</div></div>
<div class="ttc" id="agroup__sized_html_ga93fd303998578e6cb0914d79c25efd4f"><div class="ttname"><a href="group__sized.html#ga93fd303998578e6cb0914d79c25efd4f">mi_urealloc</a></div><div class="ttdeci">void * mi_urealloc(void *p, size_t newsize, size_t *block_size_pre, size_t *block_size_post)</div><div class="ttdoc">Reallocate p to newsize bytes and report the old and new block sizes.</div></div>
<div class="ttc" id="agroup__sized_html_gada2639c52f265186a12429435739627b"><div class="ttname"><a href="group__sized.html#gada2639c52f265186a12429435739627b">mi_umalloc</a></div><div class="ttdeci">void * mi_umalloc(size_t size, size_t *block_size)</div><div class="ttdoc">Allocate size bytes and report the block size through block_size.</div></div>
<div class="ttc" id="agroup__sized_html_gafe63673cd80308a142b454ec023ca22e"><div class="ttname"><a href="group__sized.html#gafe63673cd80308a142b454ec023ca22e">mi_uzalloc_small</a></div><div class="ttdeci">void * mi_uzalloc_small(size_t size, size_t *block_size)</div><div class="ttdoc">As mi_zalloc_small(), additionally reporting the block size on success.</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:1366</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:1364</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_ga13a431ecfe86d9c7e65aa6605511590b"><div class="ttname"><a href="group__stats.html#ga13a431ecfe86d9c7e65aa6605511590b">mi_theap_stats_merge_to_heap</a></div><div class="ttdeci">void mi_theap_stats_merge_to_heap(mi_theap_t *theap)</div><div class="ttdoc">v3: Merge a theap's statistics into its parent heap and clear the theap counters.</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>
<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_ga6b09b30867f2fa4244e7363e92e44cc7"><div class="ttname"><a href="group__stats.html#ga6b09b30867f2fa4244e7363e92e44cc7">mi_stats_init</a></div><div class="ttdeci">void mi_stats_init(mi_stats_t *stats)</div><div class="ttdoc">Zero all counters and initialize the size and version fields of stats.</div></div>
<div class="ttc" id="agroup__stats_html_ga796d06376a6c8166e791aec4bbd55548"><div class="ttname"><a href="group__stats.html#ga796d06376a6c8166e791aec4bbd55548">mi_theap_stats_get</a></div><div class="ttdeci">bool mi_theap_stats_get(mi_theap_t *theap, mi_stats_t *stats)</div><div class="ttdoc">v3: Get statistics for a theap belonging to the calling thread.</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_ga8e237e9970723fcb5fdbfe094cee862a"><div class="ttname"><a href="group__stats.html#ga8e237e9970723fcb5fdbfe094cee862a">mi_subproc_stats_get_exclusive</a></div><div class="ttdeci">bool mi_subproc_stats_get_exclusive(mi_subproc_id_t subproc_id, mi_stats_t *stats)</div><div class="ttdoc">v3: Get subprocess statistics without aggregating its heaps.</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_gab1dac8476c46cb9eecab767eb40c1525"><div class="ttname"><a href="group__stats.html#gab1dac8476c46cb9eecab767eb40c1525">mi_thread_stats_print_out</a></div><div class="ttdeci">void mi_thread_stats_print_out(mi_output_fun *out, void *arg)</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_gaf653d33dc50c2e4fd5a3293f7862be5e"><div class="ttname"><a href="group__stats.html#gaf653d33dc50c2e4fd5a3293f7862be5e">mi_stats_header_init</a></div><div class="ttdeci">void mi_stats_header_init(mi_stats_t *stats)</div><div class="ttdoc">Initialize only the size and version fields of stats, leaving counters unchanged.</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:1362</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:1103</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:1072</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_ga1071de3351e1bcd88c75716dd11639b1"><div class="ttname"><a href="group__theap.html#ga1071de3351e1bcd88c75716dd11639b1">mi_theap_guarded_set_size_bound</a></div><div class="ttdeci">void mi_theap_guarded_set_size_bound(mi_theap_t *theap, size_t min, size_t max)</div><div class="ttdoc">experimental: Set inclusive size bounds in bytes for guarded allocations in this theap.</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_ga38eaa06d528e2a6b16cfe7d94113173a"><div class="ttname"><a href="group__theap.html#ga38eaa06d528e2a6b16cfe7d94113173a">mi_theap_realloc_aligned</a></div><div class="ttdeci">void * mi_theap_realloc_aligned(mi_theap_t *theap, void *p, size_t newsize, size_t alignment)</div><div class="ttdoc">As mi_realloc_aligned(), using a theap belonging to the calling thread.</div></div>
<div class="ttc" id="agroup__theap_html_ga4c23c5ba89c9210a3d3375d06e2fb0b5"><div class="ttname"><a href="group__theap.html#ga4c23c5ba89c9210a3d3375d06e2fb0b5">mi_theap_guarded_set_sample_rate</a></div><div class="ttdeci">void mi_theap_guarded_set_sample_rate(mi_theap_t *theap, size_t sample_rate, size_t seed)</div><div class="ttdoc">experimental: Set guarded-allocation sampling for a theap belonging to the calling thread.</div></div>
<div class="ttc" id="agroup__theap_html_ga6bcfc116fe2f73f808826f67e39057d7"><div class="ttname"><a href="group__theap.html#ga6bcfc116fe2f73f808826f67e39057d7">mi_theap_wmalloc_small</a></div><div class="ttdeci">void * mi_theap_wmalloc_small(mi_theap_t *theap, size_t wsize)</div><div class="ttdoc">As mi_wmalloc_small(), using a non-NULL theap belonging to the calling thread.</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:1771</div></div>
<div class="ttc" id="agroup__theap_html_ga93245a8b72250149459d2e667c4a6a4c"><div class="ttname"><a href="group__theap.html#ga93245a8b72250149459d2e667c4a6a4c">mi_theap_visit_blocks</a></div><div class="ttdeci">bool mi_theap_visit_blocks(const mi_theap_t *theap, bool visit_blocks, mi_block_visit_fun *visitor, void *arg)</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_ga9f782a7118d8ef2717d17d9681faa459"><div class="ttname"><a href="group__theap.html#ga9f782a7118d8ef2717d17d9681faa459">mi_theap_delete</a></div><div class="ttdeci">void mi_theap_delete(mi_theap_t *theap)</div><div class="ttdoc">experimental: Abandon a theap's pages and delete the theap, preserving its heap and live blocks.</div></div>
<div class="ttc" id="agroup__theap_html_gaa37999725c71106b26aab944f5f80551"><div class="ttname"><a href="group__theap.html#gaa37999725c71106b26aab944f5f80551">mi_theap_wzalloc_small</a></div><div class="ttdeci">void * mi_theap_wzalloc_small(mi_theap_t *theap, size_t wsize)</div><div class="ttdoc">As mi_wzalloc_small(), using a non-NULL theap belonging to the calling thread.</div></div>
<div class="ttc" id="agroup__theap_html_gaa73e21ada632a3f688f7cdbb5ce84ae6"><div class="ttname"><a href="group__theap.html#gaa73e21ada632a3f688f7cdbb5ce84ae6">mi_theap_zalloc_aligned</a></div><div class="ttdeci">void * mi_theap_zalloc_aligned(mi_theap_t *theap, size_t size, size_t alignment)</div><div class="ttdoc">As mi_zalloc_aligned(), using a theap belonging to the calling thread.</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_gab042c89cab6553b6ff775d6d92362800"><div class="ttname"><a href="group__theap.html#gab042c89cab6553b6ff775d6d92362800">mi_theap_quiescent_abandon</a></div><div class="ttdeci">void mi_theap_quiescent_abandon(mi_theap_t *theap)</div><div class="ttdoc">experimental: Abandon all pages, preserving the theap and live blocks for reuse.</div></div>
<div class="ttc" id="agroup__theap_html_gab9644d3321db2e7970923970642faa5e"><div class="ttname"><a href="group__theap.html#gab9644d3321db2e7970923970642faa5e">mi_theap_rezalloc_aligned</a></div><div class="ttdeci">void * mi_theap_rezalloc_aligned(mi_theap_t *theap, void *p, size_t newsize, size_t alignment)</div><div class="ttdoc">As mi_rezalloc_aligned(), using a theap belonging to the calling thread.</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__theap_html_gae23ae0b8776745a65198799883b67d33"><div class="ttname"><a href="group__theap.html#gae23ae0b8776745a65198799883b67d33">mi_theap_rezalloc</a></div><div class="ttdeci">void * mi_theap_rezalloc(mi_theap_t *theap, void *p, size_t newsize)</div><div class="ttdoc">As mi_rezalloc(), using a theap belonging to the calling thread.</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>