summaryrefslogtreecommitdiff
path: root/mem_8h.html
diff options
context:
space:
mode:
Diffstat (limited to 'mem_8h.html')
-rw-r--r--mem_8h.html915
1 files changed, 915 insertions, 0 deletions
diff --git a/mem_8h.html b/mem_8h.html
new file mode 100644
index 00000000..5a6682ff
--- /dev/null
+++ b/mem_8h.html
@@ -0,0 +1,915 @@
+<!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">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.15"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>PipeWire: mem.h File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtreedata.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+ $(document).ready(initResizable);
+/* @license-end */</script>
+<link href="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 style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">PipeWire
+ &#160;<span id="projectnumber">0.2.9</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.15 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+/* @license-end */</script>
+<div id="main-nav"></div>
+</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" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(document).ready(function(){initNavTree('mem_8h.html','');});
+/* @license-end */
+</script>
+<div id="doc-content">
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> &#124;
+<a href="#define-members">Macros</a> &#124;
+<a href="#enum-members">Enumerations</a> &#124;
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">mem.h File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><div class="dynheader">
+Include dependency graph for mem.h:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h__incl.png" border="0" usemap="#mem_8h" alt=""/></div>
+<map name="mem_8h" id="mem_8h">
+<area shape="rect" title=" " alt="" coords="51,5,119,32"/>
+<area shape="rect" href="properties_8h.html" title=" " alt="" coords="5,80,165,107"/>
+<area shape="rect" title=" " alt="" coords="27,155,144,181"/>
+</map>
+</div>
+</div><div class="textblock"><div class="dynheader">
+This graph shows which files directly or indirectly include this file:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h__dep__incl.png" border="0" usemap="#mem_8hdep" alt=""/></div>
+<map name="mem_8hdep" id="mem_8hdep">
+<area shape="rect" title=" " alt="" coords="5,5,73,32"/>
+<area shape="rect" href="mem_8c.html" title=" " alt="" coords="6,80,73,107"/>
+</map>
+</div>
+</div>
+<p><a href="mem_8h_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__mempool.html">pw_mempool</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__memblock.html">pw_memblock</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Memory block structure. <a href="structpw__memblock.html#details">More...</a><br /></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__memmap.html">pw_memmap</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">a mapped region of a <a class="el" href="structpw__memblock.html" title="Memory block structure.">pw_memblock</a> <a href="structpw__memmap.html#details">More...</a><br /></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__mempool__events.html">pw_mempool_events</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__map__range.html">pw_map_range</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">parameters to map a memory range <a href="structpw__map__range.html#details">More...</a><br /></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
+Macros</h2></td></tr>
+<tr class="memitem:a3dbe2152d1ae85434bf57f58e6c37043"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a3dbe2152d1ae85434bf57f58e6c37043">PW_VERSION_MEMPOOL_EVENTS</a>&#160;&#160;&#160;0</td></tr>
+<tr class="separator:a3dbe2152d1ae85434bf57f58e6c37043"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9d831e5773c3aa8ac62d72f6e4a161b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a9d831e5773c3aa8ac62d72f6e4a161b7">PW_MAP_RANGE_INIT</a>&#160;&#160;&#160;(struct <a class="el" href="structpw__map__range.html">pw_map_range</a>){ 0, }</td></tr>
+<tr class="separator:a9d831e5773c3aa8ac62d72f6e4a161b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:a1daf40887c9a63347e9c59822287747a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747a">pw_memmap_flags</a> { <br />
+&#160;&#160;<a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747aac3e5ceea50faacf9d2aac1670f07fd65">PW_MEMMAP_FLAG_NONE</a> = 0,
+<br />
+&#160;&#160;<a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747aa58334ee09eeba50b788a04f276440475">PW_MEMMAP_FLAG_READ</a> = (1 &lt;&lt; 0),
+<br />
+&#160;&#160;<a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747aa8b0a302b83a9d3cd11e2b6ed7f82f546">PW_MEMMAP_FLAG_WRITE</a> = (1 &lt;&lt; 1),
+<br />
+&#160;&#160;<a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747aaf12060ee3328912e62d05650edaa999a">PW_MEMMAP_FLAG_TWICE</a> = (1 &lt;&lt; 2),
+<br />
+&#160;&#160;<a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747aa5e15b1dc0d4d0354a37a841af139411b">PW_MEMMAP_FLAG_READWRITE</a> = PW_MEMMAP_FLAG_READ | PW_MEMMAP_FLAG_WRITE
+<br />
+ }</td></tr>
+<tr class="separator:a1daf40887c9a63347e9c59822287747a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ae5e42242439fef39fd696db151642513"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#ae5e42242439fef39fd696db151642513">pw_mempool_new</a> (struct <a class="el" href="structpw__properties.html">pw_properties</a> *<a class="el" href="structprops.html">props</a>)</td></tr>
+<tr class="memdesc:ae5e42242439fef39fd696db151642513"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new memory pool. <a href="#ae5e42242439fef39fd696db151642513">More...</a><br /></td></tr>
+<tr class="separator:ae5e42242439fef39fd696db151642513"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5c298052be6fe8f5f4ea78b4fe41733d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a5c298052be6fe8f5f4ea78b4fe41733d">pw_mempool_add_listener</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, struct spa_hook *listener, const struct <a class="el" href="structpw__mempool__events.html">pw_mempool_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr>
+<tr class="memdesc:a5c298052be6fe8f5f4ea78b4fe41733d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Listen for events. <a href="#a5c298052be6fe8f5f4ea78b4fe41733d">More...</a><br /></td></tr>
+<tr class="separator:a5c298052be6fe8f5f4ea78b4fe41733d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab253128cb2d2bc7ad5203d2b65e762c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#ab253128cb2d2bc7ad5203d2b65e762c8">pw_mempool_destroy</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool)</td></tr>
+<tr class="memdesc:ab253128cb2d2bc7ad5203d2b65e762c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a pool. <a href="#ab253128cb2d2bc7ad5203d2b65e762c8">More...</a><br /></td></tr>
+<tr class="separator:ab253128cb2d2bc7ad5203d2b65e762c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a3f4c9504cb9f261727ec4b27d0b7074d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a3f4c9504cb9f261727ec4b27d0b7074d">pw_mempool_alloc</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, enum <a class="el" href="structpw__memblock.html#aa754e8d30b01da58829b3e372c78f739">pw_memblock_flags</a> flags, uint32_t type, size_t size)</td></tr>
+<tr class="memdesc:a3f4c9504cb9f261727ec4b27d0b7074d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a memory block from the pool. <a href="#a3f4c9504cb9f261727ec4b27d0b7074d">More...</a><br /></td></tr>
+<tr class="separator:a3f4c9504cb9f261727ec4b27d0b7074d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a40f7779f907ebc367725ba5c7c8b0f88"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a40f7779f907ebc367725ba5c7c8b0f88">pw_mempool_import_block</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *mem)</td></tr>
+<tr class="memdesc:a40f7779f907ebc367725ba5c7c8b0f88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Import a block from another pool. <a href="#a40f7779f907ebc367725ba5c7c8b0f88">More...</a><br /></td></tr>
+<tr class="separator:a40f7779f907ebc367725ba5c7c8b0f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:acc1fb3bb1d96fa7ee1b6850eb865ebe6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#acc1fb3bb1d96fa7ee1b6850eb865ebe6">pw_mempool_import</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, enum <a class="el" href="structpw__memblock.html#aa754e8d30b01da58829b3e372c78f739">pw_memblock_flags</a> flags, uint32_t type, int fd)</td></tr>
+<tr class="memdesc:acc1fb3bb1d96fa7ee1b6850eb865ebe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Import an fd into the pool. <a href="#acc1fb3bb1d96fa7ee1b6850eb865ebe6">More...</a><br /></td></tr>
+<tr class="separator:acc1fb3bb1d96fa7ee1b6850eb865ebe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa706ad494480f45ba0683ee91b2779d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#aa706ad494480f45ba0683ee91b2779d1">pw_memblock_free</a> (struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *mem)</td></tr>
+<tr class="memdesc:aa706ad494480f45ba0683ee91b2779d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free a memblock regardless of the refcount and destroy all mappings. <a href="#aa706ad494480f45ba0683ee91b2779d1">More...</a><br /></td></tr>
+<tr class="separator:aa706ad494480f45ba0683ee91b2779d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5f75d7faa910a02718a9ecf3f9c4041c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a5f75d7faa910a02718a9ecf3f9c4041c">pw_mempool_unref_id</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, uint32_t id)</td></tr>
+<tr class="memdesc:a5f75d7faa910a02718a9ecf3f9c4041c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unref a memblock for given <em>id</em>. <a href="#a5f75d7faa910a02718a9ecf3f9c4041c">More...</a><br /></td></tr>
+<tr class="separator:a5f75d7faa910a02718a9ecf3f9c4041c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a637115c056f47906c4d52faf043e415f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a637115c056f47906c4d52faf043e415f">pw_mempool_find_ptr</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, const void *ptr)</td></tr>
+<tr class="memdesc:a637115c056f47906c4d52faf043e415f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find memblock for given <em>ptr</em>. <a href="#a637115c056f47906c4d52faf043e415f">More...</a><br /></td></tr>
+<tr class="separator:a637115c056f47906c4d52faf043e415f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a8cefbc9877517111668c36f24edb2dfd"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a8cefbc9877517111668c36f24edb2dfd">pw_mempool_find_id</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, uint32_t id)</td></tr>
+<tr class="memdesc:a8cefbc9877517111668c36f24edb2dfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find memblock for given <em>id</em>. <a href="#a8cefbc9877517111668c36f24edb2dfd">More...</a><br /></td></tr>
+<tr class="separator:a8cefbc9877517111668c36f24edb2dfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:adc0de7b22a2892cdf9582fbcf6f4b712"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#adc0de7b22a2892cdf9582fbcf6f4b712">pw_mempool_find_fd</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, int fd)</td></tr>
+<tr class="memdesc:adc0de7b22a2892cdf9582fbcf6f4b712"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find memblock for given <em>fd</em>. <a href="#adc0de7b22a2892cdf9582fbcf6f4b712">More...</a><br /></td></tr>
+<tr class="separator:adc0de7b22a2892cdf9582fbcf6f4b712"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a129ecc0ee25039116cc99c138e16c4c6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a129ecc0ee25039116cc99c138e16c4c6">pw_memblock_map</a> (struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *block, enum <a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747a">pw_memmap_flags</a> flags, uint32_t offset, uint32_t size, uint32_t tag[5])</td></tr>
+<tr class="memdesc:a129ecc0ee25039116cc99c138e16c4c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Map a region of a memory block. <a href="#a129ecc0ee25039116cc99c138e16c4c6">More...</a><br /></td></tr>
+<tr class="separator:a129ecc0ee25039116cc99c138e16c4c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa9b5475f99e223a1b20d1d1b79549381"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#aa9b5475f99e223a1b20d1d1b79549381">pw_mempool_map_id</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, uint32_t id, enum <a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747a">pw_memmap_flags</a> flags, uint32_t offset, uint32_t size, uint32_t tag[5])</td></tr>
+<tr class="memdesc:aa9b5475f99e223a1b20d1d1b79549381"><td class="mdescLeft">&#160;</td><td class="mdescRight">Map a region of a memory block with <em>id</em>. <a href="#aa9b5475f99e223a1b20d1d1b79549381">More...</a><br /></td></tr>
+<tr class="separator:aa9b5475f99e223a1b20d1d1b79549381"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a85ef7c8290e81beb53ab9e1c7b44ff29"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a85ef7c8290e81beb53ab9e1c7b44ff29">pw_mempool_import_map</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *other, void *<a class="el" href="structdata.html">data</a>, uint32_t size, uint32_t tag[5])</td></tr>
+<tr class="separator:a85ef7c8290e81beb53ab9e1c7b44ff29"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af11ea8ae8c13e394c39d7bf035be4f7b"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#af11ea8ae8c13e394c39d7bf035be4f7b">pw_mempool_find_tag</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, uint32_t tag[5], size_t size)</td></tr>
+<tr class="memdesc:af11ea8ae8c13e394c39d7bf035be4f7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">find a map with the given tag <a href="#af11ea8ae8c13e394c39d7bf035be4f7b">More...</a><br /></td></tr>
+<tr class="separator:af11ea8ae8c13e394c39d7bf035be4f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a3efb664909dd90a771d5092238a7a603"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8h.html#a3efb664909dd90a771d5092238a7a603">pw_memmap_free</a> (struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *map)</td></tr>
+<tr class="memdesc:a3efb664909dd90a771d5092238a7a603"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unmap a region. <a href="#a3efb664909dd90a771d5092238a7a603">More...</a><br /></td></tr>
+<tr class="separator:a3efb664909dd90a771d5092238a7a603"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<h2 class="groupheader">Macro Definition Documentation</h2>
+<a id="a9d831e5773c3aa8ac62d72f6e4a161b7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9d831e5773c3aa8ac62d72f6e4a161b7">&#9670;&nbsp;</a></span>PW_MAP_RANGE_INIT</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define PW_MAP_RANGE_INIT&#160;&#160;&#160;(struct <a class="el" href="structpw__map__range.html">pw_map_range</a>){ 0, }</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a3dbe2152d1ae85434bf57f58e6c37043"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3dbe2152d1ae85434bf57f58e6c37043">&#9670;&nbsp;</a></span>PW_VERSION_MEMPOOL_EVENTS</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define PW_VERSION_MEMPOOL_EVENTS&#160;&#160;&#160;0</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="a1daf40887c9a63347e9c59822287747a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1daf40887c9a63347e9c59822287747a">&#9670;&nbsp;</a></span>pw_memmap_flags</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747a">pw_memmap_flags</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a1daf40887c9a63347e9c59822287747aac3e5ceea50faacf9d2aac1670f07fd65"></a>PW_MEMMAP_FLAG_NONE&#160;</td><td class="fielddoc"></td></tr>
+<tr><td class="fieldname"><a id="a1daf40887c9a63347e9c59822287747aa58334ee09eeba50b788a04f276440475"></a>PW_MEMMAP_FLAG_READ&#160;</td><td class="fielddoc"><p>map in read mode </p>
+</td></tr>
+<tr><td class="fieldname"><a id="a1daf40887c9a63347e9c59822287747aa8b0a302b83a9d3cd11e2b6ed7f82f546"></a>PW_MEMMAP_FLAG_WRITE&#160;</td><td class="fielddoc"><p>map in write mode </p>
+</td></tr>
+<tr><td class="fieldname"><a id="a1daf40887c9a63347e9c59822287747aaf12060ee3328912e62d05650edaa999a"></a>PW_MEMMAP_FLAG_TWICE&#160;</td><td class="fielddoc"><p>map the same area twice afer eachother, creating a circular ringbuffer </p>
+</td></tr>
+<tr><td class="fieldname"><a id="a1daf40887c9a63347e9c59822287747aa5e15b1dc0d4d0354a37a841af139411b"></a>PW_MEMMAP_FLAG_READWRITE&#160;</td><td class="fielddoc"></td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="aa706ad494480f45ba0683ee91b2779d1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa706ad494480f45ba0683ee91b2779d1">&#9670;&nbsp;</a></span>pw_memblock_free()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void pw_memblock_free </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td>
+ <td class="paramname"><em>mem</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Free a memblock regardless of the refcount and destroy all mappings. </p>
+
+</div>
+</div>
+<a id="a129ecc0ee25039116cc99c138e16c4c6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a129ecc0ee25039116cc99c138e16c4c6">&#9670;&nbsp;</a></span>pw_memblock_map()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memmap.html">pw_memmap</a>* pw_memblock_map </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td>
+ <td class="paramname"><em>block</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum <a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747a">pw_memmap_flags</a>&#160;</td>
+ <td class="paramname"><em>flags</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>offset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>tag</em>[5]&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Map a region of a memory block. </p>
+
+<p class="reference">References <a class="el" href="structpw__memblock.html#a66508184497a6f6e211eafa8f6e4edd7">pw_memblock::pool</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="structpw__memblock.html#a2e25b63057f2c8159c9ad7eba16555db">pw_memblock::pw_mempool_alloc()</a>, and <a class="el" href="mem_8c.html#a7066384a72de880e75a1b922d2d62dd2">pw_mempool_map_id()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_a129ecc0ee25039116cc99c138e16c4c6_icgraph.png" border="0" usemap="#mem_8h_a129ecc0ee25039116cc99c138e16c4c6_icgraph" alt=""/></div>
+<map name="mem_8h_a129ecc0ee25039116cc99c138e16c4c6_icgraph" id="mem_8h_a129ecc0ee25039116cc99c138e16c4c6_icgraph">
+<area shape="rect" title="Map a region of a memory block." alt="" coords="469,42,623,69"/>
+<area shape="rect" href="structpw__memblock.html#a2e25b63057f2c8159c9ad7eba16555db" title="Create a new memblock." alt="" coords="208,5,421,47"/>
+<area shape="rect" href="mem_8c.html#a7066384a72de880e75a1b922d2d62dd2" title="Map a region of a memory block with id." alt="" coords="232,71,397,98"/>
+<area shape="rect" href="control_8c.html#a1b1172c7061a840bc1298e7e431dd39c" title=" " alt="" coords="5,13,160,39"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="a3efb664909dd90a771d5092238a7a603"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3efb664909dd90a771d5092238a7a603">&#9670;&nbsp;</a></span>pw_memmap_free()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int pw_memmap_free </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *&#160;</td>
+ <td class="paramname"><em>map</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Unmap a region. </p>
+
+<p class="reference">References <a class="el" href="structmapping.html#ad61cff10456247a79a00fca97bec2f54">mapping::block</a>, <a class="el" href="structpw__memblock.html#a4731883fd9899d0d668c0f44a16d3b33">pw_memblock::fd</a>, <a class="el" href="structmemmap.html#a4b4c535b3a931ff9b521b4b3893acc38">memmap::link</a>, <a class="el" href="structmemmap.html#a4b5aab3f4d7c100f270c5743e24dc8fe">memmap::mapping</a>, <a class="el" href="structpw__memblock.html#a66508184497a6f6e211eafa8f6e4edd7">pw_memblock::pool</a>, <a class="el" href="structpw__memmap.html#a586c7656b932f4c50d0efb007bae6c64">pw_memmap::ptr</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structmapping.html#a05ed83115d950e6e0b3d0a2c9c85372e">mapping::ref</a>, <a class="el" href="structmemblock.html#a38119a16fff6fd613c41a11b9d7ee1a8">memblock::this</a>, and <a class="el" href="structmemmap.html#abb730b1d0ebe426191741fa5741db087">memmap::this</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="structpw__memblock.html#a458b69a13b15233b8be7d1dd98c2c23f">pw_memblock::pw_memblock_free()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_a3efb664909dd90a771d5092238a7a603_icgraph.png" border="0" usemap="#mem_8h_a3efb664909dd90a771d5092238a7a603_icgraph" alt=""/></div>
+<map name="mem_8h_a3efb664909dd90a771d5092238a7a603_icgraph" id="mem_8h_a3efb664909dd90a771d5092238a7a603_icgraph">
+<area shape="rect" title="Unmap a region." alt="" coords="991,31,1135,57"/>
+<area shape="rect" href="structpw__memblock.html#a458b69a13b15233b8be7d1dd98c2c23f" title="Free a memblock." alt="" coords="689,31,943,57"/>
+<area shape="rect" href="mem_8c.html#ab253128cb2d2bc7ad5203d2b65e762c8" title="Destroy a pool." alt="" coords="475,31,641,57"/>
+<area shape="rect" href="classpw__core.html#a3fe8a902e97223d11c0e8e4640c16379" title="Destroy a core object." alt="" coords="232,5,427,32"/>
+<area shape="rect" href="remote_8c.html#a0e927d9eff1cc1a6ae723617e4f4abec" title=" " alt="" coords="254,56,405,83"/>
+<area shape="rect" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614" title=" " alt="" coords="5,5,184,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="a5c298052be6fe8f5f4ea78b4fe41733d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5c298052be6fe8f5f4ea78b4fe41733d">&#9670;&nbsp;</a></span>pw_mempool_add_listener()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void pw_mempool_add_listener </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct spa_hook *&#160;</td>
+ <td class="paramname"><em>listener</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const struct <a class="el" href="structpw__mempool__events.html">pw_mempool_events</a> *&#160;</td>
+ <td class="paramname"><em>events</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">void *&#160;</td>
+ <td class="paramname"><em>data</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Listen for events. </p>
+
+<p class="reference">Referenced by <a class="el" href="classpw__client.html#aace8634f25e970be554644d5edd14c46">pw_client::pw_client_new()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph.png" border="0" usemap="#mem_8h_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph" alt=""/></div>
+<map name="mem_8h_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph" id="mem_8h_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph">
+<area shape="rect" title="Listen for events." alt="" coords="241,5,439,32"/>
+<area shape="rect" href="classpw__client.html#aace8634f25e970be554644d5edd14c46" title="Make a new client object." alt="" coords="5,5,193,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="a3f4c9504cb9f261727ec4b27d0b7074d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3f4c9504cb9f261727ec4b27d0b7074d">&#9670;&nbsp;</a></span>pw_mempool_alloc()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memblock.html">pw_memblock</a>* pw_mempool_alloc </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum <a class="el" href="structpw__memblock.html#aa754e8d30b01da58829b3e372c78f739">pw_memblock_flags</a>&#160;</td>
+ <td class="paramname"><em>flags</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t&#160;</td>
+ <td class="paramname"><em>size</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate a memory block from the pool. </p>
+
+</div>
+</div>
+<a id="ab253128cb2d2bc7ad5203d2b65e762c8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab253128cb2d2bc7ad5203d2b65e762c8">&#9670;&nbsp;</a></span>pw_mempool_destroy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void pw_mempool_destroy </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Destroy a pool. </p>
+
+<p class="reference">References <a class="el" href="structmemblock.html#a66faf89d7710e4bcb353a0ce9e90dede">memblock::link</a>, <a class="el" href="structpw__mempool.html#a47412553dbf76a729d9e7e1df0bd2cf3">pw_mempool::props</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structpw__memblock.html#a458b69a13b15233b8be7d1dd98c2c23f">pw_memblock::pw_memblock_free()</a>, <a class="el" href="mem_8c.html#ad9bd7205a3e7a88320624ef7addbfe9f">pw_mempool_emit_destroy</a>, <a class="el" href="structpw__properties.html#a6473c3fdc688733f1db2e8d645ba94f4">pw_properties::pw_properties_free()</a>, and <a class="el" href="structmemblock.html#a38119a16fff6fd613c41a11b9d7ee1a8">memblock::this</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="classpw__core.html#a3fe8a902e97223d11c0e8e4640c16379">pw_core::pw_core_destroy()</a>, and <a class="el" href="remote_8c.html#a0e927d9eff1cc1a6ae723617e4f4abec">pw_remote_destroy()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph.png" border="0" usemap="#mem_8h_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph" alt=""/></div>
+<map name="mem_8h_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph" id="mem_8h_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph">
+<area shape="rect" title="Destroy a pool." alt="" coords="475,31,641,57"/>
+<area shape="rect" href="classpw__core.html#a3fe8a902e97223d11c0e8e4640c16379" title="Destroy a core object." alt="" coords="232,5,427,32"/>
+<area shape="rect" href="remote_8c.html#a0e927d9eff1cc1a6ae723617e4f4abec" title=" " alt="" coords="254,56,405,83"/>
+<area shape="rect" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614" title=" " alt="" coords="5,5,184,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="adc0de7b22a2892cdf9582fbcf6f4b712"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adc0de7b22a2892cdf9582fbcf6f4b712">&#9670;&nbsp;</a></span>pw_mempool_find_fd()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memblock.html">pw_memblock</a>* pw_mempool_find_fd </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>fd</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Find memblock for given <em>fd</em>. </p>
+
+</div>
+</div>
+<a id="a8cefbc9877517111668c36f24edb2dfd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8cefbc9877517111668c36f24edb2dfd">&#9670;&nbsp;</a></span>pw_mempool_find_id()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memblock.html">pw_memblock</a>* pw_mempool_find_id </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>id</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Find memblock for given <em>id</em>. </p>
+
+<p class="reference">References <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structpw__map.html#a9656703501cdaa5a82adb9db60f76fc6">pw_map::pw_map_lookup()</a>, and <a class="el" href="structmemblock.html#a38119a16fff6fd613c41a11b9d7ee1a8">memblock::this</a>.</p>
+
+</div>
+</div>
+<a id="a637115c056f47906c4d52faf043e415f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a637115c056f47906c4d52faf043e415f">&#9670;&nbsp;</a></span>pw_mempool_find_ptr()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memblock.html">pw_memblock</a>* pw_mempool_find_ptr </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void *&#160;</td>
+ <td class="paramname"><em>ptr</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Find memblock for given <em>ptr</em>. </p>
+
+<p class="reference">References <a class="el" href="structmapping.html#ad61cff10456247a79a00fca97bec2f54">mapping::block</a>, <a class="el" href="structpw__memblock.html#a1ca99934939d8b89c158a0256d6d906c">pw_memblock::id</a>, <a class="el" href="structmapping.html#aae804313a0465aa8e92d861b14d1fc67">mapping::link</a>, <a class="el" href="structmemblock.html#a204124ca1c489839721b81d7a9210123">memblock::mappings</a>, <a class="el" href="structmapping.html#a9efabc6def41b34d2f6324416edaf018">mapping::ptr</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structmapping.html#a3bdd870a0df52ac54604e8139f703038">mapping::size</a>, and <a class="el" href="structmemblock.html#a38119a16fff6fd613c41a11b9d7ee1a8">memblock::this</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="mem_8c.html#a21cda477fe5bf4681ccf6869acf96d20">pw_mempool_import_map()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_a637115c056f47906c4d52faf043e415f_icgraph.png" border="0" usemap="#mem_8h_a637115c056f47906c4d52faf043e415f_icgraph" alt=""/></div>
+<map name="mem_8h_a637115c056f47906c4d52faf043e415f_icgraph" id="mem_8h_a637115c056f47906c4d52faf043e415f_icgraph">
+<area shape="rect" title="Find memblock for given ptr." alt="" coords="249,5,416,32"/>
+<area shape="rect" href="mem_8c.html#a21cda477fe5bf4681ccf6869acf96d20" title=" " alt="" coords="5,5,201,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="af11ea8ae8c13e394c39d7bf035be4f7b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af11ea8ae8c13e394c39d7bf035be4f7b">&#9670;&nbsp;</a></span>pw_mempool_find_tag()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memmap.html">pw_memmap</a>* pw_mempool_find_tag </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>tag</em>[5], </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t&#160;</td>
+ <td class="paramname"><em>size</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>find a map with the given tag </p>
+
+<p class="reference">References <a class="el" href="structmemmap.html#a4b4c535b3a931ff9b521b4b3893acc38">memmap::link</a>, <a class="el" href="structmemblock.html#a28a7d3a3e9c6b5b1ef201d93ad0ace57">memblock::maps</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structpw__memmap.html#afa567539bf3c9fd16218032faad070ae">pw_memmap::tag</a>, and <a class="el" href="structmemmap.html#abb730b1d0ebe426191741fa5741db087">memmap::this</a>.</p>
+
+</div>
+</div>
+<a id="acc1fb3bb1d96fa7ee1b6850eb865ebe6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acc1fb3bb1d96fa7ee1b6850eb865ebe6">&#9670;&nbsp;</a></span>pw_mempool_import()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memblock.html">pw_memblock</a>* pw_mempool_import </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum <a class="el" href="structpw__memblock.html#aa754e8d30b01da58829b3e372c78f739">pw_memblock_flags</a>&#160;</td>
+ <td class="paramname"><em>flags</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>fd</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Import an fd into the pool. </p>
+
+<p class="reference">Referenced by <a class="el" href="mem_8c.html#ac19e242f78a043eb56e57009cf87623e">pw_mempool_import_block()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_acc1fb3bb1d96fa7ee1b6850eb865ebe6_icgraph.png" border="0" usemap="#mem_8h_acc1fb3bb1d96fa7ee1b6850eb865ebe6_icgraph" alt=""/></div>
+<map name="mem_8h_acc1fb3bb1d96fa7ee1b6850eb865ebe6_icgraph" id="mem_8h_acc1fb3bb1d96fa7ee1b6850eb865ebe6_icgraph">
+<area shape="rect" title="Import an fd into the pool." alt="" coords="500,5,660,32"/>
+<area shape="rect" href="mem_8c.html#ac19e242f78a043eb56e57009cf87623e" title="Import a block from another pool." alt="" coords="249,5,452,32"/>
+<area shape="rect" href="mem_8c.html#a21cda477fe5bf4681ccf6869acf96d20" title=" " alt="" coords="5,5,201,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="a40f7779f907ebc367725ba5c7c8b0f88"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a40f7779f907ebc367725ba5c7c8b0f88">&#9670;&nbsp;</a></span>pw_mempool_import_block()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memblock.html">pw_memblock</a>* pw_mempool_import_block </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structpw__memblock.html">pw_memblock</a> *&#160;</td>
+ <td class="paramname"><em>mem</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Import a block from another pool. </p>
+
+<p class="reference">References <a class="el" href="structpw__memblock.html#a4731883fd9899d0d668c0f44a16d3b33">pw_memblock::fd</a>, <a class="el" href="structpw__memblock.html#a88d9c260a71ebd2413b9c4f6c6b84889">pw_memblock::flags</a>, <a class="el" href="structpw__memblock.html#a66508184497a6f6e211eafa8f6e4edd7">pw_memblock::pool</a>, <a class="el" href="mem_8h.html#af322c38a861c5a1639c666137a045e3a">PW_MEMBLOCK_FLAG_DONT_CLOSE</a>, <a class="el" href="mem_8c.html#abfda07a34439c7edfc8c2cb7fe9576a3">pw_mempool_import()</a>, and <a class="el" href="structpw__memblock.html#a8fb4076dc9a00af2a3da6be6859b6a00">pw_memblock::type</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="mem_8c.html#a21cda477fe5bf4681ccf6869acf96d20">pw_mempool_import_map()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_a40f7779f907ebc367725ba5c7c8b0f88_icgraph.png" border="0" usemap="#mem_8h_a40f7779f907ebc367725ba5c7c8b0f88_icgraph" alt=""/></div>
+<map name="mem_8h_a40f7779f907ebc367725ba5c7c8b0f88_icgraph" id="mem_8h_a40f7779f907ebc367725ba5c7c8b0f88_icgraph">
+<area shape="rect" title="Import a block from another pool." alt="" coords="249,5,452,32"/>
+<area shape="rect" href="mem_8c.html#a21cda477fe5bf4681ccf6869acf96d20" title=" " alt="" coords="5,5,201,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="a85ef7c8290e81beb53ab9e1c7b44ff29"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a85ef7c8290e81beb53ab9e1c7b44ff29">&#9670;&nbsp;</a></span>pw_mempool_import_map()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memmap.html">pw_memmap</a>* pw_mempool_import_map </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>other</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">void *&#160;</td>
+ <td class="paramname"><em>data</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>tag</em>[5]&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="reference">References <a class="el" href="structmapping.html#ad61cff10456247a79a00fca97bec2f54">mapping::block</a>, <a class="el" href="structpw__memblock.html#ae9876a344086ff407cf6bf3704b24515">pw_memblock::map</a>, <a class="el" href="structmapping.html#a1312863480e7bd7ec7cba9bd9eecc128">mapping::offset</a>, <a class="el" href="mem_8c.html#a9cb98e289a2f39ad7874243e905d9daf">pw_mempool_find_ptr()</a>, and <a class="el" href="mem_8c.html#ac19e242f78a043eb56e57009cf87623e">pw_mempool_import_block()</a>.</p>
+
+</div>
+</div>
+<a id="aa9b5475f99e223a1b20d1d1b79549381"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa9b5475f99e223a1b20d1d1b79549381">&#9670;&nbsp;</a></span>pw_mempool_map_id()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__memmap.html">pw_memmap</a>* pw_mempool_map_id </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>id</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum <a class="el" href="mem_8h.html#a1daf40887c9a63347e9c59822287747a">pw_memmap_flags</a>&#160;</td>
+ <td class="paramname"><em>flags</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>offset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>tag</em>[5]&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Map a region of a memory block with <em>id</em>. </p>
+
+<p class="reference">References <a class="el" href="structpw__map.html#a9656703501cdaa5a82adb9db60f76fc6">pw_map::pw_map_lookup()</a>, <a class="el" href="mem_8c.html#a3318c5821ce251c9c3c16145bed41647">pw_memblock_map()</a>, and <a class="el" href="structmemblock.html#a38119a16fff6fd613c41a11b9d7ee1a8">memblock::this</a>.</p>
+
+</div>
+</div>
+<a id="ae5e42242439fef39fd696db151642513"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae5e42242439fef39fd696db151642513">&#9670;&nbsp;</a></span>pw_mempool_new()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structpw__mempool.html">pw_mempool</a>* pw_mempool_new </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__properties.html">pw_properties</a> *&#160;</td>
+ <td class="paramname"><em>props</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Create a new memory pool. </p>
+
+<p class="reference">References <a class="el" href="structpw__mempool.html#a47412553dbf76a729d9e7e1df0bd2cf3">pw_mempool::props</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structpw__map.html#acdd13c22e79cecf19a28d30e1154d323">pw_map::pw_map_init()</a>, and <a class="el" href="structimpl.html#a6eaec9ea671abe6434946657ac2f1bae">impl::this</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="classpw__client.html#aace8634f25e970be554644d5edd14c46">pw_client::pw_client_new()</a>, <a class="el" href="classpw__core.html#a149d054319a8cd3fb6206b233d2476cd">pw_core::pw_core_new()</a>, and <a class="el" href="remote_8c.html#ab4d94be2412050ec56ad495ccf75f9b3">pw_remote_new()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="mem_8h_ae5e42242439fef39fd696db151642513_icgraph.png" border="0" usemap="#mem_8h_ae5e42242439fef39fd696db151642513_icgraph" alt=""/></div>
+<map name="mem_8h_ae5e42242439fef39fd696db151642513_icgraph" id="mem_8h_ae5e42242439fef39fd696db151642513_icgraph">
+<area shape="rect" title="Create a new memory pool." alt="" coords="468,56,612,83"/>
+<area shape="rect" href="classpw__client.html#aace8634f25e970be554644d5edd14c46" title="Make a new client object." alt="" coords="232,5,420,32"/>
+<area shape="rect" href="classpw__core.html#a149d054319a8cd3fb6206b233d2476cd" title="Create a new core object." alt="" coords="240,56,412,83"/>
+<area shape="rect" href="remote_8c.html#ab4d94be2412050ec56ad495ccf75f9b3" title=" " alt="" coords="261,107,391,133"/>
+<area shape="rect" href="stream_8c.html#a0aa398ef7b09697a0e48719b27112614" title=" " alt="" coords="5,56,184,83"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="a5f75d7faa910a02718a9ecf3f9c4041c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5f75d7faa910a02718a9ecf3f9c4041c">&#9670;&nbsp;</a></span>pw_mempool_unref_id()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int pw_mempool_unref_id </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *&#160;</td>
+ <td class="paramname"><em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>id</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Unref a memblock for given <em>id</em>. </p>
+
+<p class="reference">References <a class="el" href="structpw__map.html#a9656703501cdaa5a82adb9db60f76fc6">pw_map::pw_map_lookup()</a>.</p>
+
+</div>
+</div>
+</div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_7129a66c92fe7beef816c2ac906ef0b3.html">pipewire</a></li><li class="navelem"><a class="el" href="mem_8h.html">mem.h</a></li>
+ <li class="footer">Generated by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
+ </ul>
+</div>
+</body>
+</html>