1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct irq_affinity_notify</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux generic IRQ handling"><link rel="up" href="structs.html" title="Chapter&#160;8.&#160;Structures"><link rel="prev" href="API-struct-irqaction.html" title="struct irqaction"><link rel="next" href="API-irq-set-affinity.html" title="irq_set_affinity"></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 irq_affinity_notify</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-irqaction.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;8.&#160;Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-irq-set-affinity.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-irq-affinity-notify"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct irq_affinity_notify &#8212; 
2     context for notification of IRQ affinity changes
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct irq_affinity_notify {
5  unsigned int irq;
6  struct kref kref;
7  struct work_struct work;
8  void (* notify) (struct irq_affinity_notify *, const cpumask_t *mask);
9  void (* release) (struct kref *ref);
10};  </pre></div><div class="refsect1"><a name="idp1103063452"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">irq</span></dt><dd><p>
11   Interrupt to which notification applies
12      </p></dd><dt><span class="term">kref</span></dt><dd><p>
13   Reference count, for internal use
14      </p></dd><dt><span class="term">work</span></dt><dd><p>
15   Work item, for internal use
16      </p></dd><dt><span class="term">notify</span></dt><dd><p>
17   Function to be called on change.  This will be
18   called in process context.
19      </p></dd><dt><span class="term">release</span></dt><dd><p>
20   Function to be called on release.  This will be
21   called in process context.  Once registered, the
22   structure must only be freed when this function is
23   called or later.
24      </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="API-struct-irqaction.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="structs.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-irq-set-affinity.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct irqaction</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 class="phrase">irq_set_affinity</span></td></tr></table></div></body></html>
25