1<html><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&#160;1.&#160;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 bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><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>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;Management of Cards and Devices</th><td width="20%" align="right">&#160;<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 name="idp1093417004"></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"> &#8212; 
2  copy data from mmio-space to user-space
3 </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"> &#8212; 
4     copy data from user-space to mmio-space
5 </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"> &#8212; 
6  allocate pages with the given size
7 </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"> &#8212; 
8     release the pages
9 </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"> &#8212; 
10     allocate the buffer area according to the given type
11 </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"> &#8212; 
12     allocate the buffer area according to the given type with fallback
13 </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"> &#8212; 
14     release the allocated buffer
15 </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>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&#160;<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>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">copy_to_user_fromio</span></td></tr></table></div></body></html>
16