1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter 5. The debugfs filesystem</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-sysfs-rename-link-ns.html" title="sysfs_rename_link_ns"><link rel="next" href="API-debugfs-create-file.html" title="debugfs_create_file"></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 5. The debugfs filesystem</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-sysfs-rename-link-ns.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="API-debugfs-create-file.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="debugfs"></a>Chapter 5. The debugfs filesystem</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="debugfs.html#debugfs_interface">debugfs interface</a></span></dt></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="debugfs_interface"></a>debugfs interface</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-debugfs-create-file.html"><span class="phrase">debugfs_create_file</span></a></span><span class="refpurpose"> — 2 create a file in the debugfs filesystem 3 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-file-size.html"><span class="phrase">debugfs_create_file_size</span></a></span><span class="refpurpose"> — 4 create a file in the debugfs filesystem 5 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-dir.html"><span class="phrase">debugfs_create_dir</span></a></span><span class="refpurpose"> — 6 create a directory in the debugfs filesystem 7 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-automount.html"><span class="phrase">debugfs_create_automount</span></a></span><span class="refpurpose"> — 8 create automount point in the debugfs filesystem 9 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-symlink.html"><span class="phrase">debugfs_create_symlink</span></a></span><span class="refpurpose"> — 10 create a symbolic link in the debugfs filesystem 11 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-remove.html"><span class="phrase">debugfs_remove</span></a></span><span class="refpurpose"> — 12 removes a file or directory from the debugfs filesystem 13 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-remove-recursive.html"><span class="phrase">debugfs_remove_recursive</span></a></span><span class="refpurpose"> — 14 recursively removes a directory 15 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-rename.html"><span class="phrase">debugfs_rename</span></a></span><span class="refpurpose"> — 16 rename a file/directory in the debugfs filesystem 17 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-initialized.html"><span class="phrase">debugfs_initialized</span></a></span><span class="refpurpose"> — 18 Tells whether debugfs has been registered 19 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-u8.html"><span class="phrase">debugfs_create_u8</span></a></span><span class="refpurpose"> — 20 create a debugfs file that is used to read and write an unsigned 8-bit value 21 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-u16.html"><span class="phrase">debugfs_create_u16</span></a></span><span class="refpurpose"> — 22 create a debugfs file that is used to read and write an unsigned 16-bit value 23 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-u32.html"><span class="phrase">debugfs_create_u32</span></a></span><span class="refpurpose"> — 24 create a debugfs file that is used to read and write an unsigned 32-bit value 25 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-u64.html"><span class="phrase">debugfs_create_u64</span></a></span><span class="refpurpose"> — 26 create a debugfs file that is used to read and write an unsigned 64-bit value 27 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-x8.html"><span class="phrase">debugfs_create_x8</span></a></span><span class="refpurpose"> — 28 create a debugfs file that is used to read and write an unsigned 8-bit value 29 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-x16.html"><span class="phrase">debugfs_create_x16</span></a></span><span class="refpurpose"> — 30 create a debugfs file that is used to read and write an unsigned 16-bit value 31 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-x32.html"><span class="phrase">debugfs_create_x32</span></a></span><span class="refpurpose"> — 32 create a debugfs file that is used to read and write an unsigned 32-bit value 33 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-x64.html"><span class="phrase">debugfs_create_x64</span></a></span><span class="refpurpose"> — 34 create a debugfs file that is used to read and write an unsigned 64-bit value 35 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-size-t.html"><span class="phrase">debugfs_create_size_t</span></a></span><span class="refpurpose"> — 36 create a debugfs file that is used to read and write an size_t value 37 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-atomic-t.html"><span class="phrase">debugfs_create_atomic_t</span></a></span><span class="refpurpose"> — 38 create a debugfs file that is used to read and write an atomic_t value 39 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-bool.html"><span class="phrase">debugfs_create_bool</span></a></span><span class="refpurpose"> — 40 create a debugfs file that is used to read and write a boolean value 41 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-blob.html"><span class="phrase">debugfs_create_blob</span></a></span><span class="refpurpose"> — 42 create a debugfs file that is used to read a binary blob 43 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-u32-array.html"><span class="phrase">debugfs_create_u32_array</span></a></span><span class="refpurpose"> — 44 create a debugfs file that is used to read u32 array. 45 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-print-regs32.html"><span class="phrase">debugfs_print_regs32</span></a></span><span class="refpurpose"> — 46 use seq_print to describe a set of registers 47 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-regset32.html"><span class="phrase">debugfs_create_regset32</span></a></span><span class="refpurpose"> — 48 create a debugfs file that returns register values 49 </span></dt><dt><span class="refentrytitle"><a href="API-debugfs-create-devm-seqfile.html"><span class="phrase">debugfs_create_devm_seqfile</span></a></span><span class="refpurpose"> — 50 create a debugfs file that is bound to device. 51 </span></dt></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-sysfs-rename-link-ns.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="API-debugfs-create-file.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">sysfs_rename_link_ns</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">debugfs_create_file</span></td></tr></table></div></body></html> 52