Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 1495

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?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>Chapter&#160;4.&#160;Memory Management in Linux</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The Linux Kernel API" /><link rel="up" href="index.html" title="The Linux Kernel API" /><link rel="prev" href="re128.html" title="crc_ccitt" /><link rel="next" href="re129.html" title="kcalloc" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;4.&#160;Memory Management in Linux</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re128.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="re129.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter&#160;4.&#160;Memory Management in Linux"><div class="titlepage"><div><div><h2 class="title"><a id="mm"></a>Chapter&#160;4.&#160;Memory Management in Linux</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch04.html#id2636427">The Slab Cache</a></span></dt><dt><span class="sect1"><a href="ch04s02.html">User Space Memory Access</a></span></dt><dt><span class="sect1"><a href="ch04s03.html">More Memory Management Functions</a></span></dt></dl></div><div class="sect1" title="The Slab Cache"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2636427"></a>The Slab Cache</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re129.html"><span>kcalloc</span></a></span><span class="refpurpose"> &#8212; 
  allocate memory for an array. The memory is set to zero.
 </span></dt><dt><span class="refentrytitle"><a href="re130.html"><span>kmalloc_node</span></a></span><span class="refpurpose"> &#8212; 
     allocate memory from a specific node
 </span></dt><dt><span class="refentrytitle"><a href="re131.html"><span>kzalloc</span></a></span><span class="refpurpose"> &#8212; 
     allocate memory. The memory is set to zero.
 </span></dt><dt><span class="refentrytitle"><a href="re132.html"><span>kzalloc_node</span></a></span><span class="refpurpose"> &#8212; 
     allocate zeroed memory from a particular memory node.
 </span></dt><dt><span class="refentrytitle"><a href="re133.html"><span>kmem_cache_create</span></a></span><span class="refpurpose"> &#8212; 
  Create a cache.
 </span></dt><dt><span class="refentrytitle"><a href="re134.html"><span>kmem_cache_shrink</span></a></span><span class="refpurpose"> &#8212; 
     Shrink a cache.
 </span></dt><dt><span class="refentrytitle"><a href="re135.html"><span>kmem_cache_destroy</span></a></span><span class="refpurpose"> &#8212; 
     delete a cache
 </span></dt><dt><span class="refentrytitle"><a href="re136.html"><span>kmem_cache_alloc</span></a></span><span class="refpurpose"> &#8212; 
     Allocate an object
 </span></dt><dt><span class="refentrytitle"><a href="re137.html"><span>kmem_cache_free</span></a></span><span class="refpurpose"> &#8212; 
     Deallocate an object
 </span></dt><dt><span class="refentrytitle"><a href="re138.html"><span>kfree</span></a></span><span class="refpurpose"> &#8212; 
     free previously allocated memory
 </span></dt><dt><span class="refentrytitle"><a href="re139.html"><span>ksize</span></a></span><span class="refpurpose"> &#8212; 
     get the actual amount of memory allocated for a given object
 </span></dt></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re128.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="re129.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>crc_ccitt</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>kcalloc</span></td></tr></table></div></body></html>