diff options
Diffstat (limited to 'build/doc/html/mem_8c.html')
-rw-r--r-- | build/doc/html/mem_8c.html | 1057 |
1 files changed, 1057 insertions, 0 deletions
diff --git a/build/doc/html/mem_8c.html b/build/doc/html/mem_8c.html new file mode 100644 index 00000000..e51cca0b --- /dev/null +++ b/build/doc/html/mem_8c.html @@ -0,0 +1,1057 @@ +<!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.c 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&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 +  <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&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&dn=gpl-2.0.txt GPL-v2 */ +$(document).ready(function(){initNavTree('mem_8c.html','');}); +/* @license-end */ +</script> +<div id="doc-content"> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#define-members">Macros</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">mem.c File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><div class="dynheader"> +Include dependency graph for mem.c:</div> +<div class="dyncontent"> +<div class="center"><img src="mem_8c__incl.png" border="0" usemap="#mem_8c" alt=""/></div> +<map name="mem_8c" id="mem_8c"> +<area shape="rect" title=" " alt="" coords="667,5,733,32"/> +<area shape="rect" title=" " alt="" coords="5,80,80,107"/> +<area shape="rect" title=" " alt="" coords="155,155,226,181"/> +<area shape="rect" title=" " alt="" coords="352,80,427,107"/> +<area shape="rect" title=" " alt="" coords="451,80,517,107"/> +<area shape="rect" title=" " alt="" coords="230,229,298,256"/> +<area shape="rect" title=" " alt="" coords="542,80,645,107"/> +<area shape="rect" title=" " alt="" coords="669,80,731,107"/> +<area shape="rect" title=" " alt="" coords="756,80,831,107"/> +<area shape="rect" title=" " alt="" coords="855,80,926,107"/> +<area shape="rect" title=" " alt="" coords="950,80,1055,107"/> +<area shape="rect" title=" " alt="" coords="1079,80,1193,107"/> +<area shape="rect" title=" " alt="" coords="1217,80,1359,107"/> +<area shape="rect" href="log_8h.html" title=" " alt="" coords="1383,80,1497,107"/> +<area shape="rect" href="map_8h.html" title=" " alt="" coords="205,80,328,107"/> +<area shape="rect" href="mem_8h.html" title=" " alt="" coords="1535,80,1663,107"/> +<area shape="rect" title=" " alt="" coords="1366,155,1501,181"/> +<area shape="rect" title=" " alt="" coords="365,229,486,256"/> +<area shape="rect" href="array_8h.html" title=" " alt="" coords="302,155,429,181"/> +<area shape="rect" href="properties_8h.html" title=" " alt="" coords="1525,155,1685,181"/> +<area shape="rect" title=" " alt="" coords="1547,229,1664,256"/> +</map> +</div> +</div><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  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmempool.html">mempool</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmemblock.html">memblock</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmapping.html">mapping</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmemmap.html">memmap</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </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:aa3b33676b8bd10a4280ec5f9a4f86831"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#aa3b33676b8bd10a4280ec5f9a4f86831">USE_MEMFD</a></td></tr> +<tr class="separator:aa3b33676b8bd10a4280ec5f9a4f86831"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3268e6d65db2950f67f6082946d16952"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a3268e6d65db2950f67f6082946d16952">MFD_CLOEXEC</a>   0x0001U</td></tr> +<tr class="separator:a3268e6d65db2950f67f6082946d16952"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1d9ebf7ab094a827cd93d1e49e81e8a0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a1d9ebf7ab094a827cd93d1e49e81e8a0">MFD_ALLOW_SEALING</a>   0x0002U</td></tr> +<tr class="separator:a1d9ebf7ab094a827cd93d1e49e81e8a0"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a54af789ad65b83449d415dbfb7d39481"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a54af789ad65b83449d415dbfb7d39481">F_LINUX_SPECIFIC_BASE</a>   1024</td></tr> +<tr class="separator:a54af789ad65b83449d415dbfb7d39481"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3c9cb62957637bb3b3a869cbbe5e4aaa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a3c9cb62957637bb3b3a869cbbe5e4aaa">F_ADD_SEALS</a>   (<a class="el" href="mem_8c.html#a54af789ad65b83449d415dbfb7d39481">F_LINUX_SPECIFIC_BASE</a> + 9)</td></tr> +<tr class="separator:a3c9cb62957637bb3b3a869cbbe5e4aaa"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0d7e40a9933d11da2fc1b0b1b863eec3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a0d7e40a9933d11da2fc1b0b1b863eec3">F_GET_SEALS</a>   (<a class="el" href="mem_8c.html#a54af789ad65b83449d415dbfb7d39481">F_LINUX_SPECIFIC_BASE</a> + 10)</td></tr> +<tr class="separator:a0d7e40a9933d11da2fc1b0b1b863eec3"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a68a01fe6f7305883d5f15ddfd1ebfd84"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a68a01fe6f7305883d5f15ddfd1ebfd84">F_SEAL_SEAL</a>   0x0001 /* prevent further seals from being set */</td></tr> +<tr class="separator:a68a01fe6f7305883d5f15ddfd1ebfd84"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a98ea0829a6ae8b9adb9910457f4ca4cd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a98ea0829a6ae8b9adb9910457f4ca4cd">F_SEAL_SHRINK</a>   0x0002 /* prevent file from shrinking */</td></tr> +<tr class="separator:a98ea0829a6ae8b9adb9910457f4ca4cd"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6ae683cd27bb82613d1c025277b69b48"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a6ae683cd27bb82613d1c025277b69b48">F_SEAL_GROW</a>   0x0004 /* prevent file from growing */</td></tr> +<tr class="separator:a6ae683cd27bb82613d1c025277b69b48"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a82af8008b212e99dd3a8b8daa2138170"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a82af8008b212e99dd3a8b8daa2138170">F_SEAL_WRITE</a>   0x0008 /* prevent writes */</td></tr> +<tr class="separator:a82af8008b212e99dd3a8b8daa2138170"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aee8f104fd65b3d11fef242883a787657"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, m, v, ...)   spa_hook_list_call(&p->listener_list, struct <a class="el" href="structpw__mempool__events.html">pw_mempool_events</a>, m, v, ##__VA_ARGS__)</td></tr> +<tr class="separator:aee8f104fd65b3d11fef242883a787657"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad9bd7205a3e7a88320624ef7addbfe9f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#ad9bd7205a3e7a88320624ef7addbfe9f">pw_mempool_emit_destroy</a>(p)   <a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, destroy, 0)</td></tr> +<tr class="separator:ad9bd7205a3e7a88320624ef7addbfe9f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad2d67640ddabf8a7f530053ebca34abf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#ad2d67640ddabf8a7f530053ebca34abf">pw_mempool_emit_added</a>(p, b)   <a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, added, 0, b)</td></tr> +<tr class="separator:ad2d67640ddabf8a7f530053ebca34abf"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1eac736570d41ffac78ec7c5caa8ca25"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a1eac736570d41ffac78ec7c5caa8ca25">pw_mempool_emit_removed</a>(p, b)   <a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, removed, 0, b)</td></tr> +<tr class="separator:a1eac736570d41ffac78ec7c5caa8ca25"><td class="memSeparator" colspan="2"> </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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.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"> </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"> </td></tr> +<tr class="memitem:ab253128cb2d2bc7ad5203d2b65e762c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.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"> </td><td class="mdescRight">Destroy a pool. <a href="#ab253128cb2d2bc7ad5203d2b65e762c8">More...</a><br /></td></tr> +<tr class="separator:ab253128cb2d2bc7ad5203d2b65e762c8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5c298052be6fe8f5f4ea78b4fe41733d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.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"> </td><td class="mdescRight">Listen for events. <a href="#a5c298052be6fe8f5f4ea78b4fe41733d">More...</a><br /></td></tr> +<tr class="separator:a5c298052be6fe8f5f4ea78b4fe41733d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3318c5821ce251c9c3c16145bed41647"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memmap.html">pw_memmap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a3318c5821ce251c9c3c16145bed41647">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:a3318c5821ce251c9c3c16145bed41647"><td class="mdescLeft"> </td><td class="mdescRight">Map a region of a memory block. <a href="#a3318c5821ce251c9c3c16145bed41647">More...</a><br /></td></tr> +<tr class="separator:a3318c5821ce251c9c3c16145bed41647"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7066384a72de880e75a1b922d2d62dd2"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memmap.html">pw_memmap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a7066384a72de880e75a1b922d2d62dd2">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:a7066384a72de880e75a1b922d2d62dd2"><td class="mdescLeft"> </td><td class="mdescRight">Map a region of a memory block with <em>id</em>. <a href="#a7066384a72de880e75a1b922d2d62dd2">More...</a><br /></td></tr> +<tr class="separator:a7066384a72de880e75a1b922d2d62dd2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ada787db75d4f0040104f59210fbcfdac"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#ada787db75d4f0040104f59210fbcfdac">pw_memmap_free</a> (struct <a class="el" href="structpw__memmap.html">pw_memmap</a> *map)</td></tr> +<tr class="memdesc:ada787db75d4f0040104f59210fbcfdac"><td class="mdescLeft"> </td><td class="mdescRight">Unmap a region. <a href="#ada787db75d4f0040104f59210fbcfdac">More...</a><br /></td></tr> +<tr class="separator:ada787db75d4f0040104f59210fbcfdac"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:abfda07a34439c7edfc8c2cb7fe9576a3"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memblock.html">pw_memblock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#abfda07a34439c7edfc8c2cb7fe9576a3">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:abfda07a34439c7edfc8c2cb7fe9576a3"><td class="mdescLeft"> </td><td class="mdescRight">Import an fd into the pool. <a href="#abfda07a34439c7edfc8c2cb7fe9576a3">More...</a><br /></td></tr> +<tr class="separator:abfda07a34439c7edfc8c2cb7fe9576a3"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac19e242f78a043eb56e57009cf87623e"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memblock.html">pw_memblock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#ac19e242f78a043eb56e57009cf87623e">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:ac19e242f78a043eb56e57009cf87623e"><td class="mdescLeft"> </td><td class="mdescRight">Import a block from another pool. <a href="#ac19e242f78a043eb56e57009cf87623e">More...</a><br /></td></tr> +<tr class="separator:ac19e242f78a043eb56e57009cf87623e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a21cda477fe5bf4681ccf6869acf96d20"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memmap.html">pw_memmap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a21cda477fe5bf4681ccf6869acf96d20">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:a21cda477fe5bf4681ccf6869acf96d20"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5f75d7faa910a02718a9ecf3f9c4041c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.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"> </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"> </td></tr> +<tr class="memitem:a9cb98e289a2f39ad7874243e905d9daf"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memblock.html">pw_memblock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a9cb98e289a2f39ad7874243e905d9daf">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:a9cb98e289a2f39ad7874243e905d9daf"><td class="mdescLeft"> </td><td class="mdescRight">Find memblock for given <em>ptr</em>. <a href="#a9cb98e289a2f39ad7874243e905d9daf">More...</a><br /></td></tr> +<tr class="separator:a9cb98e289a2f39ad7874243e905d9daf"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a277a61f49a8c8e232bb3af723af1fb3f"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memblock.html">pw_memblock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a277a61f49a8c8e232bb3af723af1fb3f">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:a277a61f49a8c8e232bb3af723af1fb3f"><td class="mdescLeft"> </td><td class="mdescRight">Find memblock for given <em>id</em>. <a href="#a277a61f49a8c8e232bb3af723af1fb3f">More...</a><br /></td></tr> +<tr class="separator:a277a61f49a8c8e232bb3af723af1fb3f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6d863d10f2d358484936fd382f55b9b5"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memblock.html">pw_memblock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#a6d863d10f2d358484936fd382f55b9b5">pw_mempool_find_fd</a> (struct <a class="el" href="structpw__mempool.html">pw_mempool</a> *pool, int fd)</td></tr> +<tr class="memdesc:a6d863d10f2d358484936fd382f55b9b5"><td class="mdescLeft"> </td><td class="mdescRight">Find memblock for given <em>fd</em>. <a href="#a6d863d10f2d358484936fd382f55b9b5">More...</a><br /></td></tr> +<tr class="separator:a6d863d10f2d358484936fd382f55b9b5"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af289ae70c84c5f467bf04371dac6d6fa"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__memmap.html">pw_memmap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="mem_8c.html#af289ae70c84c5f467bf04371dac6d6fa">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:af289ae70c84c5f467bf04371dac6d6fa"><td class="mdescLeft"> </td><td class="mdescRight">find a map with the given tag <a href="#af289ae70c84c5f467bf04371dac6d6fa">More...</a><br /></td></tr> +<tr class="separator:af289ae70c84c5f467bf04371dac6d6fa"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a id="a3c9cb62957637bb3b3a869cbbe5e4aaa"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a3c9cb62957637bb3b3a869cbbe5e4aaa">◆ </a></span>F_ADD_SEALS</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_ADD_SEALS   (<a class="el" href="mem_8c.html#a54af789ad65b83449d415dbfb7d39481">F_LINUX_SPECIFIC_BASE</a> + 9)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a0d7e40a9933d11da2fc1b0b1b863eec3"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0d7e40a9933d11da2fc1b0b1b863eec3">◆ </a></span>F_GET_SEALS</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_GET_SEALS   (<a class="el" href="mem_8c.html#a54af789ad65b83449d415dbfb7d39481">F_LINUX_SPECIFIC_BASE</a> + 10)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a54af789ad65b83449d415dbfb7d39481"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a54af789ad65b83449d415dbfb7d39481">◆ </a></span>F_LINUX_SPECIFIC_BASE</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_LINUX_SPECIFIC_BASE   1024</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a6ae683cd27bb82613d1c025277b69b48"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a6ae683cd27bb82613d1c025277b69b48">◆ </a></span>F_SEAL_GROW</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_SEAL_GROW   0x0004 /* prevent file from growing */</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a68a01fe6f7305883d5f15ddfd1ebfd84"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a68a01fe6f7305883d5f15ddfd1ebfd84">◆ </a></span>F_SEAL_SEAL</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_SEAL_SEAL   0x0001 /* prevent further seals from being set */</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a98ea0829a6ae8b9adb9910457f4ca4cd"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a98ea0829a6ae8b9adb9910457f4ca4cd">◆ </a></span>F_SEAL_SHRINK</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_SEAL_SHRINK   0x0002 /* prevent file from shrinking */</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a82af8008b212e99dd3a8b8daa2138170"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a82af8008b212e99dd3a8b8daa2138170">◆ </a></span>F_SEAL_WRITE</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define F_SEAL_WRITE   0x0008 /* prevent writes */</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a1d9ebf7ab094a827cd93d1e49e81e8a0"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1d9ebf7ab094a827cd93d1e49e81e8a0">◆ </a></span>MFD_ALLOW_SEALING</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define MFD_ALLOW_SEALING   0x0002U</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a3268e6d65db2950f67f6082946d16952"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a3268e6d65db2950f67f6082946d16952">◆ </a></span>MFD_CLOEXEC</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define MFD_CLOEXEC   0x0001U</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="aee8f104fd65b3d11fef242883a787657"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aee8f104fd65b3d11fef242883a787657">◆ </a></span>pw_mempool_emit</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_mempool_emit</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">m, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">v, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   spa_hook_list_call(&p->listener_list, struct <a class="el" href="structpw__mempool__events.html">pw_mempool_events</a>, m, v, ##__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="ad2d67640ddabf8a7f530053ebca34abf"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ad2d67640ddabf8a7f530053ebca34abf">◆ </a></span>pw_mempool_emit_added</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_mempool_emit_added</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">b </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, added, 0, b)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="ad9bd7205a3e7a88320624ef7addbfe9f"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ad9bd7205a3e7a88320624ef7addbfe9f">◆ </a></span>pw_mempool_emit_destroy</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_mempool_emit_destroy</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p</td><td>)</td> + <td>   <a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, destroy, 0)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a1eac736570d41ffac78ec7c5caa8ca25"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1eac736570d41ffac78ec7c5caa8ca25">◆ </a></span>pw_mempool_emit_removed</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_mempool_emit_removed</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">b </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="mem_8c.html#aee8f104fd65b3d11fef242883a787657">pw_mempool_emit</a>(p, removed, 0, b)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="aa3b33676b8bd10a4280ec5f9a4f86831"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa3b33676b8bd10a4280ec5f9a4f86831">◆ </a></span>USE_MEMFD</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define USE_MEMFD</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a id="a3318c5821ce251c9c3c16145bed41647"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a3318c5821ce251c9c3c16145bed41647">◆ </a></span>pw_memblock_map()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </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> </td> + <td class="paramname"><em>flags</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>offset</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>size</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>tag</em>[5] </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_8c_a3318c5821ce251c9c3c16145bed41647_icgraph.png" border="0" usemap="#mem_8c_a3318c5821ce251c9c3c16145bed41647_icgraph" alt=""/></div> +<map name="mem_8c_a3318c5821ce251c9c3c16145bed41647_icgraph" id="mem_8c_a3318c5821ce251c9c3c16145bed41647_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="ada787db75d4f0040104f59210fbcfdac"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ada787db75d4f0040104f59210fbcfdac">◆ </a></span>pw_memmap_free()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT int pw_memmap_free </td> + <td>(</td> + <td class="paramtype">struct <a class="el" href="structpw__memmap.html">pw_memmap</a> * </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_8c_ada787db75d4f0040104f59210fbcfdac_icgraph.png" border="0" usemap="#mem_8c_ada787db75d4f0040104f59210fbcfdac_icgraph" alt=""/></div> +<map name="mem_8c_ada787db75d4f0040104f59210fbcfdac_icgraph" id="mem_8c_ada787db75d4f0040104f59210fbcfdac_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">◆ </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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct spa_hook * </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> * </td> + <td class="paramname"><em>events</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void * </td> + <td class="paramname"><em>data</em> </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_8c_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph.png" border="0" usemap="#mem_8c_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph" alt=""/></div> +<map name="mem_8c_a5c298052be6fe8f5f4ea78b4fe41733d_icgraph" id="mem_8c_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="ab253128cb2d2bc7ad5203d2b65e762c8"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ab253128cb2d2bc7ad5203d2b65e762c8">◆ </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> * </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_8c_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph.png" border="0" usemap="#mem_8c_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph" alt=""/></div> +<map name="mem_8c_ab253128cb2d2bc7ad5203d2b65e762c8_icgraph" id="mem_8c_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="a6d863d10f2d358484936fd382f55b9b5"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a6d863d10f2d358484936fd382f55b9b5">◆ </a></span>pw_mempool_find_fd()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>fd</em> </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="a277a61f49a8c8e232bb3af723af1fb3f"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a277a61f49a8c8e232bb3af723af1fb3f">◆ </a></span>pw_mempool_find_id()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>id</em> </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="a9cb98e289a2f39ad7874243e905d9daf"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9cb98e289a2f39ad7874243e905d9daf">◆ </a></span>pw_mempool_find_ptr()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const void * </td> + <td class="paramname"><em>ptr</em> </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_8c_a9cb98e289a2f39ad7874243e905d9daf_icgraph.png" border="0" usemap="#mem_8c_a9cb98e289a2f39ad7874243e905d9daf_icgraph" alt=""/></div> +<map name="mem_8c_a9cb98e289a2f39ad7874243e905d9daf_icgraph" id="mem_8c_a9cb98e289a2f39ad7874243e905d9daf_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="af289ae70c84c5f467bf04371dac6d6fa"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af289ae70c84c5f467bf04371dac6d6fa">◆ </a></span>pw_mempool_find_tag()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>tag</em>[5], </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">size_t </td> + <td class="paramname"><em>size</em> </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="abfda07a34439c7edfc8c2cb7fe9576a3"></a> +<h2 class="memtitle"><span class="permalink"><a href="#abfda07a34439c7edfc8c2cb7fe9576a3">◆ </a></span>pw_mempool_import()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </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> </td> + <td class="paramname"><em>flags</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>type</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>fd</em> </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_8c_abfda07a34439c7edfc8c2cb7fe9576a3_icgraph.png" border="0" usemap="#mem_8c_abfda07a34439c7edfc8c2cb7fe9576a3_icgraph" alt=""/></div> +<map name="mem_8c_abfda07a34439c7edfc8c2cb7fe9576a3_icgraph" id="mem_8c_abfda07a34439c7edfc8c2cb7fe9576a3_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="ac19e242f78a043eb56e57009cf87623e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ac19e242f78a043eb56e57009cf87623e">◆ </a></span>pw_mempool_import_block()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </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> * </td> + <td class="paramname"><em>mem</em> </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_8c_ac19e242f78a043eb56e57009cf87623e_icgraph.png" border="0" usemap="#mem_8c_ac19e242f78a043eb56e57009cf87623e_icgraph" alt=""/></div> +<map name="mem_8c_ac19e242f78a043eb56e57009cf87623e_icgraph" id="mem_8c_ac19e242f78a043eb56e57009cf87623e_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="a21cda477fe5bf4681ccf6869acf96d20"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a21cda477fe5bf4681ccf6869acf96d20">◆ </a></span>pw_mempool_import_map()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </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> * </td> + <td class="paramname"><em>other</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void * </td> + <td class="paramname"><em>data</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>size</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>tag</em>[5] </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="a7066384a72de880e75a1b922d2d62dd2"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a7066384a72de880e75a1b922d2d62dd2">◆ </a></span>pw_mempool_map_id()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SPA_EXPORT 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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </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> </td> + <td class="paramname"><em>flags</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>offset</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>size</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>tag</em>[5] </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">◆ </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> * </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_8c_ae5e42242439fef39fd696db151642513_icgraph.png" border="0" usemap="#mem_8c_ae5e42242439fef39fd696db151642513_icgraph" alt=""/></div> +<map name="mem_8c_ae5e42242439fef39fd696db151642513_icgraph" id="mem_8c_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">◆ </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> * </td> + <td class="paramname"><em>pool</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>id</em> </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_8c.html">mem.c</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> |