1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>debugfs_create_devm_seqfile</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="debugfs.html#debugfs_interface" title="debugfs interface"><link rel="prev" href="API-debugfs-create-regset32.html" title="debugfs_create_regset32"><link rel="next" href="LinuxJDBAPI.html" title="Chapter 6. The Linux Journalling API"></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">debugfs_create_devm_seqfile</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-debugfs-create-regset32.html">Prev</a> </td><th width="60%" align="center">debugfs interface</th><td width="20%" align="right"> <a accesskey="n" href="LinuxJDBAPI.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-debugfs-create-devm-seqfile"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>debugfs_create_devm_seqfile — 2 create a debugfs file that is bound to device. 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 dentry * <b class="fsfunc">debugfs_create_devm_seqfile </b>(</code></td><td>struct device * <var class="pdparam">dev</var>, </td></tr><tr><td> </td><td>const char * <var class="pdparam">name</var>, </td></tr><tr><td> </td><td>struct dentry * <var class="pdparam">parent</var>, </td></tr><tr><td> </td><td>int (*<var class="pdparam">read_fn</var>) 4 <code>(</code>struct seq_file *s, void *data<code>)</code><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1103584860"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>dev</code></em></span></dt><dd><p> 5 device related to this debugfs file. 6 </p></dd><dt><span class="term"><em class="parameter"><code>name</code></em></span></dt><dd><p> 7 name of the debugfs file. 8 </p></dd><dt><span class="term"><em class="parameter"><code>parent</code></em></span></dt><dd><p> 9 a pointer to the parent dentry for this file. This should be a 10 directory dentry if set. If this parameter is <code class="constant">NULL</code>, then the 11 file will be created in the root of the debugfs filesystem. 12 </p></dd><dt><span class="term"><em class="parameter"><code>read_fn</code></em></span></dt><dd><p> 13 function pointer called to print the seq_file content. 14 </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-debugfs-create-regset32.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="debugfs.html#debugfs_interface">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="LinuxJDBAPI.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">debugfs_create_regset32</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 6. The Linux Journalling API</td></tr></table></div></body></html> 15