<?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 6. FIFO Buffer</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="re256.html" title="ipc_parse_version" /><link rel="next" href="re257.html" title="__kfifo_reset" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. FIFO Buffer</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re256.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="re257.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter 6. FIFO Buffer"><div class="titlepage"><div><div><h2 class="title"><a id="kfifo"></a>Chapter 6. FIFO Buffer</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch06.html#id2657917">kfifo interface</a></span></dt></dl></div><div class="sect1" title="kfifo interface"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2657917"></a>kfifo interface</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re257.html"><span>__kfifo_reset</span></a></span><span class="refpurpose"> — removes the entire FIFO contents, no locking version </span></dt><dt><span class="refentrytitle"><a href="re258.html"><span>kfifo_reset</span></a></span><span class="refpurpose"> — removes the entire FIFO contents </span></dt><dt><span class="refentrytitle"><a href="re259.html"><span>kfifo_put</span></a></span><span class="refpurpose"> — puts some data into the FIFO </span></dt><dt><span class="refentrytitle"><a href="re260.html"><span>kfifo_get</span></a></span><span class="refpurpose"> — gets some data from the FIFO </span></dt><dt><span class="refentrytitle"><a href="re261.html"><span>__kfifo_len</span></a></span><span class="refpurpose"> — returns the number of bytes available in the FIFO, no locking version </span></dt><dt><span class="refentrytitle"><a href="re262.html"><span>kfifo_len</span></a></span><span class="refpurpose"> — returns the number of bytes available in the FIFO </span></dt><dt><span class="refentrytitle"><a href="re263.html"><span>kfifo_init</span></a></span><span class="refpurpose"> — allocates a new FIFO using a preallocated buffer </span></dt><dt><span class="refentrytitle"><a href="re264.html"><span>kfifo_alloc</span></a></span><span class="refpurpose"> — allocates a new FIFO and its internal buffer </span></dt><dt><span class="refentrytitle"><a href="re265.html"><span>kfifo_free</span></a></span><span class="refpurpose"> — frees the FIFO </span></dt><dt><span class="refentrytitle"><a href="re266.html"><span>__kfifo_put</span></a></span><span class="refpurpose"> — puts some data into the FIFO, no locking version </span></dt><dt><span class="refentrytitle"><a href="re267.html"><span>__kfifo_get</span></a></span><span class="refpurpose"> — gets some data from the FIFO, no locking version </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="re256.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="re257.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>ipc_parse_version</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>__kfifo_reset</span></td></tr></table></div></body></html>