1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct pipe_buffer</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="pipes.html" title="Chapter 8. pipes API"><link rel="prev" href="pipes.html" title="Chapter 8. pipes API"><link rel="next" href="API-struct-pipe-inode-info.html" title="struct pipe_inode_info"></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"><span class="phrase">struct pipe_buffer</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pipes.html">Prev</a> </td><th width="60%" align="center">Chapter 8. pipes API</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-pipe-inode-info.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-pipe-buffer"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct pipe_buffer — 2 a linux kernel pipe buffer 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct pipe_buffer { 5 struct page * page; 6 unsigned int offset; 7 unsigned int len; 8 const struct pipe_buf_operations * ops; 9 unsigned int flags; 10 unsigned long private; 11}; </pre></div><div class="refsect1"><a name="idp1104122764"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">page</span></dt><dd><p> 12the page containing the data for the pipe buffer 13 </p></dd><dt><span class="term">offset</span></dt><dd><p> 14offset of data inside the <em class="parameter"><code>page</code></em> 15 </p></dd><dt><span class="term">len</span></dt><dd><p> 16length of data inside the <em class="parameter"><code>page</code></em> 17 </p></dd><dt><span class="term">ops</span></dt><dd><p> 18operations associated with this buffer. See <em class="parameter"><code>pipe_buf_operations</code></em>. 19 </p></dd><dt><span class="term">flags</span></dt><dd><p> 20pipe buffer flags. See above. 21 </p></dd><dt><span class="term">private</span></dt><dd><p> 22private data owned by the ops. 23 </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="pipes.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pipes.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-pipe-inode-info.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 8. pipes API </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">struct pipe_inode_info</span></td></tr></table></div></body></html> 24