1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>iscsi_find_flashnode_sess</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="SCSI Interfaces Guide"><link rel="up" href="Transport_classes.html#iSCSI_transport" title="iSCSI transport class"><link rel="prev" href="API-iscsi-is-flashnode-conn-dev.html" title="iscsi_is_flashnode_conn_dev"><link rel="next" href="API-iscsi-find-flashnode-conn.html" title="iscsi_find_flashnode_conn"></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">iscsi_find_flashnode_sess</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-iscsi-is-flashnode-conn-dev.html">Prev</a>&#160;</td><th width="60%" align="center">iSCSI transport class</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-iscsi-find-flashnode-conn.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-iscsi-find-flashnode-sess"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>iscsi_find_flashnode_sess &#8212; 
2     finds flashnode session entry
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">struct device * <b class="fsfunc">iscsi_find_flashnode_sess </b>(</code></td><td>struct Scsi_Host * <var class="pdparam">shost</var>, </td></tr><tr><td>&#160;</td><td>void * <var class="pdparam">data</var>, </td></tr><tr><td>&#160;</td><td>int (*<var class="pdparam">fn</var>)
4     <code>(</code>struct device *dev, void *data<code>)</code><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1124488956"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>shost</code></em></span></dt><dd><p>
5     pointer to host data
6    </p></dd><dt><span class="term"><em class="parameter"><code>data</code></em></span></dt><dd><p>
7     pointer to data containing value to use for comparison
8    </p></dd><dt><span class="term"><em class="parameter"><code>fn</code></em></span></dt><dd><p>
9     function pointer that does actual comparison
10    </p></dd></dl></div></div><div class="refsect1"><a name="idp1124492660"></a><h2>Description</h2><p>
11   Finds the flashnode session object comparing the data passed using logic
12   defined in passed function pointer
13</p></div><div class="refsect1"><a name="idp1124493372"></a><h2>Returns</h2><p>
14   pointer to found flashnode session device object on success
15   <code class="constant">NULL</code> on failure
16</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-iscsi-is-flashnode-conn-dev.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="Transport_classes.html#iSCSI_transport">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-iscsi-find-flashnode-conn.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">iscsi_is_flashnode_conn_dev</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">iscsi_find_flashnode_conn</span></td></tr></table></div></body></html>
17