1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter 3. Events based on file descriptors</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="index.html" title="Linux Filesystems API"><link rel="prev" href="API-proc-flush-task.html" title="proc_flush_task"><link rel="next" href="API-eventfd-signal.html" title="eventfd_signal"></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">Chapter 3. Events based on file descriptors</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-proc-flush-task.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="API-eventfd-signal.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="fs_events"></a>Chapter 3. Events based on file descriptors</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="refentrytitle"><a href="API-eventfd-signal.html"><span class="phrase">eventfd_signal</span></a></span><span class="refpurpose"> — 2 Adds <em class="parameter"><code>n</code></em> to the eventfd counter. 3 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-ctx-get.html"><span class="phrase">eventfd_ctx_get</span></a></span><span class="refpurpose"> — 4 Acquires a reference to the internal eventfd context. 5 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-ctx-put.html"><span class="phrase">eventfd_ctx_put</span></a></span><span class="refpurpose"> — 6 Releases a reference to the internal eventfd context. 7 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-ctx-remove-wait-queue.html"><span class="phrase">eventfd_ctx_remove_wait_queue</span></a></span><span class="refpurpose"> — 8 Read the current counter and removes wait queue. 9 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-ctx-read.html"><span class="phrase">eventfd_ctx_read</span></a></span><span class="refpurpose"> — 10 Reads the eventfd counter or wait if it is zero. 11 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-fget.html"><span class="phrase">eventfd_fget</span></a></span><span class="refpurpose"> — 12 Acquire a reference of an eventfd file descriptor. 13 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-ctx-fdget.html"><span class="phrase">eventfd_ctx_fdget</span></a></span><span class="refpurpose"> — 14 Acquires a reference to the internal eventfd context. 15 </span></dt><dt><span class="refentrytitle"><a href="API-eventfd-ctx-fileget.html"><span class="phrase">eventfd_ctx_fileget</span></a></span><span class="refpurpose"> — 16 Acquires a reference to the internal eventfd context. 17 </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-proc-flush-task.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="API-eventfd-signal.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">proc_flush_task</span> </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">eventfd_signal</span></td></tr></table></div></body></html> 18