<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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/html; charset=ANSI_X3.4-1968" /><title>Memory Management Helpers</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="The ALSA Driver API" /><link rel="up" href="ch01.html" title="Chapter 1. Management of Cards and Devices" /><link rel="prev" href="API-snd-unregister-device.html" title="snd_unregister_device" /><link rel="next" href="API-copy-to-user-fromio.html" title="copy_to_user_fromio" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Memory Management Helpers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-snd-unregister-device.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Management of Cards and Devices</th><td width="20%" align="right"> <a accesskey="n" href="API-copy-to-user-fromio.html">Next</a></td></tr></table><hr /></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="idm140249671191280"></a>Memory Management Helpers</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-copy-to-user-fromio.html"><span class="phrase">copy_to_user_fromio</span></a></span><span class="refpurpose"> — copy data from mmio-space to user-space </span></dt><dt><span class="refentrytitle"><a href="API-copy-from-user-toio.html"><span class="phrase">copy_from_user_toio</span></a></span><span class="refpurpose"> — copy data from user-space to mmio-space </span></dt><dt><span class="refentrytitle"><a href="API-snd-malloc-pages.html"><span class="phrase">snd_malloc_pages</span></a></span><span class="refpurpose"> — allocate pages with the given size </span></dt><dt><span class="refentrytitle"><a href="API-snd-free-pages.html"><span class="phrase">snd_free_pages</span></a></span><span class="refpurpose"> — release the pages </span></dt><dt><span class="refentrytitle"><a href="API-snd-dma-alloc-pages.html"><span class="phrase">snd_dma_alloc_pages</span></a></span><span class="refpurpose"> — allocate the buffer area according to the given type </span></dt><dt><span class="refentrytitle"><a href="API-snd-dma-alloc-pages-fallback.html"><span class="phrase">snd_dma_alloc_pages_fallback</span></a></span><span class="refpurpose"> — allocate the buffer area according to the given type with fallback </span></dt><dt><span class="refentrytitle"><a href="API-snd-dma-free-pages.html"><span class="phrase">snd_dma_free_pages</span></a></span><span class="refpurpose"> — release the allocated buffer </span></dt><dt><span class="refentrytitle"><a href="API-snd-dma-get-reserved-buf.html"><span class="phrase">snd_dma_get_reserved_buf</span></a></span><span class="refpurpose"> — get the reserved buffer for the given device </span></dt><dt><span class="refentrytitle"><a href="API-snd-dma-reserve-buf.html"><span class="phrase">snd_dma_reserve_buf</span></a></span><span class="refpurpose"> — reserve the buffer </span></dt></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-snd-unregister-device.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-copy-to-user-fromio.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">snd_unregister_device</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">copy_to_user_fromio</span></td></tr></table></div></body></html>