Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > cf93d8a8acdcc6fe2225039da0502495 > files > 1268

kernel-doc-2.6.32-131.17.1.el6.centos.plus.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>struct pipe_inode_info</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Filesystems API" /><link rel="up" href="ch07.html" title="Chapter&#160;7.&#160;pipes API" /><link rel="prev" href="re223.html" title="struct pipe_buffer" /><link rel="next" href="re225.html" title="generic_pipe_buf_map" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct pipe_inode_info</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re223.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;7.&#160;pipes API</th><td width="20%" align="right">&#160;<a accesskey="n" href="re225.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct pipe_inode_info"><a id="API-struct-pipe-inode-info"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct pipe_inode_info &#8212; 
     a linux kernel pipe
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct pipe_inode_info {
  wait_queue_head_t wait;
  unsigned int nrbufs;
  unsigned int curbuf;
  struct page * tmp_page;
  unsigned int readers;
  unsigned int writers;
  unsigned int waiting_writers;
  unsigned int r_counter;
  unsigned int w_counter;
  struct fasync_struct * fasync_readers;
  struct fasync_struct * fasync_writers;
  struct inode * inode;
  struct pipe_buffer bufs[PIPE_BUFFERS];
};  </pre></div><div class="refsect1" title="Members"><a id="id3039194"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">wait</span></dt><dd><p>
   reader/writer wait point in case of empty/full pipe
      </p></dd><dt><span class="term">nrbufs</span></dt><dd><p>
   the number of non-empty pipe buffers in this pipe
      </p></dd><dt><span class="term">curbuf</span></dt><dd><p>
   the current pipe buffer entry
      </p></dd><dt><span class="term">tmp_page</span></dt><dd><p>
   cached released page
      </p></dd><dt><span class="term">readers</span></dt><dd><p>
   number of current readers of this pipe
      </p></dd><dt><span class="term">writers</span></dt><dd><p>
   number of current writers of this pipe
      </p></dd><dt><span class="term">waiting_writers</span></dt><dd><p>
   number of writers blocked waiting for room
      </p></dd><dt><span class="term">r_counter</span></dt><dd><p>
   reader counter
      </p></dd><dt><span class="term">w_counter</span></dt><dd><p>
   writer counter
      </p></dd><dt><span class="term">fasync_readers</span></dt><dd><p>
   reader side fasync
      </p></dd><dt><span class="term">fasync_writers</span></dt><dd><p>
   writer side fasync
      </p></dd><dt><span class="term">inode</span></dt><dd><p>
   inode this pipe is attached to
      </p></dd><dt><span class="term">bufs[PIPE_BUFFERS]</span></dt><dd><p>
   the circular array of pipe buffers
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re223.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch07.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re225.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct pipe_buffer</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>generic_pipe_buf_map</span></td></tr></table></div></body></html>